通达信探底棒副图指标 源码 贴图 DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; HH1:=(HIGH+LOW+CLOSE)/3; HH2:=(HH1-MA(HH1,14))/(0.015*AVEDEV(HH1,14)); QQ1:=(HH1-MA(HH1,70))/(0.015*AVEDEV(HH1,70)); QQ2:=IF(HH2<=-150 AND HH2>-200 AND QQ1<=-150 AND QQ1>-200,10,0); DD1:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1); DD2:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1); HH3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; HH4:=3*SMA(HH3,3,1)-2*SMA(SMA(HH3,3,1),3,1); DD3:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9); DD6:=REF(C>O OR O>C,40) AND REF(C>O OR O>C,45); DD4:=CROSS(CLOSE,REF(EMA(DD3,3),1)) AND HH4<50 AND REF(HH4<0 ,1); DD5:= HH4>0 AND REF(C ZZ3:=C>REF(C,3) AND C/REF(C,1)>1.03 ;ZZ4:= REF(H>O,1) AND REF(L ZZ6:=DD4 AND DD5 AND EQ AND ZZ3 AND ZZ4 AND ZZ5 AND DD6; ZZ1:=IF(BARSCOUNT(CLOSE)<70,-120,IF(QQ1<=-200 AND HH2<=-150,15,QQ2)-120); ZZ2:=SMA((DD2-50)*2,3,1)+SMA((DD1-50)*2,3,1)/2; HH5:=(REF(H,3)-REF(L,1))/C*100>8; 探底棒:=ZZ6 AND ZZ1 AND ZZ2 AND HH5; DRAWICON(FILTER(探底棒=1,3),40,1),COLORMAGENTA; STICKLINE(FILTER(探底棒=1,5),36,0,2.25,0),COLORGRAY;
|