通达信博弈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;
通达信博弈K线指标公式实例图解:
通达信博弈K线指标公式