Y1:=63;
Y2:=125;
Y3:=250;
N2:=250;
MA5:=MA(CLOSE,5);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
LLY1:=LLV(L,Y1+N2);
HHY1:=HHV(H,Y1+N2);
ZTY1:=(HHY1-LLY1)/LLY1;
NUMY1:=BARSLAST(H=HHV(H,Y1+N2));
LY1:=LLV(L,NUMY1);
DY1:=(HHY1-LY1)/HHY1;
LLY2:=LLV(L,Y2+N2);
HHY2:=HHV(H,Y2+N2);
ZTY2:=(HHY2-LLY2)/LLY2;
NUMY2:=BARSLAST(H=HHV(H,Y2+N2));
LY2:=LLV(L,NUMY2);
DY2:=(HHY2-LY2)/HHY2;
LLY3:=LLV(L,Y3+N2);
HHY3:=HHV(H,Y3+N2);
ZTY3:=(HHY3-LLY3)/LLY3;
NUMY3:=BARSLAST(H=HHV(H,Y3+N2));
LY3:=LLV(L,NUMY3);
DY3:=(HHY3-LY3)/HHY3;
STICKLINE( ( ZTY1>2 AND DY1>=0.4 AND DY1<=0.6 ) OR ( ZTY2>3 AND DY2>=0.4 AND DY2<=0.6 ) OR ( ZTY3>5 AND DY3>=0.4 AND DY3<=0.6 ) AND MA60>C AND C>MA5,0,10,3,0 ) COLORYELLOW;
STICKLINE( ( ZTY1>2 AND DY1>=0.4 AND DY1<=0.6) OR ( ZTY2>3 AND DY2>=0.4 AND DY2<=0.6 ) OR ( ZTY3>5 AND DY3>=0.4 AND DY3<=0.6) AND MA60>C AND C>MA20,0,10,3,0 ) COLORBLUE;