求大智慧5分钟图的预测成交量公式
{预测vol副图}
m1:=5;m2:=10;m3:=20;
现在时间:=HOUR+MINUTE/60;
开市时长:=if(现在时间-9.5<2 and 现在时间-9.5>0,现在时间-9.5,
if(现在时间-9.5>2 and 现在时间-9.5>0,现在时间-9.5-1.5, 0));
预测vol:=vol/开市时长*4 ;
STICKLINE(预测vol ,预测vol,0,5,1),coloryellow;
实际V: VOL, VOLSTICK;
换手:ma(100*v/capital,1),POINTDOT;
收益:FINANCE2(3);
流通:CAPITAL/1000000 ;
var4:=DYNAINFO(39);
STICKLINE(C>REF(C,1),0,实际V,5,0),COLORRED;
STICKLINE(C>REF(C,1),0,实际V,4,0),COLOR0066FF;
STICKLINE(C>REF(C,1),0,实际V,3,0),COLOR0099FF;
STICKLINE(C>REF(C,1),0,实际V,2,0),COLORYELLOW;
STICKLINE(C<=REF(C,1),0,实际V,5,0),COLORFF0000;
STICKLINE(C<=REF(C,1),0,实际V,4,0),COLORFF6600;
STICKLINE(C<=REF(C,1),0,实际V,3,0),COLORFF9900;
STICKLINE(C<=REF(C,1),0,实际V,2,0),COLORff00ff;
MA1:MA(VOL,M1),colorwhite;
MA2:MA(VOL,M2),coloryellow;
MA3:MA(VOL,M3),colorff00ff;