VAR1:=EMA(CLOSE,8);
VAR2:=EMA(VAR1,20);
VAR3:=crOSS(VAR1,VAR2);
VAR4:=VAR1< EMA(CLOSE,120);
VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);
STICKLINE(VAR5>20 AND VAR5<80,VAR5,VAR5,6,1), , COLORYELLOW;
STICKLINE(VAR5>80,VAR5,VAR5,6,1), , COLORBLUE;
STICKLINE(VAR5<20,VAR5,VAR5,6,1), , COLORRED;
80,COLORMAGENTA;
50,COLORWHITE;
20,COLORGREEN;