设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信公式源码 通达信不为哗众取宠分时OBV公式源码

2015-2-12 10:05:29 股票入门 http://rumen.southmoney.com

  南方财富网带来通达信公式源码 通达信不为哗众取宠分时OBV公式源码:

  {分时OBV}

  VA:=IF(CLOSE》REF(CLOSE,1),VOL,-VOL);

  OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);

  MAOBV:EMA(OBV,30);

  IF(MAOBV》=REF(MAOBV,1),MAOBV,DRAWNULL),COLORRED,LINETHICK2;

  IF(MAOBV《REF(MAOBV,1),MAOBV,DRAWNULL),COLORGREEN,LINETHICK2;

  EMA(OBV,5),COLORGREEN;

  IF(EMA(OBV,5)》=REF(EMA(OBV,5),1),EMA(OBV,5),DRAWNULL),COLORRED;

  EMA(OBV,10),COLORGREEN;

  IF(EMA(OBV,10)》=REF(EMA(OBV,10),1),EMA(OBV,10),DRAWNULL),COLORRED;

  EMA(OBV,15),COLORGREEN;

  IF(EMA(OBV,15)》=REF(EMA(OBV,15),1),EMA(OBV,15),DRAWNULL),COLORRED;

  EMA(OBV,20),COLORGREEN;

  IF(EMA(OBV,20)》=REF(EMA(OBV,20),1),EMA(OBV,20),DRAWNULL),COLORRED;

  EMA(OBV,25),COLORGREEN;

  IF(EMA(OBV,25)》=REF(EMA(OBV,25),1),EMA(OBV,25),DRAWNULL),COLORRED;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。