通达信回调企稳副图指标 源码 贴图 VAR2:=(C-MA(C,30))/MA(C,30)*100; VAR3:=COUNT(CROSS(VAR1,0),3)>=1 AND VAR2>REF(VAR2,1) AND MA(C,5)>REF(MA(C,5),1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)< MA(C,30); VAR4:=FILTER(VAR3,10); VAR5:=VAR4; VAR6:=IF(C>REF(C,1)*1.02,IF(C>REF(C,1),V*100,-V*100)*1.5,V); VAR7:=IF(C>REF(C,1)*1.05,IF(C>REF(C,1),V*100,-V*100)*2,V); VAR8:=IF(C>REF(C,1)*1.07,IF(C>REF(C,1),V*100,-V*100)*2.5,V); VAR9:=MAX(MAX(VAR6,VAR7),VAR8); VAR10:=VAR9/REF(V,1)>200; VAR11:=VAR10=1; VAR12:=ABS((CLOSE-REF(CLOSE,1))); VAR13:=CLOSE-REF(CLOSE,1); VAR14:=((SMA(MAX((VAR13),0),6,1)/SMA(VAR12,6,1))*100); VAR15:=MAX(VAR14,5); VAR16:=MAX(VAR15,10); VAR17:=MAX(VAR16,20); VAR18:=MAX(VAR17,30); VAR19:=MAX(VAR18,60); VAR20:=CROSS(VAR14,60) AND VAR9>15; VAR21:=(VAR20 AND VAR19>60)*30; VAR22:=VAR21=30; 回调企稳:=VAR5 AND VAR11 AND VAR22; STICKLINE(回调企稳,0,2,0,0),COLOR00FFFF; STICKLINE(回调企稳,0,1.5,3,0),COLOR0000FF; DRAWICON(回调企稳,0.1,34);
|