您的位置:查股网 > 查股公式 > 通达信动量震荡指标(指标副图/选股贴图)[查股公式]
股票行情消息查询:

通达信动量震荡指标(指标副图/选股贴图)[查股公式]

2022/5/2 11:09:17

朋友送来一个指标---动量震荡指标,我看了一下,其核心原理就是AO。
 选股信号较多(三绿柱---钱袋、碟形---红箭头、双峰---手指三种信号“OR”选股),学员可根据自己的需要删减。
 现分享给大家,希望对新手有所帮助!
 
{ DLZD 动量振荡指标 TDX}
ZF:EMA(EMA(C-REF(C,1),14),3)*11;
HL:=(H+L)/2;
JXC:MA(HL,5)-MA(HL,34),COLORFFBB00,NODRAW;
STICKLINE(JXC>=REF(JXC,1),0,JXC,0,0),COLORRED;
STICKLINE(JXC<=REF(JXC,1),0,JXC,0,0),COLORGREEN;

TJ1:= REF(C,1)/L>1.05 AND C/L>1.05 AND L<REF(L,1) AND REF(L,1)<REF(L,2);
TJ2:=REF(TJ1,4)=1 OR REF(TJ1,5)=1 OR REF(TJ1,6)=1 OR REF(TJ1,7)=1 OR REF(TJ1,8)=1;
TJ3:=JXC>REF(JXC,1) AND REF(JXC,1)>REF(JXC,2) AND REF(JXC,2)>REF(JXC,3) AND
REF(JXC,3)<REF(JXC,4) AND REF(JXC,4)<REF(JXC,5) AND REF(JXC,5)<REF(JXC,6) AND
REF(JXC,6)<REF(JXC,7) AND REF(JXC,7)<REF(JXC,8) AND REF(JXC,8)<0;

SLZ:=TJ2 AND TJ3;
DRAWICON(SLZ,JXC*0.95,9);{钱袋}

DX:=JXC>0 AND JXC>REF(JXC,1) AND REF(JXC,1)<REF(JXC,2) AND REF(JXC,2)<REF(JXC,3) AND REF(JXC,3)<REF(JXC,4);
DRAWICON(DX,JXC,1);{红箭头}

BCOUNT:=BARSLAST(JXC>0);
BD:=LLV(JXC,BCOUNT);
BCOUNTD:=LLVBARS(JXC,BCOUNT);
B3:=JXC<0 AND REF(JXC,1)<REF(JXC,2) AND JXC>REF(JXC,1);
B31:=COUNT(B3,BCOUNTD);
AA:=JXC>REF(JXC,1) AND REF(JXC,1)<REF(JXC,2) AND REF(JXC,2)<REF(JXC,3) AND REF(JXC,3)<REF(JXC,4);
SF:=B31>=2 AND B3 AND AA;
DRAWICON(SF,JXC*1.06,11);{向上手指}

XG:=SLZ OR SF OR DX; {选股时吧“=”去掉};


----------------------------------------------------------


{DLZD 动量振荡指标 XG}
HL:=(H+L)/2;
JXC:=MA(HL,5)-MA(HL,34);
TJ1:=REF(C,1)/L>1.05 AND C/L>1.05 AND L<REF(L,1) AND REF(L,1)<REF(L,2);
TJ2:=REF(TJ1,4)=1 OR REF(TJ1,5)=1 OR REF(TJ1,6)=1 OR REF(TJ1,7)=1 OR REF(TJ1,8)=1;
TJ3:=JXC>REF(JXC,1) AND REF(JXC,1)>REF(JXC,2) AND REF(JXC,2)>REF(JXC,3) AND
REF(JXC,3)<REF(JXC,4) AND REF(JXC,4)<REF(JXC,5) AND REF(JXC,5)<REF(JXC,6) AND
REF(JXC,6)<REF(JXC,7) AND REF(JXC,7)<REF(JXC,8) AND REF(JXC,8)<0;
SLZ:=TJ2 AND TJ3; {钱袋}

DX:=JXC>0 AND JXC>REF(JXC,1) AND REF(JXC,1)<REF(JXC,2) AND REF(JXC,2)<REF(JXC,3) AND REF(JXC,3)<REF(JXC,4); {红箭头}

BCOUNT:=BARSLAST(JXC>0);
BD:=LLV(JXC,BCOUNT);
BCOUNTD:=LLVBARS(JXC,BCOUNT);
B3:=JXC<0 AND REF(JXC,1)<REF(JXC,2) AND JXC>REF(JXC,1);
B31:=COUNT(B3,BCOUNTD);
AA:=JXC>REF(JXC,1) AND REF(JXC,1)<REF(JXC,2) AND REF(JXC,2)<REF(JXC,3) AND REF(JXC,3)<REF(JXC,4);
SF:=B31>=2 AND B3 AND AA; {向上手指}

XG:SLZ OR DX OR SF;

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

股票公式分类

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