M1:=5;M2:=10;M3:=20;M4:=60;M5:=120;M6:=250;M7:=30;M8:=1;M9:=2;M10:=3;MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);MA6:MA(CLOSE,M6);MA7:MA(CLOSE,M7);MA8:MA(CLOSE,M8);MA9:MA(CLOSE,M9);MA10:MA(CLOSE,M10);Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORYELLOW;N:=BARSSINCEN(L=LLV(L,20),30);A1:=IF(CURRBARSCOUNT<20 AND C<10,CONST(LLV(L,20)),DRAWNULL);{STICKLINE(1,A1,A1-0.2,4,0),COLORBLU