VAR2:=SUMBARS(VOL,CAPITAL);
VAR3:=HHV(VAR 1,var 2);
VAR4:=LLV(VAR 1,var 2);
var 5:=(2 * var 1-var 4-REF(var 4, 1))/(var 3-var 4);
var 6:=(var 1-var 4)/(var 3-var 4);
var 7:= IF(var 1 & lt; =VAR4,VAR5*60,var 6 * 60);
VAR8:=600*(EMA (closing, 3)-EMA (low, 30))/EMA (low, 30);
VAR9:=EMA(VAR8,7);
VARA:= (winner (120 * closing/100)- winner (100 * closing/100)) *100;
VARB:=(- 100)* (winner (120 * closing/100)- winner (100 * closing/100))+5;
Band buying: if (vara+varb