VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR3<100 AND VAR4>VAR2*1.008 AND VAR2>VAR3 AND VAR3>REF(VAR3,1)*1.001 AND VAR2>REF(VAR2,1)*1 AND VAR3>REF(VAR3,1)*1 AND CLOSE>OPEN*1.15;