IF(PERIODNAME《》“日線(xiàn)”)
{
統計:“該指標只在日線(xiàn)周期下有效!;
RETURN;
}
r1:=ZDMR[-1];
r2:=BDMR[-1];
r3:=-ZDMC[-1];
r4:=-BDMC[-1];
x1:=(ZDMR+BDMR);
y1:=-(ZDMC+BDMC);
STICKLINE(x1+y1》=0,5*(x1+y1),0,8,0),colorred;
STICKLINE(x1+y1《0,5*(x1+y1),0,8,0),colorgreen;
a1=MA(x1,3);
b1=MA(y1,3);
DDX:2*(a1+b1);
DDX1:EMA(DDX,60)*60,COLOR00FFFF;
DDX2:MA(DDX1,5www.travelwithnise.com),COLORFF00FF;
DDX3:MA(DDX2,10),COLOR00FF00;
FILLRGN(DDX1,DDX2,DDX1》DDX2,RGB(255,0,0),DDX1《DDX2,colorgreen);
IF(ISNULL(r1))
{
統計:“本指標由同花順金融研究中心提供,每晚11點(diǎn)后提供當天的數據!;
RETURN;
}
a=(ZDMR[-1]+BDMR[-1]);
b=(ZDMC[-1]+BDMC[-1]);
a3=SUM(a,1)/1000000;
b3=SUM(b,1)/1000000;
VOL1=SUM(VOL,1)/1000000;
IF(a3》b3)
{
y=a3-b3;
z=y/VOL1*100;
統計:TOSTRING(1,0)+“天機構買(mǎi)入”+TOSTRING(a3,1)+“萬(wàn)手,賣(mài)出”+TOSTRING(b3,1)+“萬(wàn)手。凈買(mǎi)入”+TOSTRINGwww.travelwithnise.com(y,1)+“萬(wàn)手。占總成交”+TOSTRING(z,1)+“%!;
}
ELSE
{
y=b3-a3;
z=y/VOL1*100;
統計:TOSTRING(1,0)+“天機構買(mǎi)入”+TOSTRING(a3,1)+“萬(wàn)手,賣(mài)出”+TOSTRING(b3,1)+“萬(wàn)手。凈賣(mài)出”+TOSTRING(y,1)+“萬(wàn)手。占總成交”+TOSTRING(z,1)+“%!;
}
(南方財富網(wǎng)SOUTHMONEY.COM)