您的位置:查股网 > 查股公式 > 通达信乖离资金动能副图指标源码[查股公式]
股票行情消息查询:
大盘云图

通达信乖离资金动能副图指标源码[查股公式]

2022/9/11 19:58:31

通达信乖离资金动能副图指标源码

乖离资金动能副图指标;
使用简单方法:
该指标提示买卖点较明显(分别以资金动能的彩带变化提示买卖点,或三色彩柱提示底部买入点,以及用乖离改型指标分4级提示底部区域),同时在0轴上下以小红,小绿柱分别表示可持股或持币区域,为小散们提供了简洁,明了。清晰的操盘时机或点位。
源码:
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
A1:=EMA(DIFF,5)*100;
A2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*100;
A3:=IF(A2>0,A2,50),POINTDOT,COLORRED;
A4:=IF(A2<0,A2,50),POINTDOT,COLORGREEN;
动能A:=A2,COLOR00FFFF,LINETHICK2;
动能B:=A1,COLORFFFF00,LINETHICK2;
DRAWBAND(动能A,RGB(200,0,200),动能B,RGB(200,200,200));
STICKLINE(A2>0,0,A2,0.5,0),COLORRED;
STICKLINE(A2<0,0,A2,0.5,1),COLORGREEN;
VAR2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1);
VAR4:=EMA(VAR3,5);
AA:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
BB:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
AA1:=STICKLINE(动能A<动能B,0,-3,2,0);
BB1:=STICKLINE(动能A>动能B,0,3,2,0);
持币:AA1,COLOR00FF00;
持股:BB1,COLORRED;
底部:STICKLINE(CROSS(BB,9),0,10,1.7,0),COLORFF00FF;
STICKLINE(CROSS(BB,9),10,20,1.5,0),COLOR00FFFF;
STICKLINE(CROSS(BB,9),20,30,1,0),COLORRED;
DRAWTEXT(CROSS(BB,9),30,'底部'),COLOR00FFFF;
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
综合乖离:MA(BIAS,3),COLORFFFF00,LINETHICK0;
BIAS底A:IF(综合乖离<-18,12,0),COLORFF00FF,LINETHICK2;
BIAS底B:IF(综合乖离<-12,10,0), COLOR0000CC,LINETHICK2;
BIAS底C:IF(综合乖离<-6,8,0),COLORFFFF00,LINETHICK2;
BIAS底D:IF(综合乖离<0,6,0),COLOR00FFFF,LINETHICK2;
200620.png (27.72 KB)

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

股票公式分类

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