您的位置:爱股网 > 查股公式 > 通达信MACD买卖副图指标公式源码[查股公式]
股票行情消息数据:

通达信MACD买卖副图指标公式源码[查股公式]

2022/12/12 14:32:21

VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
 
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
指标:=EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100,COLORWHITE,LINETHICK1;
DEA:=EMA(DIF,9),COLORGREEN,LINETHICK1;
MACD买卖:(DIF-DEA)*0.666,COLORSTICK;
换手:=HSL*100,COLORGREEN;
买:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
卖:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((买=1),(-0.02),0,1,0),COLOR0000FF;
DRAWTEXT((买=1),(-0.02),'买'),COLOR0000FF;
STICKLINE((卖=1),0.02,0,1,0),COLOR00FF00;
DRAWTEXT((卖=1),0.02,'卖'),COLOR00FF00;

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

股票公式分类

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