您現(xiàn)在的位置: 南方財(cái)富網(wǎng) >> 股票知識(shí) >> 股票公式 >> 正文
南財(cái)搜索

OBV(資金流量)指標(biāo)公式及圖例(圖)

2013/10/14 15:39:11   來源:本站原創(chuàng)   佚名
    

OBV(資金流量)指標(biāo)公式及圖例(圖)

  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《REF(MFI,1),-VOL,0)),0);{OBV}

  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:=MACD《REF(MACD,1)and MACD》0;

  s2:=MACD《REF(MACD,1)/2 and MACD《0;

  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)

(南方財(cái)富網(wǎng)SOUTHMONEY.COM)
    南方財(cái)富網(wǎng)聲明:股市資訊來源于合作媒體及機(jī)構(gòu),屬作者個(gè)人觀點(diǎn),僅供投資者參考,并不構(gòu)成投資建議。投資者據(jù)此操作,風(fēng)險(xiǎn)自擔(dān)。
延伸閱讀
商務(wù)進(jìn)行時(shí)
每日必讀
學(xué)院24小時(shí)排行
證券導(dǎo)讀
熱圖推薦

關(guān)于南方財(cái)富網(wǎng) -版權(quán)聲明誠聘英才廣告服務(wù)網(wǎng)站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財(cái)富網(wǎng)無關(guān)
m.dixmanbetx.com
南方財(cái)富網(wǎng) © 版權(quán)所有 閩ICP備09035581號(hào)