{参数: n:10,1,100 m:4,1,60}
MBSS:ma(VOL/TICKCOUNT*10000,m),volstick;
交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000,
if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,
if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);
预测量:IF(BARSTATUS=2,VOL/交易分钟数*240,VOL),LINETHICK0;
vv:=ma(预测量/(n/10),m);
成交量:v,LINETHICK0;
每笔手数:VOL/TICKCOUNT,LINETHICK0;
stickline(c>ref(c,1),vv,0,7,0),color0099ff;
stickline(c<ref(c,1),vv,0,7,0),colorgreen;