MA5:MA(CLOSE,5),COLORMAGENTA;
MA8:MA(CLOSE,8),COLORBLUE;
MA10:MA(CLOSE,10),COLORCYAN;
MA13:MA(CLOSE,13),COLORGREEN;
MA16:MA(CLOSE,16),COLORYELLOW;
MA20:MA(CLOSE,20),COLORLIRED;
MA24:MA(CLOSE,24),COLORRED;
X_1:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1);
X_2:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.2);
X_3:=IF(FINANCE(3)=3 OR FINANCE(3)=4,X_2,X_1);
STICKLINE(X_3,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(X_3,HIGH,LOW,0,0),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.07,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.13,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.2,0,FGBLOCK);