N:=7;
TR := SMA(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
pdi:DMP*100/TR,COLORFFFFFF;
mdi:DMM*100/TR,COLORYELLOW;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLOR0000FF,LAYER0;
{公式指标 www.gszb.top}
春暖:= REF(PDI,1)<REF(PDI,2) AND REF(ADX,1)<REF(ADX,2) AND PDI>REF(PDI,1) AND ADX>REF(ADX,1) AND PDI>MDI AND PDI>ADX AND C/REF(C,1)>1.01 ;
STICKLINE(春暖,0,20,2,0 ),COLORFF00FF,LAYER0;
60,COLORFFFF00,POINTDOT;
20,COLOR00FF00,POINTDOT;
大智慧铁龙DMI指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/43516.html