M1:=5;M2:=10;M3:=20;M4:=60;
DRAWBAND(MA(VOL,M1),RGB(155,50,50),MA(VOL,M2),RGB(83,123,68));
DRAWBAND(MA(VOL,M1),RGB(155,50,50),MA(VOL,M3),RGB(83,123,68));
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
VOL1:MA(VOLUME,M1),COLORFFFFFF;
VOL2:MA(VOLUME,M2);
VOL3:MA(VOLUME,M3),COLORYELLOW;
VOL4:MA(VOLUME,M4),COLORGREEN,LINETHICK2;
{ 爱约股_通达信股票指标公式}
DRAWICON(CROSS(VOL1,VOL2),VOL1,1);{5日上穿10日做记号};
DRAWICON(CROSS(VOL2,VOL1),VOL1,2);{5日下穿10日做记号};