VAR1:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=100-3*VAR2+2*VAR3;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=SMA(VAR5,5,1);
AA:=SMA(VAR6,5,1),COLORYELLOW;
VAR7:=HHV(HIGH,25);
VAR8:=LLV(LOW,25);
AB:=EMA((CLOSE-VAR8)/(VAR7-VAR8)*100,5),COLORF00FF0;
FILTER(CROSS(AB,AA)AND AB< 25 OR CROSS(100,VAR4)AND AB< 15,3);