通达信MDI优化指标公式

2024-01-15 18:58发布

NOTEXT1:60,POINTDOT;NOTEXT2:20,POINTDOT;PDI:".PDI",DOTLINE,COLORMAGENTA;:"DMI.MDI",DOTLINE,COLORCYAN;ADX:"DMI.ADX",LINETHICK2,COLORWHITE;ADXR:"DMI.ADXR",LINETHICK2,COLORYELLOW;空军战场:IF(MDI>REF(MDI,1) AND PDI0,60,39);红军战场:IF(MDIREF(PDI,1),ADX,DRAWNULL),LINETHICK2,COLORRED;DRAWICON(红军战场>0,60,38);出局:=REF(PDI,1)>60 AND REF(PDI,1)>REF(PDI,2) AND REF(PDI,1)>PDI;DRAWTEXT(出局,PDI,'止'),COLORGREEN;:=REF(PDI,1)<20 COLORRED;顺势:=OSS(ADX,ADXR),NODRAW;DRAWTEXT(顺势启动,ADX, COLORYELLOW;DRAWICON(顺势启动,70,11)
 解锁全文需 1  财富值,免费注册即送20财富值!