IF(STRFIND(PERIODNAME,"分钟",1)>0)
{
统计:"该指标只在日线、周线、月线、季线和年线周期下有效。";
RETURN;
}
r:=1000000*(ZDMCCS[-1]+BDMCCS[-1]-(ZDMRCS[-1]+BDMRCS[-1]))/(SHGZG/(VOL/VOLAMOUNT));
散户数量:r;
STICKLINE(r>0,0,r,8),color00ff00;
STICKLINE(r<0,0,r,8),colorff00ff;
r0:=1000000*(IF(ISNULL(ZDMCCS[-1]),0,ZDMCCS)+IF(ISNULL(BDMCCS[-1]),0,BDMCCS)
-(IF(ISNULL(ZDMRCS[-1]),0,ZDMRCS)+IF(ISNULL(BDMRCS[-1]),0,BDMRCS)))
/(SHGZG/(VOL/VOLAMOUNT));
MA5:MA(r0,5);
MA10:MA(r0,10);
MA20:MA(r0,20);
MA30:MA(r0,30);
RETURN r;