通达信博弈k线指标实用
2017-01-16 21:00:00来源:本站整理浏览:307
指标效果,紫色显示的k线表示无量长阳k线,表示筹码锁定良好,本指标可辅助分析主力持仓状态,下面是源码
VAR2:=WINNER(OPEN)*100;
VAR3:=WINNER(CLOSE)*100;
VAR4:=WINNER(HIGH)*100;
VAR5:=WINNER(LOW)*100;
开:VAR2,LINETHICK0;
高:VAR4,LINETHICK0;
低:VAR5,LINETHICK0;
收:VAR3,LINETHICK0;
ER:=VOL/CAPITAL*100;
VAR6:=IF((VAR3-VAR2)>=18 AND ER<=3,1,0);
STICKLINE(VAR6>0,VAR2,VAR3,3,0),COLORMAGENTA;
STICKLINE(VAR6=0,VAR2,VAR3,3,1),COLORRED;
STICKLINE(VAR3<VAR2,VAR2,VAR3,3,0),COLORCYAN;
STICKLINE(VAR3=VAR2,VAR2,VAR3,3,1),COLORWHITE;
STICKLINE(VAR3=VAR2,VAR5,VAR4,0.3,0),COLORWHITE;
STICKLINE(VAR3>VAR2,VAR3,VAR4,0.3,0),COLORRED;
STICKLINE(VAR3>VAR2,VAR2,VAR5,0.3,0),COLORRED;
STICKLINE(VAR3<VAR2,VAR3,VAR5,0.3,1),COLORCYAN;
STICKLINE(VAR3<VAR2,VAR2,VAR4,0.3,1),COLORCYAN;
- 上一篇公式:通达信超牛分界副图指标 贴图
- 下一篇公式:通达信主升浪指标源码