- UID
- 2
- 积分
- 2869668
- 威望
- 1384862 布
- 龙e币
- 1484806 刀
- 在线时间
- 13082 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-15
|
源码:
- HH1:=IF(H<REF(H,2) AND REF(H,1)<REF(H,2),REF(H,2),0);
- LL1:=IF(L>REF(L,2) AND REF(L,1)>REF(L,2),REF(L,2),0);
- HH2:=VALUEWHEN(HH1>0,HH1);
- LL2:=VALUEWHEN(LL1>0,LL1);
- K1:=IF(CLOSE>HH2,-3,IF(CLOSE<LL2,1,0));
- K2:=VALUEWHEN(K1<>0,K1);
- G:IF(K2=1,HH2,LL2),COLOR00FFFF;
- DRAWNUMBER(ISLASTBAR,G,G,2),ALIGN0;
- G1:=VALUEWHEN(ISLASTBAR,G);
- W1:=K2;
- W2:=OPEN-CLOSE;
- HT:=IF(OPEN>CLOSE,OPEN,CLOSE);
- LT:=IF(OPEN<CLOSE,OPEN,CLOSE);
- STICKLINE(W1<0,O,C,0.5,0 ),COLORRED;
- STICKLINE(W1<0,O,H,0.3,0 ),COLORRED;
- STICKLINE(W1<0,O,L,0.3,0 ),COLORRED;
- STICKLINE(W1>=0,O,C,0.5,0 ),COLORCYAN;
- STICKLINE(W1>=0,O,L,0.3,0 ),COLORCYAN;
- STICKLINE(W1>=0,O,H,0.3,0 ),COLORCYAN;
- STICKLINE(W1>=0,O,C,3,0),COLORFF6600;
- STICKLINE(W1>=0,O,C,2,0),COLORFF9900;
- STICKLINE(W1>=0,O,C,1.2,0),COLORFFCC00;
- STICKLINE(W1>=0,O,C,0.2,0),COLORCYAN;
- STICKLINE(W1<0,O,C,3,0),COLOR000099;
- STICKLINE(W1<0,O,C,2,0),COLOR0000CC;
- STICKLINE(W1<0,O,C,1.3,0),COLOR0000FF;
- STICKLINE(W1<0,O,C,0.3,0),COLORCC66FF;
复制代码
效果:(只适合博易3.0及以上版本,3.0以下个别参数不支持)
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|