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

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

【通达信指标】主力一号指标公式,突破抓牛狙击主升浪(副图+选股)

admin 2024-09-26 20:47:05 通达信主副图指标 267 ℃

第一部分 指标介绍

1.通达信主力一号指标用于抓突破型的个股,狙击个股主升浪来临前的第一波趋势,个股长期横盘后的强势启动。

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

第二部分 公式源码

{主力一号--副图}

GHCZS1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);

GHCZS2:=IF(DATETODAY(DATE)<9999999999,1,DRAWNULL);

GHCZS3:=EMA(CLOSE,5);

GHCZS4:=EMA(CLOSE,10);

GHCZS5:=EMA(CLOSE,14);

GHCZS6:=EMA(CLOSE,18);

GHCZS7:=EMA(CLOSE,40);

GHCZS8:=EMA(CLOSE,60);

GHCZS9:=IF(DATE<9999999999,1,DRAWNULL);

GHCZS10:=MAX(GHCZS7,GHCZS8);

GHCZS11:=CLOSE>GHCZS10 AND GHCZS1 AND (CLOSE>REF(HHV(HIGH,3),1)*GHCZS2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);

GHCZS13:=MA(V,5);

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

GHCZS14:=GHCZS13+GHCZS13>V;

GHCZS15:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*GHCZS2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*GHCZS9;

GHCZS16:=(CLOSE>REF(HHV(HIGH,3),1)*GHCZS2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*GHCZS2 AND GHCZS15 AND GHCZS14;

GHCZS17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*GHCZS2<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);

GHCZS18:=(CLOSE-REF(CLOSE,1)*GHCZS2)/REF(CLOSE,1)*100>7;

GHCZS19:=GHCZS17 AND GHCZS18;

GHCZS20:=DATETODAY(DATE);

GHCZS21:=GHCZS20>9344 AND GHCZS20<9999999999;

GHCZS22:=(GHCZS11 AND GHCZS19)*GHCZS21;

GHCZS23:=MAX(MAX(MAX(MAX(MAX(EMA(CLOSE,5),GHCZS4),EMA(CLOSE,14)),EMA(CLOSE,18)),EMA(CLOSE,40)),EMA(CLOSE,60))*GHCZS9;

GHCZS24:=MIN(MIN(MIN(MIN(MIN(EMA(CLOSE,5),GHCZS4),EMA(CLOSE,14)),EMA(CLOSE,18)),EMA(CLOSE,40)),EMA(CLOSE,60))*GHCZS9;

GHCZS25:=CLOSE>GHCZS23 AND LOW<GHCZS24 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*GHCZS2)/REF(CLOSE,1)>0.09);

GHCZS26:=FILTER(GHCZS25>0,0)=1;

GHCZS33:=DATETODAY(DATE);

GHCZS34:=GHCZS33>9350 AND GHCZS33<9999999999;

GHCZS35:=GHCZS26*GHCZS34;

GHCZS36:=MA(REF(HHV(CLOSE,26),1),2);

GHCZS37:=MA(CLOSE,26);

GHCZS38:=POW(CLOSE-GHCZS37,2);

GHCZS39:=MA(GHCZS38,13);

GHCZS40:=SQRT(GHCZS39);

GHCZS41:=GHCZS37+2*GHCZS40;

GHCZS42:=REF(GHCZS41,1);

GHCZS43:=CROSS(CLOSE,GHCZS36) AND HIGH>REF(GHCZS41,1) OR (CLOSE>GHCZS36 AND CROSS(CLOSE,REF(GHCZS41,1))) AND CLOSE/OPEN>0.998;

GHCZS44:=MACD.MACD;

GHCZS45:=KD.K;

GHCZS46:=KD.D;

GHCZS47:=RSI.RSI1;

GHCZS48:=RSI.RSI3;

GHCZS49:=CLOSE-REF(CLOSE,1);

GHCZS50:=IF(GHCZS49>=0,GHCZS49,0)*GHCZS9;

GHCZS51:=IF(GHCZS49<0,-GHCZS49,0)*GHCZS9;

GHCZS52:=MEMA(GHCZS50,10);

GHCZS53:=MEMA(GHCZS51,10);

GHCZS54:=MEMA(GHCZS50,6);

GHCZS55:=MEMA(GHCZS51,6);

GHCZS56:=MA(100*GHCZS52/(GHCZS52+GHCZS53),10)*GHCZS9;

GHCZS57:=MA(100*GHCZS54/(GHCZS54+GHCZS55),6)*GHCZS9;

GHCZS58:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;

GHCZS59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;

GHCZS60:=COUNT(GHCZS59<35,100)>=95;

GHCZS61:=GHCZS43 AND GHCZS58>0 AND NOT(DYNAINFO(4)=0) AND GHCZS60 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(GHCZS57,GHCZS56) OR CROSS(GHCZS44,0) OR REF(COUNT(CROSS(GHCZS44,0),3)=1 AND GHCZS44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(GHCZS45,GHCZS46) OR CROSS(GHCZS47,GHCZS48)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;

GHCZS62:=GHCZS11+GHCZS16+GHCZS19+GHCZS26+GHCZS61>=2;

GHCZS63:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);

GHCZS64:=CLOSE>REF(CLOSE,1)*1.1-0.01;

GHCZS65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*GHCZS2>=20;

GHCZS66:=VOL/REF(VOL,1)*GHCZS2>1.9;

GHCZS67:=GHCZS63 AND GHCZS64 AND GHCZS65 AND GHCZS66;

GHCZS68:=MA(CLOSE,5);

GHCZS69:=MA(CLOSE,10);

GHCZS70:=MA(CLOSE,20);

GHCZS71:=MA(CLOSE,30);

GHCZS72:=MA(CLOSE,60);

GHCZS73:=CLOSE>GHCZS68 AND GHCZS68>GHCZS69 AND GHCZS69>GHCZS70 AND CLOSE>GHCZS72;

GHCZS74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;

GHCZS75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);

GHCZS76:=CAPITAL<10000000;

GHCZS77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;

GHCZS78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;

GHCZS79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;

GHCZS80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;

GHCZS81:=GHCZS77 AND GHCZS78 AND GHCZS79 AND GHCZS80;

GHCZS82:=KDJ.K>REF(KDJ.K,1)*GHCZS2;

GHCZS83:=KDJ.D>REF(KDJ.D,1)*GHCZS2 AND KDJ.D<70;

GHCZS84:=KDJ.J>REF(KDJ.J,1)*GHCZS2;

GHCZS85:=GHCZS82 AND GHCZS83 AND GHCZS84;

GHCZS86:=GHCZS7 AND GHCZS74 AND GHCZS75 AND GHCZS76 AND GHCZS81 AND GHCZS85;

GHCZS87:=FILTER(GHCZS86,15)*GHCZS2;

GHCZS88:=GHCZS67 OR GHCZS87;

主力一号:((GHCZS88 AND GHCZS62)*GHCZS2 OR GHCZS35 OR GHCZS22),LINETHICK2,COLOR00FFFF;

第三部分 选股公式

{主力一号--选股}

XG1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);

XG2:=IF(DATETODAY(DATE)<9999999999,1,DRAWNULL);

XG3:=EMA(CLOSE,5);

XG4:=EMA(CLOSE,10);

XG5:=EMA(CLOSE,14);

XG6:=EMA(CLOSE,18);

XG7:=EMA(CLOSE,40);

XG8:=EMA(CLOSE,60);

XG9:=IF(DATE<9999999999,1,DRAWNULL);

XG10:=MAX(XG7,XG8);

XG11:=CLOSE>XG10 AND XG1 AND (CLOSE>REF(HHV(HIGH,3),1)*XG2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);

XG13:=MA(V,5);

XG14:=XG13+XG13>V;

XG15:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*XG2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*XG9;

XG16:=(CLOSE>REF(HHV(HIGH,3),1)*XG2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*XG2 AND XG15 AND XG14;

XG17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*XG2<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);

XG18:=(CLOSE-REF(CLOSE,1)*XG2)/REF(CLOSE,1)*100>7;

XG19:=XG17 AND XG18;

XG20:=DATETODAY(DATE);

XG21:=XG20>9344 AND XG20<9999999999;

XG22:=(XG11 AND XG19)*XG21;

XG23:=MAX(MAX(MAX(MAX(MAX(EMA(CLOSE,5),XG4),EMA(CLOSE,14)),EMA(CLOSE,18)),EMA(CLOSE,40)),EMA(CLOSE,60))*XG9;

XG24:=MIN(MIN(MIN(MIN(MIN(EMA(CLOSE,5),XG4),EMA(CLOSE,14)),EMA(CLOSE,18)),EMA(CLOSE,40)),EMA(CLOSE,60))*XG9;

XG25:=CLOSE>XG23 AND LOW<XG24 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*XG2)/REF(CLOSE,1)>0.09);

XG26:=FILTER(XG25>0,0)=1;

XG33:=DATETODAY(DATE);

XG34:=XG33>9350 AND XG33<9999999999;

XG35:=XG26*XG34;

XG36:=MA(REF(HHV(CLOSE,26),1),2);

XG37:=MA(CLOSE,26);

XG38:=POW(CLOSE-XG37,2);

XG39:=MA(XG38,13);

XG40:=SQRT(XG39);

XG41:=XG37+2*XG40;

XG42:=REF(XG41,1);

XG43:=CROSS(CLOSE,XG36) AND HIGH>REF(XG41,1) OR (CLOSE>XG36 AND CROSS(CLOSE,REF(XG41,1))) AND CLOSE/OPEN>0.998;

XG44:=MACD.MACD;

XG45:=KD.K;

XG46:=KD.D;

XG47:=RSI.RSI1;

XG48:=RSI.RSI3;

XG49:=CLOSE-REF(CLOSE,1);

XG50:=IF(XG49>=0,XG49,0)*XG9;

XG51:=IF(XG49<0,-XG49,0)*XG9;

XG52:=MEMA(XG50,10);

XG53:=MEMA(XG51,10);

XG54:=MEMA(XG50,6);

XG55:=MEMA(XG51,6);

XG56:=MA(100*XG52/(XG52+XG53),10)*XG9;

XG57:=MA(100*XG54/(XG54+XG55),6)*XG9;

XG58:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;

XG59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;

XG60:=COUNT(XG59<35,100)>=95;

XG61:=XG43 AND XG58>0 AND NOT(DYNAINFO(4)=0) AND XG60 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(XG57,XG56) OR CROSS(XG44,0) OR REF(COUNT(CROSS(XG44,0),3)=1 AND XG44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(XG45,XG46) OR CROSS(XG47,XG48)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;

XG62:=XG11+XG16+XG19+XG26+XG61>=2;

XG63:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);

XG64:=CLOSE>REF(CLOSE,1)*1.1-0.01;

XG65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*XG2>=20;

XG66:=VOL/REF(VOL,1)*XG2>1.9;

XG67:=XG63 AND XG64 AND XG65 AND XG66;

XG68:=MA(CLOSE,5);

XG69:=MA(CLOSE,10);

XG70:=MA(CLOSE,20);

XG71:=MA(CLOSE,30);

XG72:=MA(CLOSE,60);

XG73:=CLOSE>XG68 AND XG68>XG69 AND XG69>XG70 AND CLOSE>XG72;

XG74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;

XG75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);

XG76:=CAPITAL<10000000;

XG77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;

XG78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;

XG79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;

XG80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;

XG81:=XG77 AND XG78 AND XG79 AND XG80;

XG82:=KDJ.K>REF(KDJ.K,1)*XG2;

XG83:=KDJ.D>REF(KDJ.D,1)*XG2 AND KDJ.D<70;

XG84:=KDJ.J>REF(KDJ.J,1)*XG2;

XG85:=XG82 AND XG83 AND XG84;

XG86:=XG7 AND XG74 AND XG75 AND XG76 AND XG81 AND XG85;

XG87:=FILTER(XG86,15)*XG2;

XG88:=XG67 OR XG87;

主力一号:((XG88 AND XG62)*XG2 OR XG35 OR XG22),LINETHICK2,COLOR00FFFF;

第四部分 指标图示

很赞哦! (1)

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

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

其他说明

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


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


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