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;
VAR4<0 AND REF(VAR4,2)-REF(VAR4,1)>REF(VAR4,3)-REF(VAR4,2) AND REF(V,1)/REF(V,2)>1.1 AND REF(VAR4,1)-VAR4<REF(VAR4,2)-REF(VAR4,1) AND EVERY(V<MA(V,5),3);