资源描述:
《【股票指标公式下载】-【通达信】波浪峰(趋势线、机构》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】波浪峰(趋势线、机构建仓区、火焰山)■指标公式源码A01:=DYNAINF0(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE/HHV(HIGH,120)),3,1)*100);A05:=TF((A03>20),A04,0);AO6:=1F((LOW>A01),0,IF((HIGH0)AND(A07>REF(A07,1)))AND(A05<=88)),A07,
2、0);VARI:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HTGH,27)-LEV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)VAR2:=EMA(VAR1,8);VAR3:二3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(VAR3,3)-10;DRA
3、WICON(CROSS(趋势,0),0,1);机构建仓区:0,LINETIIICKO,COLORFFFFOO;VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;STTCKLTNE(趋势〈二13,0,20,5,0),C0L0RCC9900;DRAWTEXT(FILTER(趋势〈二13,15),30,'准备现金'),C0L0RCC9900;STICKLINE(趋势〈二13ANDVAR4>13,0,50,5,0),C0L0R0099FF;VAR5:=FILTER((趋势<二13ANDVAR4>13),10);DRAWTEXT(VAR5,60,'买入'),C0L0R0099FF
4、;STTCKLTNE(趋势〉二90ANDVAR4,0,30,5,0),COLORGRAY;VAR6:=FILTER((趋势>=90ANDVAR4),10);DRAWTEXT(VAR6,40,'清仓'),COLORGRAY;VAR7:=LLV(LOW,30);VAR8:=HHV(HIGH,30);VAR9:二EMA((CL0SE-VAR7)/(VAR8-VAR7)*4,4)*25;STICKLINE(VAR9>90,100,105,10,2),COLORRED;VAR10:二(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100;VAR11:=SMA
5、(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;VARI2:二HHV(VAR11,30)*8;火焰山:EMA(1F(LOW<=VAR7AND趋势<40,(VAR11+VAR12),O),3)/618,C0L0RRED,LINETHICK2;STICKLINE(火焰ll
6、>0,0,火焰山*l・2,&0),COLORRED;VAR13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;VARI4:二(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;趋势线:趋
7、势,COLORFFOOOO,L1NETH1CK2;VAR16:二MAX(EMA(VAR13,2)-EMA(VAR14,5),0)*200;VAR17:=EMA(VAR16,5);波浪峰:VAR17,STICK,COLORFFOOFF;STTCKLTNE(VAR178、FFOOOO;【通达信】波浪峰(趋势线、机构建仓区、火焰山)■指标公式效果图(文档来源:若水财经社区)