木棉花 发表于 2017-7-29 23:13:19

准确扑捉底部的乖离资金动能指标(副图 源码)


使用简单方法: 该指标提示买卖点较明显(分别以资金动能的彩带变化提示买卖点,或三色彩柱提示底部买入点,以及用乖离改型指标分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);{www.gp66.cn}
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;

蓝天白云 发表于 2020-11-22 20:17:09

感谢楼主分享

蓝天白云 发表于 2020-11-22 20:14:33

感谢楼主分享

诸葛神弩 发表于 2019-4-2 15:34:45

AA:=(3*C+H+L+O)/6;
AA1:=(8*AA+7*REF(AA,1)+6*REF(AA,2)+5*REF(AA,3)+4*REF(AA,4)+3*REF(AA,5)+2*REF(AA,6)+REF(AA,8))/36;
AA2:=VOL=HHV(VOL,20) AND VOL>2*REF(VOL,1) AND CLOSE>AA1 AND C>REF(C,1) AND MA(C,5)>REF(MA(C,5),1);
AA3:=REF(C>O,1) AND REF(C<O,2) AND REF(C<O,3) AND C>O AND REF(C/REF(C,1)<1.03,1) AND (H-C)/C*100<0.5;
XG:FILTER(AA2 AND AA3,5);

洛阳牡丹 发表于 2019-4-1 14:23:46

楼主,谢谢分享

黄三 发表于 2018-7-26 12:09:44

学习下,谢谢分享!

知秋 发表于 2018-4-18 08:59:43

好东西就是要赞,感谢分享

流云 发表于 2017-8-12 23:42:36

好东西就是要赞,感谢分享
页: [1]
查看完整版本: 准确扑捉底部的乖离资金动能指标(副图 源码)