通达信十拿九稳选股/预警源码附图
2016-04-01 22:12:00来源:本站整理浏览:213
N:=14;
MM:=6;
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
PDI:=DMP*100/MTR;
MDI:=DMM*100/MTR;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM);
ADXR:=EXPMEMA(ADX,MM);
F:CROSS(PDI,MDI)AND CROSS(PDI,ADX)AND CROSS(PDI,ADXR) AND C/REF(C,1)>1.05;
- 上一篇公式:实战经典战法之低开大阳线源码(原创通用源码)
- 下一篇公式:通达信联合看盘冷妞妞11指标整合修订版源码副图