预测成交量副图指标input:m1(5,1,100,1),m2(25,1,200,1),m3(55,1,300,1);vol,volstick;ma1:ma(vol,m1),colorwhite;ma2:ma(vol,m2),coloryellow;ma3:ma(vol,m3),colorgreen;a1:=(currentdate=date) or (currenttime=time);开盘秒:=if(currenttime>93000 and currenttime<150000, if(currenttime<113000,(timetot0(currenttime)-34200), if(currenttime>130000,(timetot0(currenttime)-39600),7200)),14400); 开盘秒:=if(datatype=8,开盘秒,if(datatype=7,mod(开盘秒,3600),if(datatype=6,mod(开盘秒,1800),if(datatype=5,mod(开盘秒,900),if(datatype=4,mod(开盘秒,300),if(datatype=3,mod(开盘秒,60)+2,if(datatype=1,mod(开盘秒,60)+2,1)))))));a:=if(datatype=8,14400,if(datatype=7,3600,if(datatype=6,1800,if(datatype=5,900,if(datatype=4,300,if(datatype=3,60,if(datatype=1,60,1)))))));预测量:=if(barstatus=2 and a1,vol/开盘秒*a,vol);volma:=if(datatype=8,ref(ma(vol,5),1),if(datatype=7,ref(ma(vol,12),1),if(datatype=6,ref(ma(vol,25),1),if(datatype=5,ref(ma(vol,50),1),if(datatype=4,ref(ma(vol,100),1),if(datatype=3,ref(ma(vol,240),1),if(datatype=1,ref(ma(vol,barscount(close)),1),1)))))));stickline(barstatus=2 and **up and 预测量>vol,vol,预测量,7.5,if(**up,1,0)),coloryellow;stickline(barstatus=2 and close<open and 预测量>vol,vol,预测量,7.5,if(**up,1,0)),colorcc6633; 20210311