VAR1:=1;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
SS:= EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR1;
VAR6:=(HHV(HIGH,4)-VAR2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
VAR7:=(VAR2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
VAR8:=SMA(VAR7,2,1);
HH:= SMA(VAR8,2,1)*VAR1;
A1:=SS<20;
JJ:crOSS(SS,HH) AND COUNT(A1,5)>=1 AND C>MA(C,10);