M1:=5;M2:=10;M3:=20;M4:=30;M5:=60;M6:=240;MA5:MA(CLOSE,M1),COLORWHITE;MA10:MA(CLOSE,M2),COLORYELLOW;MA20:MA(CLOSE,M3),COLORRED;MA30:MA(CLOSE,M4),COLORBLUE;MA60:MA(CLOSE,M5),COLORGREEN;MA240:MA(CLOSE,M6),COLORMAGENTA,DOTLINE,LINETHICK1;VAR1:=EMA(CLOSE,3);VAR2:=EMA(CLOSE,5);VAR3:=EMA(CLOSE,10);VAR4:=EMA(CLOSE,20);VAR5:=EMA(CLOSE,30);VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;VAR9:=EMA(VAR7,8);STICKLINE(VAR7<1>1*REF(VAR7,1),H