VAR2:=(H-MAX(CLOSE,OPEN))/(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN));
VAR3:=MIN(CLOSE,OPEN);
VAR4:=MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN);
VAR5:=REF(VAR3,3) VAR7:=REF(VAR4,3)>REF(VAR4,2)AND REF(VAR4,2)>REF(VAR4,1);
VAR8:=REF(VAR2,1)>0.9 AND REF(VAR2,2)>0.9 AND REF(VAR2,3)>0.9;
XG:VAR8 AND VAR5 AND VAR7 AND VAR1;