M1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
M2:=SMA(M1,5,1);
M3:=MA(M2,7);
M4:=MA(M2,3);
STICKLINE((M2-M3>0),M2,M4,8,0),COLORRED;
STICKLINE((M2-M3<0),M2,M4,8,0),COLORGREEN;
M1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
M2:=SMA(M1,5,1);
M3:=MA(M2,7);
M4:=MA(M2,3);
STICKLINE((M2-M3>0),M2,M4,8,0),COLORRED;
STICKLINE((M2-M3<0),M2,M4,8,0),COLORGREEN;