Var1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var4:=(Var1+2*Var2+3*Var3)/6;
Var5:=MA(Var4,3)-STD(Var4,3);
Var6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var7:=SMA(Var6,3,1);
Var8:=SMA(Var7,3,1);
Var9:=3*Var7-2*Var8;
crOSS(Var9,Var8) AND COUNT(Var5<-12 AND Var5>-14,3)>=1;