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

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

【通达信指标】量化检测指标公式,量化定底部决主升(主图+选股)

admin 2024-04-23 15:50:47 通达信主副图指标 673 ℃

第一部分 指标介绍

1.通达信量化检测主图指标,通过量化角度去检测股价的相对底部与主升行情,指标包含两个信号,抄底信号、主升信号,信号又再次进行了一次过滤,所以信号不多且更优质安全性更高。

2.用法上两个信号都可作为买入使用,指标优化后信号熟练不多且放弃了涨幅过大和过高的信号,总体来说还是不错的,有参考意义,喜欢的可以用用看。

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

第二部分 公式源码

{量化检测--副图}

MA5:MA(C,5),COLORMAGENTA,LINETHICK2;

MA30:MA(C,30),COLORRED;

GHCZS1:=MA(C,10);

量化:IF(GHCZS1>MA30,GHCZS1,MA30),COLOR999900;

GHCZS2:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

GHCZS3:=SMA(GHCZS2,3,1);

GHCZS4:=SMA(GHCZS3,3,1);

GHCZS5:=3*GHCZS3-2*GHCZS4;

GHCZS6:=C-REF(C,1);

GHCZS7:=100*EMA(EMA(GHCZS6,6),6)/EMA(EMA(ABS(GHCZS6),6),6);

GHCZS8:=LLV(GHCZS7,2)=LLV(GHCZS7,7) AND COUNT(GHCZS7< 0,2) AND CROSS(GHCZS7,MA(GHCZS7,2));

抄底:=FILTER(GHCZS8=1,5);

STICKLINE(GHCZS8,OPEN,C,2,0),COLORYELLOW;

DRAWTEXT_FIX(1,0,0.07,0,微信公众号:万物狙击),COLORMAGENTA,LINETHICK4;

GHCZS9:=C>REF(C,1) AND C>REF(C,2);

GHCZS10:=REF(GHCZS9,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS11:=REF(GHCZS10,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS12:=REF(GHCZS11,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS13:=REF(GHCZS12,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS14:=REF(GHCZS13,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS15:=REF(GHCZS14,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS16:=REF(GHCZS15,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS17:=REF(GHCZS16,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS18:=REF(GHCZS17,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS19:=REF(GHCZS18,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS20:=REF(GHCZS19,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS21:=C< REF(C,1) AND C< REF(C,2);

GHCZS22:=REF(GHCZS21,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS23:=REF(GHCZS22,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS24:=REF(GHCZS23,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS25:=REF(GHCZS24,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS26:=REF(GHCZS25,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS27:=REF(GHCZS26,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS28:=REF(GHCZS27,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS29:=REF(GHCZS28,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS30:=REF(GHCZS29,1) AND C>=REF(C,1) AND C<=REF(C,2);

GHCZS31:=REF(GHCZS30,1) AND C<=REF(C,1) AND C>=REF(C,2);

GHCZS32:=REF(GHCZS31,1) AND C>=REF(C,1) AND C<=REF(C,2);

STICKLINE(GHCZS21 OR GHCZS22 OR GHCZS23 OR GHCZS24 OR GHCZS25 OR GHCZS26 OR GHCZS27 OR GHCZS28 OR GHCZS29 OR GHCZS30 OR GHCZS31 OR GHCZS32,C,OPEN,3,0),COLORFFCC66;

GHCZS33:=REF(GHCZS21 OR GHCZS22 OR GHCZS23 OR GHCZS24 OR GHCZS25 OR GHCZS26 OR GHCZS27 OR GHCZS28 OR GHCZS29 OR GHCZS30 OR GHCZS31 OR GHCZS32,1) AND GHCZS9;

GHCZS34:=REF(GHCZS9 OR GHCZS10 OR GHCZS11 OR GHCZS12 OR GHCZS13 OR GHCZS14 OR GHCZS15 OR GHCZS16 OR GHCZS17 OR GHCZS18 OR GHCZS19 OR GHCZS20,1) AND GHCZS21;

IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLOR0000FF,LINETHICK2;

IF(MA5< REF(MA5,1),MA5,DRAWNULL),COLOR00FF00,LINETHICK2;

GHCZS35:=VOL*(OPEN+C)/2;

MA1:MA(C,0),COLOR00FF00;

GHCZS36:=REF(HHV(HIGH,150),3);

GHCZS37:=REF(LLV(LOW,150),3);

GHCZS38:=GHCZS36-(GHCZS36-GHCZS37)*0.191;

GHCZS39:=GHCZS36-(GHCZS36-GHCZS37)*0.382;

GHCZS40:=GHCZS36-(GHCZS36-GHCZS37)*0.5;

GHCZS41:=GHCZS36-(GHCZS36-GHCZS37)*0.618;

GHCZS42:=GHCZS36-(GHCZS36-GHCZS37)*0.809;

危险:=REFDATE(GHCZS36,DATE);

机会:=REFDATE(GHCZS37,DATE);

GHCZS43:=CURRBARSCOUNT=3;

GHCZS44:=CURRBARSCOUNT=1;

GHCZS45:=(OPEN+HIGH+LOW+C)/4;

检测点:=EMA(GHCZS45,17);

DRAWNUMBER(ISLASTBAR AND 检测点,检测点*1.005,检测点);

GHCZS46:=CROSS(C,检测点);

IF(检测点>REF(检测点,1),检测点,DRAWNULL),COLORYELLOW,LINETHICK2;

IF(检测点< REF(检测点,1),检测点,DRAWNULL),COLORGREEN,LINETHICK2;

抄底条件:=FILTER(GHCZS8=1,5) AND GHCZS33 AND GHCZS46 AND (C-REF(C,1))/REF(C,1)<0.06;

STICKLINE(抄底条件,C,OPEN,2,0),COLORYELLOW;

DRAWTEXT(抄底条件,LOW*0.98,抄底),COLORYELLOW;

DRAWICON(抄底条件,LOW,1),COLORYELLOW;

GHCZS47:=EMA(C,12)-EMA(C,26);

GHCZS48:=EMA(GHCZS47,9);

GHCZS49:=2*(GHCZS47-GHCZS48);

主升条件:=CROSS(GHCZS47,GHCZS48) AND GHCZS47<0 AND GHCZS46;

DRAWTEXT(主升条件,LOW*0.998,主升),COLORYELLOW;

DRAWICON(主升条件,检测点,9);

第三部分 选股公式

{量化检测--抄底选股}

MA5:=MA(C,5);

XGG1:=C-REF(C,1);

XGG2:=100*EMA(EMA(XGG1,6),6)/EMA(EMA(ABS(XGG1),6),6);

XGG3:=LLV(XGG2,2)=LLV(XGG2,7) AND COUNT(XGG2< 0,2) AND CROSS(XGG2,MA(XGG2,2));

XGG4:=C>REF(C,1) AND C>REF(C,2);

XGG5:=C< REF(C,1) AND C< REF(C,2);

XGG6:=REF(XGG5,1) AND C>=REF(C,1) AND C<=REF(C,2);

XGG7:=REF(XGG6,1) AND C<=REF(C,1) AND C>=REF(C,2);

XGG8:=REF(XGG7,1) AND C>=REF(C,1) AND C<=REF(C,2);

XGG9:=REF(XGG8,1) AND C<=REF(C,1) AND C>=REF(C,2);

XGG10:=REF(XGG9,1) AND C>=REF(C,1) AND C<=REF(C,2);

XGG11:=REF(XGG10,1) AND C<=REF(C,1) AND C>=REF(C,2);

XGG12:=REF(XGG11,1) AND C>=REF(C,1) AND C<=REF(C,2);

XGG13:=REF(XGG12,1) AND C<=REF(C,1) AND C>=REF(C,2);

XGG14:=REF(XGG13,1) AND C>=REF(C,1) AND C<=REF(C,2);

XGG15:=REF(XGG14,1) AND C<=REF(C,1) AND C>=REF(C,2);

XGG16:=REF(XGG15,1) AND C>=REF(C,1) AND C<=REF(C,2);{WWW.GUSHICHANGHONG.COM}

XGG17:=REF(XGG5 OR XGG6 OR XGG7 OR XGG8 OR XGG9 OR XGG10 OR XGG11 OR XGG12 OR XGG13 OR XGG14 OR XGG15 OR XGG16,1) AND XGG4;

XGG18:=(OPEN+HIGH+LOW+C)/4;

检测点:=EMA(XGG18,17);

XGG19:=CROSS(C,检测点);

量化抄底X:FILTER(XGG3=1,5) AND XGG17 AND XGG19 AND (C-REF(C,1))/REF(C,1)<0.06;

第四部分 指标图示

很赞哦! (1)

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

更多精彩内容,请关注公众号:实盘操手

其他说明

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


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


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