VOL,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE
{红色3D}
STICKLINE(买卖差>0 ,0,买卖差,8,0),color070084;
STICKLINE(买卖差>0 ,0,买卖差,5,0),color0000CD;
STICKLINE(买卖差>0 ,0,买卖差,3,0),color0000E9;
STICKLINE(买卖差>0 ,0,买卖差,1,0),{color077BF3}ColorWhite;
{绿色3D}
STICKLINE(买卖差<0 ,0,买卖差,8,0),COLOR008800;
STICKLINE(买卖差<0 ,0,买卖差,5,0),COLOR00aa00;
STICKLINE(买卖差<0 ,0,买卖差,3,0),COLOR00cc00;
STICKLINE(买卖差<0 ,0,买卖差,1,0),{COLOR00ee00}ColorWhite;
0,ColorGray,LAYER1;
{虚拟成交量}
预测量:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0),ColorYellow;
STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),7.5,-21),ColorYellow;
a16:= VOL = (HHV(VOL,10));
IF(a16,VOL,(REF(VOL,BARSLAST(a16)))),DOTLINE,colorYellow;
A1:=amount*(bigorder(1,2)-bigorder(2,2))/10000;
A5:=sum(A1,5);
A10:=sum(A1,10);
A20:=sum(A1,20);
drawtextrel(0,10,'今日资金流入:'+numtostrn(A1,1)+'万'),colorwhite;
drawtextrel(0,50,'5日 资金流入:'+numtostrn(A5,1)+'万'),colorgreen;
drawtextrel(0,90,'10日资金流入:'+numtostrn(A10,1)+'万'),coloryellow;
drawtextrel(0,130,'20日资金流入:'+numtostrn(A20,1)+'万'),colorred;