N1:=60;N2:=20;N3:=10;M1:=1;M2:=2;M3:=3;A1:=CONST(REF(H,N1))+(N1+1-CURRBARSCOUNT)*M1/100;A2:=CONST(REF(H,N2))+(N2+1-CURRBARSCOUNT)*M2/100;A3:=CONST(REF(H,N3))+(N3+1-CURRBARSCOUNT)*M3/100;H1:IF(CURRBARSCOUNT<N1,A1,DRAWNULL);H2:IF(CURRBARSCOUNT<N2,A2,DRAWNULL);H3:IF(CURRBARSCOUNT<N3,A3,DRAWNULL);STICKLINE(1,H1,MA(H1,5),0,0),COLORYELLOW;STICKLINE(1,H2,MA(H2,5),0,0),COLORYELLOW;STICKLINE(1,H3,MA(H3,5),0,0),COLORYELLOW;