- UID
- 2
- 积分
- 2874674
- 威望
- 1387366 布
- 龙e币
- 1487308 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
[通达信指标/源码] [转载]麒麟短线王-搏杀持股线与搏杀生命线合二为一,与正版完全一致!(已修复)
指标公式如下:
- FL:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORF4E202;
- FS:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORF4E202,LINETHICK1;
- CG:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17))COLORYELLOW,LINETHICK2;
- IF(CG<FL AND CG>FS,CG,DRAWNULL),COLORF4E202,LINETHICK2;
- VAR0:=(CLOSE*2+HIGH+LOW)/4*VOL;
- VAR1:=SUM(VAR0,89)/SUM(VOL,89);
- VAR2:=IF(COUNT(VAR0>0,2)>=2,MA(CLOSE,89)*(1+(MA(VAR0,89)/REF(MA(VAR0,89),1)-1)/21),MA(CLOSE,89));
- VAR3:=IF(COUNT(ABS(CLOSE-VAR1)>21,8)>=1 AND COUNT(CLOSE/REF(CLOSE,1)<0.8,8)<1 AND COUNT(VAR0>0,2)>=2,10,0);
- VAR4:=IF(CLOSE>=VAR1 AND COUNT(VAR0>0,2)>=2,VAR1*1.001,IF(VAR0<0.1 AND COUNT(VAR0>0,2)<1.5,MA(CLOSE,89),VAR1*0.999));
- VAR5:=IF(VAR3>0,VAR2,VAR4);
- VAR6:=MA(CLOSE,89);
- 搏杀生命线:IF(VAR5/REF(VAR5,1)>1.1 OR VAR5/REF(VAR5,1)<0.9,VAR6,VAR5),COLORFF80FF,LINETHICK2,;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|