VAR1:=vol/((H-L)*2-Abs(C-O));
VAR2:=IF(C>O,VAR1*(H-L),IF(C<O,VAR1*(H-O+(C-L)),VOL/2))+IF(C>O,0-VAR1*(H-C+(O-L)),IF(C<O,0-VAR1*(H-L),0-VOL/2));
VAR3:=VAR2/20/1.15;
VAR18:=VAR3*0.55+REF(VAR3,1)*0.33+REF(VAR3,2)*0.22;
VAR16:=EMA(VAR18,8);
XG:crOSS(VAR16,0);