- UID
- 2
- 积分
- 2869668
- 威望
- 1384862 布
- 龙e币
- 1484806 刀
- 在线时间
- 13082 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-15
|
ADX+KD交易模型源码源码:
- TR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
- HD:=HIGH-REF(HIGH,1);
- LD:=REF(LOW,1)-LOW;
- DMP:=SUM(IFELSE(HD>0 && HD>LD,HD,0),14);
- DMM:=SUM(IFELSE(LD>0 && LD>HD,LD,0),14);
- PDI:=DMP*100/TR;
- MDI:=DMM*100/TR;
- ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
- ADXR:=(ADX+REF(ADX,6))/2;
- WWW.CXH99.COM:C,NODRAW;
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- FASTK:=SMA(RSV,3,1);
- K:=SMA(FASTK,3,1);
- D:=SMA(K,3,1);
- ADX>30 && D>85,BK;
- ADX>30 && D<15,SK;
- D<70,SP;
- D>30,BP;
- AUTOFILTER;//赢顺版本该行删除
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|