VAR0 := 1;
VAR1 := (4 * (SMA(((C - LLV(LOW,5)) / (HHV(HIGH,5) - LLV(LOW,5))) * 100,5,1))) - (3 * (SMA(SMA(((C - LLV(LOW,5)) / (HHV(HIGH,5) - LLV(LOW,5))) * 100,5,1),3.2,1)));
VAR2 := 8;
VAR3 := CROSS(VAR1,VAR2);
VAR4 := (CROSS(VAR1,VAR2) AND (HIGH > REF(HIGH,1))) AND (C > REF(C,1));
VAR5 := CROSS(VAR2,VAR1);
VAR6 := LLV(LOW,21);
VAR7 := HHV(HIGH,21);
VAR8 := EMA(((C - VAR6) / (VAR7 - VAR6)) * 100,5);
VAR9 := EMA(((C - VAR6) / (VAR7 - VAR6)) * 50,13);
VAR10 := CROSS(VAR8,VAR9);
VAR11 := (IF(C > REF(C,1),88,0)) * VAR0;
VAR12 := (IF((((C / REF(C,1)) > 1.05) AND ((HIGH / C) < 1.01)) AND (VAR11 > 0),91,0)) * VAR0;
DRAWTEXT(FILTER(VAR12 > 90,45),LOW * 0.93,1),COLORYELLOW;
STICKLINE(FILTER(VAR12 > 90,45),LOW * 0.93,0,5,0),COLORRED;