同花顺大单数据指标公式
-
相关简介:给大单净量加背景、资金进出更加一目了然!!!!!!!!!!!!!!!!!! IF(PERIODNAME日线) { 统计:该指标只在日线周期下有效。; RETURN; } r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100; 大单净量:r; r1:=(ZDMR[-1]+BDMR[-1])/SHGZG*100; 大单买量:r1; SHOWBUY:(r1/2); r2:=-(ZDMC[-1]+BDMC[-1])/SHGZG*100; 大单卖量:
-
文章来源:股海网作者:股海网发布时间:2015-07-09浏览次数:
给大单净量加背景、资金进出更加一目了然!!!!!!!!!!!!!!!!!!
IF(PERIODNAME<>"日线")
{
统计:"该指标只在日线周期下有效。";
RETURN;
}
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
大单净量:r;
r1:=(ZDMR[-1]+BDMR[-1])/SHGZG*100;
大单买量:r1;
SHOWBUY:(r1/2);
r2:=-(ZDMC[-1]+BDMC[-1])/SHGZG*100;
大单卖量:r2;
SHOWSELL:(r2/2);
STICKLINE(r>0,0,r,8),color0000ff;
STICKLINE(r<0,0,r,8),color00ff00;
r0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))
-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[- 1]),0,BDMC)))
/SHGZG*100;
MA5:MA(r0,5);
MA10:MA(r0,10);
MA20:MA(r0,20);
RETURN r0;
|