您的位置:查股网 > 查股公式 > 同花顺价量MACD指标公式[查股公式]
股票行情消息查询:
大盘云图

同花顺价量MACD指标公式[查股公式]

2022/4/9 19:51:12

同花顺价量MACD指标公式:

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;//{加速线}

同花顺价量MACD指标公式

相关文章列表
天天查股公式列表

股票公式分类

查股网:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29