- UID
- 2
- 积分
- 2874674
- 威望
- 1387366 布
- 龙e币
- 1487308 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
相关标签: 博易顶底王指标源码,期货程序化交易模型,文华财经程序化交易,程序化交易系统源码,顶底王源码,顶底王指标公式,顶底王公式源码、
博弈大师(澎博)指标源码:
- {顶底王}
- VAR1:=LLV(LOW,34);
- VAR2:=HHV(HIGH,30);
- VAR3:=REF(CLOSE,1);
- VAR4:=EMA((CLOSE-VAR1)/(VAR2-VAR1),3)*100;
- 主力:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),7,1)*100,COLORRED;
- CC:主力;
- 散户:=VAR4;
- RSV:= (CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
- FASTK:=SMA(RSV,9,1);
- K:SMA(FASTK,3,1),COLORWHITE;
- D:SMA(K,5,1),COLORWHITE;
- DRAWICON(CROSS(K,D) AND CROSS(K,D),K,1);
- DRAWICON(CROSS(D,K) AND CROSS(D,K),K,2);
- VAR5:=(VAR4-LLV(VAR4,21))/(HHV(VAR4,21)-LLV(VAR4,21))*100;
- Q1:IF(CROSS(VAR5,90) AND 散户<40,18,10);
- Q2:IF(CROSS(主力,12) AND REF(散户,5)<20 AND REF(散户,3)<20,18,10);
- P1:IF(CROSS(84,主力),82,90),COLOR99FF33;
- P2:IF(CROSS(84,散户),82,90),COLORCYAN;
- VY:=SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,5,1);
- L2:=SMA(0.618*REF(VY,1)+0.382*VY,3,1), COLORFF9900;
- L3:=MA(L2,5);
- STICKLINE(L2>L3,L3+2,L3-2,5,0),COLORRED;
- STICKLINE(L2<=L3,L3+2,L3-2,5,0),COLORGREEN;
- 80,POINTDOT;
- 50,POINTDOT;
- 20,POINTDOT;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|