万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

【通达信指标】共振指南针指标公式,捕捉市场的潜在机会(副图+选股)

admin 2025-01-13 14:45:49 通达信主副图指标 32 ℃

第一部分 指标介绍

1.共振指南针指标整合了价格、趋势、动量和交易量等多个维度的分析,结合了指数移动平均、简单移动平均、最低价最高价、MACD等一系列的技术指标用于捕捉市场的潜在机会,提高信号的准确性。

2.选股公式是一系列信号的共振选择,信号点的位置越低越好,对于趋势型的来说,回调不破五日线或者信号穿越5日线最佳。

3.指标不含未来函数,指标不漂移。

第二部分 公式源码

{共振指南针--副图}

GHCZS1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

GHCZS2:=SMA(SMA(GHCZS1,3,1),3,1)/28.57;

GHCZS3:=EMA(GHCZS2,5);

GHCZS4:=3*GHCZS2-2*GHCZS3;

GHCZS5:=CROSS(GHCZS4,GHCZS2) AND GHCZS2<2.1 AND CLOSE>OPEN;

GHCZS6:=CROSS(GHCZS4,GHCZS2) AND GHCZS2<2.1 AND CLOSE>OPEN;

GHCZS7:=(2*CLOSE+HIGH+LOW)/4;

GHCZS8:=LLV(LOW,13);

GHCZS9:=HHV(HIGH,13);

GHCZS10:=EMA((GHCZS7-GHCZS8)/(GHCZS9-GHCZS8)*100,13);

GHCZS11:=EMA(0.667*REF(GHCZS10,1)+0.333*GHCZS10,2);

GHCZS12:=GHCZS10;

GHCZS13:=EMA(H,25),COLORGREEN;

GHCZS14:=EMA(L,25),COLORGREEN;

GHCZS15:=PLOYLINE(C>GHCZS13,GHCZS13);

GHCZS16:=IF(C>GHCZS13,GHCZS15,DRAWNULL),COLORRED;

GHCZS17:=PLOYLINE(C>GHCZS14,GHCZS14);

GHCZS18:=IF(C>GHCZS14,GHCZS17,DRAWNULL),COLORRED;

STICKLINE(GHCZS10>GHCZS11,GHCZS10,GHCZS11,3,0),COLOR0055AA;

STICKLINE(GHCZS10>GHCZS11,GHCZS10,GHCZS11,2.8,0),COLOR0066BB;

STICKLINE(GHCZS10>GHCZS11,GHCZS10,GHCZS11,2.5,0),COLOR0077CC;

STICKLINE(GHCZS10>GHCZS11,GHCZS10,GHCZS11,2.2,0),COLOR0088DD;

STICKLINE(GHCZS10>GHCZS11,GHCZS10,GHCZS11,1.7,0),COLOR0099EE;

STICKLINE(GHCZS10>GHCZS11,GHCZS10,GHCZS11,1.2,0),COLOR00AAFF;

STICKLINE(GHCZS10>GHCZS11,GHCZS10,GHCZS11,0.7,0),COLOR00CCFF;

STICKLINE(GHCZS10>GHCZS11,GHCZS10,GHCZS11,0.2,0),COLORYELLOW;

STICKLINE(GHCZS10<=GHCZS11,GHCZS10,GHCZS11,3,0),COLOR990099;

STICKLINE(GHCZS10<=GHCZS11,GHCZS10,GHCZS11,2.8,0),COLOR990088;

STICKLINE(GHCZS10<=GHCZS11,GHCZS10,GHCZS11,2.5,0),COLOR990077;

STICKLINE(GHCZS10<=GHCZS11,GHCZS10,GHCZS11,2.2,0),COLOR990066;

STICKLINE(GHCZS10<=GHCZS11,GHCZS10,GHCZS11,1.7,0),COLOR990055;

STICKLINE(GHCZS10<=GHCZS11,GHCZS10,GHCZS11,1.2,0),COLORBB00BB;

STICKLINE(GHCZS10<=GHCZS11,GHCZS10,GHCZS11,0.7,0),COLORDD00DD;

STICKLINE(GHCZS10<=GHCZS11,GHCZS10,GHCZS11,0.2,0),COLORMAGENTA;

DRAWTEXT_FIX(1,0.01,0.01,0,'微信公众号万物狙击'),COLORFF00FF;

安全区:20,COLORLIRED;

中轨:50,COLORYELLOW;

高位:80,COLORLIBLUE;

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

DD:=MACD>0;

启动:EMA(0.382*REF(GHCZS10,2)+0.618*GHCZS10,6),COLORRED;

主力:IF(启动>REF(启动,1),启动,DRAWNULL),COLORRED,LINETHICK4;

量能:IF(启动<REF(启动,1),启动,DRAWNULL),COLORLIBLUE,LINETHICK2;

共振:=BARSLASTCOUNT(GHCZS10>GHCZS11 AND 主力)=1;

STICKLINE(共振 AND GHCZS18 AND DD AND C>O,82,20,0.005,1),COLORRED;

DRAWICON(共振 AND GHCZS18 AND DD AND C>O,85,25),COLORYELLOW;

DRAWICON(共振 AND GHCZS18 AND DD AND C>O,75,26),COLORYELLOW;

DRAWICON(共振 AND GHCZS18 AND DD AND C>O,65,27),COLORYELLOW;

第三部分 选股公式

{共振指南针--选股}

XG1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

XG2:=SMA(SMA(XG1,3,1),3,1)/28.57;

XG3:=EMA(XG2,5);

XG4:=3*XG2-2*XG3;

XG5:=CROSS(XG4,XG2) AND XG2<2.1 AND CLOSE>OPEN;

XG6:=CROSS(XG4,XG2) AND XG2<2.1 AND CLOSE>OPEN;

XG7:=(2*CLOSE+HIGH+LOW)/4;

XG8:=LLV(LOW,13);

XG9:=HHV(HIGH,13);

XG10:=EMA((XG7-XG8)/(XG9-XG8)*100,13);

XG11:=EMA(0.667*REF(XG10,1)+0.333*XG10,2);

XG12:=XG10;

XG13:=EMA(H,25);

XG14:=EMA(L,25);

XG15:=PLOYLINE(C>XG13,XG13);

XG16:=IF(C>XG13,XG15,DRAWNULL);

XG17:=PLOYLINE(C>XG14,XG14);

XG18:=IF(C>XG14,XG17,DRAWNULL);

XG19:=EMA(CLOSE,12)-EMA(CLOSE,26);

XG20:=EMA(XG19,9);

XG21:=(XG19-XG20)*2;

XG22:=XG21>0;

XG23:=NOT(CODELIKE(4));

XG24:=NOT(CODELIKE(688));

XG25:=IF(NAMELIKE(S),0,1);

XG26:=IF(NAMELIKE(*),0,1);

XG27:=NOT(CODELIKE(8));

XG28:=XG23 AND XG25 AND XG24 AND XG26 AND XG27;

XG29:=EMA(0.382*REF(XG10,2)+0.618*XG10,6);

XG30:=IF(XG29>REF(XG29,1),XG29,DRAWNULL);

XG31:=BARSLASTCOUNT(XG10>XG11 AND XG30)=1 AND XG28;

共振指南针X:XG31 AND XG18 AND XG22 AND C>O;

第四部分 指标图示

很赞哦! (1)

游客您好,本文中含有可下载的附件,请先回复后获取下载链接 下载次数:0次 回复

更多精彩内容,请关注公众号:精品公式指标

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群