aa:=if(CAPITAL/1000000>10,10000000,1000000);
分鐘數(shù):IF(TIME0/60-570<=130,TIME0/60-570,TIME0/60-660),PRECIS0,linethick0;
總成交量:=SUM(VOL,分鐘數(shù)+1)/100;
總成交額:=SUM(AMOUNT,分鐘數(shù)+1)/10000;
0,POINTDOT,color990099;
逐筆主動(dòng)總量:=SUM(TRANSACTVOL(1,0)-TRANSACTVOL(2,0),分鐘數(shù))/100;
逐筆主動(dòng)總額:逐筆主動(dòng)總量/總成交量*總成交額,Color00ffff,linethick0;
逐單主動(dòng)總量:=SUM(ORDERVOL(1,2)-ORDERVOL(2,2),分鐘數(shù))/100;
逐單委托總額:逐單主動(dòng)總量/總成交量*總成交額,Color0000ff,linethick0;
ZB:=(TRANSACTVOL(1,0)-TRANSACTVOL(1,2)-TRANSACTVOL(2,0)-TRANSACTVOL(2,2))/capital*1000000;
zc:=(TRANSACTVOL(1,2)-TRANSACTVOL(2,2))/capital*aa;
zz:=zb+zc;
STICKLINE(ZB>0,逐筆主動(dòng)總額, ZB+逐筆主動(dòng)總額,1,0),Color00ffff;
STICKLINE(ZB<0,逐筆主動(dòng)總額, ZB+逐筆主動(dòng)總額,1,0),ColorFF0000;
st:=if(ZB<0,abs(zb),zb);
sb:=if(ZB>0,zb,0);
STICKLINE(Zc>0,逐筆主動(dòng)總額+sb, zc+sb+逐筆主動(dòng)總額,1,1),ColorFF1FFF;
STICKLINE(Zc<0,逐筆主動(dòng)總額+zb, zc+zb+逐筆主動(dòng)總額,1,1),Color00ff00;
Zd:=(ORDERVOL(1,2)-ORDERVOL(2,2))/capital*aa;
STICKLINE(Zd>0,逐單委托總額,逐單委托總額+Zd,1,1),Color0000ff;
STICKLINE(Zd<0,逐單委托總額,逐單委托總額+Zd,1,1),Colorffff00;
PARTLINE(逐筆主動(dòng)總額,zz>0,RGB(255,255,0),zz<0,RGB(0,0,255),zz=0,RGB(255,255,0)),LINETHICK1;
PARTLINE(逐單委托總額,zd>0,RGB(255,0,0),zd<0,RGB(0,255,0),zd=0,RGB(255,255,0)),LINETHICK1;
(責(zé)任編輯:張曉軒)