{搏弈K线}
VAR0 :=1;
VAR1 := IF(VAR0 = 1,WINNER(HIGH) * 100,0);
VAR2 := IF(VAR0 = 1,WINNER(OPEN) * 100,0);
VAR3 := IF(VAR0 = 1,WINNER(LOW) * 100,0);
VAR4 := IF(VAR0 = 1,WINNER(C) * 100,0);
DRAWKLINE(VAR1,VAR2,VAR3,VAR4);
VAR5 := COST(99.99);
VAR6 := COST(0.01);{www.9m8.cn 九毛八公式指标网}
CBW : IF(VAR0 = 1,((C - COST(0.01)) / (COST(99.99) - COST(0.01))) * 100,0),COLORRED;
IF(VAR0 = 1,((COSTEX(COST(99.99),COST(0.01)) - COST(0.01)) / (COST(99.99) - COST(0.01))) * 100,0),COLORGREEN;
IF(VAR0 = 1,((COST(99.99) - COST(0.01)) / COST(0.01)) * 100,0),NODRAW;