2779| 2
|
求助,写个选股公式,DMI指标中ADX拐头向下,感谢老师!! |
10爱心果
最佳答案{N:1,200,60; MM:1, 200,150}
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);
XG:CROSS(REF(ADX,1),ADX) AND HHV(REF(ADX,1),20) AND ADX ...
| ||
| ||
|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号
GMT+8, 2024-11-24 06:29 , Processed in 0.141763 second(s), 20 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.