{行业}
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,FGBLOCK);
Z3:=STRCAT(Z2,DYBLOCK);
Z4:=STRCAT(Z3,' ');
DRAWTEXT_FIX(ISLASTBAR,0,95,0,STRCAT(Z4,GNBLOCK)),COLORCYAN;
{彩带}
DRAWBAND(MA(CLOSE,60),RGB(130,40,130),MA(CLOSE,120),RGB(20,100,150));{长涨跌彩带}
DRAWBAND(MA(CLOSE,5),RGB(170,50,50),MA(CLOSE,10),RGB(83,123,68));{短涨跌彩带}
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA60:MA(CLOSE,60),COLORGREEN,LINETHICK1;
MA120:MA(CLOSE,120),COLORLIRED,LINETHICK1;
MA240:MA(CLOSE,240),COLORFFA2FF,LINETHICK2;
DRAWICON(crOSS(MA120,MA240),MA240,1),COLORRED;
DRAWICON(CROSS(MA60,MA120),MA120,1),COLORRED;
DRAWICON(CROSS(MA120,MA60),MA60,2),COLORGREEN;
DRAWICON(CROSS(MA240,MA120),MA120,2),COLORGREEN;
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C>=O,C,O,3,0),COLOR050555;
STICKLINE(C>=O,C,O,2.5,0),COLOR101077;
STICKLINE(C>=O,C,O,2,0),COLOR151599;
STICKLINE(C>=O,C,O,1.5,0),COLOR2020BB;
STICKLINE(C>=O,C,O,1,0),COLOR2525DD;
STICKLINE(C>=O,C,O,0.5,0),COLOR3030FF;
STICKLINE(C>=O,C,O,0.00001,1),COLOR7777FF;
STICKLINE(C<O,C,O,3,0),COLOR333300;
STICKLINE(C<O,C,O,2.5,0),COLOR555500;
STICKLINE(C<O,C,O,2,0),COLOR777700;
STICKLINE(C<O,C,O,1.5,0),COLOR999900;
STICKLINE(C<O,C,O,1,0),COLORBBBB00;
STICKLINE(C<O,C,O,0.5,0),COLORDDDD00;
STICKLINE(C<O,H,L,0,0),COLORFFFF00;