指标说明
PDI上穿三线,并且涨幅大于5%,并且成交量大于昨日。
指标源码
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),7,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),7,1);
+DI:=DMP*100/TR;
-DI:=DMM*100/TR; ADX:=SMA(ABS(-DI-+DI)/(-DI++DI)*100,7,1);
ADXR:=(ADX+REF(ADX,6))/2;
CROSS(+DI,-DI) AND CROSS(+DI,ADX) AND CROSS(+DI,ADXR) AND C>REF(C,1)*1.05 AND VOL>REF(VOL,1);