2254| 1
|
求PDI上穿20线选股公式 |
30爱心果
最佳答案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);
CROSS_PDI_20:CROSS(PDI,20);
| ||
| ||
|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号
GMT+8, 2024-11-24 07:55 , Processed in 0.147954 second(s), 20 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.