RS:=SUM(IF(RJJ REF(RJJ,1),RJJ*VOL,0),q)/SUM(IF(RJJ =REF(RJJ,1),RJJ*VOL,0),q);
{股票软件下载网-股票公式网站 www.9m8.cn 九毛八公式指标网}
BL:=100-100/(1+RS);
资金流:BL,NODRAW;
A1:=SUM(IF(BL REF(BL,1),VOL,IF(BL REF(BL,1),-VOL,0)),0);{OBV}
DIF:EMA(A1,SHORT)-EMA(A1,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;