- UID
- 2
- 积分
- 2874674
- 威望
- 1387366 布
- 龙e币
- 1487308 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
TD-DMKI
N(13,1,100);
- DMH:=SUM(IF(H>REF(H,1),H-REF(H,1),0),N);
- DML:=SUM(IF(L>REF(L,1),0,REF(L,1)-L),N);
- DMKI:DMH/(DMH+DML);
- 0.75;
- 0.5;
- 0.25;
复制代码
TD-DMKII
- N(8,1,100);
- DMKH:=SUM(IF(H-REF(C,1)>0,(H-REF(C,1))+(C-L),C-L),N);
- DMKM:=SUM(IF(REF(C,1)-L>0,(REF(C,1)-L)+(H-C),H-C),N);
- DMKII:DMKH/(DMKH+DMKM);
- 0.6;
- 0.5;
- 0.4;
- TD-REI
- N(8,1,100);
- DIF1:=H-REF(H,2);
- DIF2:=L-REF(L,2);
- NUM1:=IF(REF(H,2)< REF(C,7) AND REF(H,2)< REF(C,8) AND H< REF(L,5) AND H< REF(L,6), 0,1);
- NUM2:=IF(REF(L,2)>REF(C,7) AND REF(L,2)>REF(C,8) AND L>REF(H,5) AND L>REF(H,6), 0,1);
- REI1:=(DIF1+DIF2)*NUM1*NUM2;
- REI2:=ABS(DIF1)+ABS(DIF2);
- REI:SUM(REI1,N)/SUM(REI2,N);
- 0.4;
- 0;
- -0.4;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|