设为首页加入收藏

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

同花顺公式源码 同花顺MACDOBV公式源码

2015-1-30 11:14:24 股票入门 http://rumen.southmoney.com

  南方财富网带来同花顺公式源码 同花顺MACDOBV公式源码:

  OBV:=EMA(SUM(IF(C》REF(C,1),VOL,IF(C《REF(C,1),-V,0)),0)/1000,2);

  obve:=EMA(OBV,3);

  DIFF:=(EMA(obve,12)-EMA(obve,26));

  bbDIFF:=DIFF-REF(DIFF,1);

  DEA:=EMA(DIFF,9);

  bbDEA:=DEA-REF(DEA,1);

  MACD:2*(DIFF-DEA);

  PARTLINE(IF(C,0,0),0,colorwhite);

  STICKLINE(DIFF》=REF(DIFF,1) AND DEA》REF(DEA,1),DIFF,dea,8,0),LINETHICK4,Color0089FF;//{橙}

  //DRAWTEXT(DIFF》=REF(DIFF,1) AND DEA》REF(DEA,1),L*0.98,“介入”);

  STICKLINE(DIFF》DEA,DIFF,DEA,8,0),Color0089FF;//{橙--加宽}

  STICKLINE(DIFF《REF(DIFF,1) AND DEA《REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,colorblue;//{蓝}

  STICKLINE(DIFF《DEA,DIFF,DEA,8,0),colorblue;//{蓝--加宽}

  STICKLINE(DIFF》=REF(DIFF,1) AND DEA《REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,Color00C500;//{绿}

  STICKLINE(DIFF《REF(DIFF,1) AND DEA》REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,coloryellow;//{黄}

  STICKLINE(MACD》REF(MACD,1) AND MACD》0,0,MACD,2,0),colorred;

  STICKLINE(MACD《REF(MACD,1) AND MACD》0,0,MACD,2,0),coloryellow;

  STICKLINE(MACD《REF(MACD,1) AND MACD《0,0,MACD,2,0),colorgreen;

  STICKLINE(MACD》REF(MACD,1) AND MACD《0,0,MACD,2,0),COLOR0099FF;

  //IF(C,2*(DEA-DIFF),MACD),LINETHICK2,colorgray;

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