最新更新 - 网站地图 -
您的当前位置:首页 > 股票技巧 > 炒股技巧 > OBV(资金流量)指标公式及图例(图)

OBV(资金流量)指标公式及图例(图)

来源:网络 点击: 时间:2022-12-17 00:00:11
1、OBV(资金流量)
INPUT:N(9,1,100);
TYP := (HIGH + LOW + CLOSE)/3;
rs:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),N)/SUM(IF(TYP<=REF(TYP,1),TYP*VOL,0),N);
MFI:=100-100/(1+rs);
资金流量:MFI,LINETHICK0;
a1:=SUM(IF(MFI>REF(MFI,1),VOL,IF(MFI RSV:=(a1-LLV(a1,34))/(HHV(a1,34)-LLV(a1,34))*100;
K:SMA(RSV,5,1);
D:SMA(K,3,1);
J:3*K-2*D;
50,colorgray,LINEDOT; 80,COLORRED,LINEDOT;

2、OBV.MACD(能量)
INPUT:N(9,1,10);
LC := REF(CLOSE,1);
a1:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100; {RSI}
DIFF:-1*(EMA(a1,26) - EMA(a1,12))/200,COLORCYAN;
DEA:-1*(EMA(DIFF,9))/200,COLORRED;
MACD:2000*(DIFF-DEA),COLORSTICK,LINETHICK2;
{柱线颜色}
s1:=MACD0;
s2:=MACD STICKLINE(MACD>=0,MACD,0,8,1),COLORRED;
STICKLINE(s1,0,MACD,8,1),COLOR00ffff;
STICKLINE(s2,0,MACD,8,0),COLORffffff;
STICKLINE(MACD>REF(MACD,1)and MACD<0,0,MACD,8,1),COLORffff00;

80,COLORMAGENTA,LINEDOT;

图片附件:(2006-3-20 00:35, 66.99 K)
(文章来源:股票知识大全 )

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top