发布日期:2024-10-29 19:37 点击次数:137
第一部分 指标介绍
1.通达信强势预警指标针对长期横盘的个股,突然突破发起启动的预警,后期能走出很多大牛股,尤其是W底的时候,这个时候的个股安全性高相对走出大波段个概率较大。
2.尾盘或盘中均可选股,信号点位可能有点高,所以当天买不进去可能第二天开盘10分钟分时线走在均线线之上稳定之后介入。
3.指标不含未来函数,指标不漂移。第二部分 公式源码
{强势预警--副图}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);
DRAWTEXT_FIX(1,0,0.07,0,'微信公众号:柳暗花明一涨停'),COLORMAGENTA,LINETHICK4;
GHCZS11:=CLOSE>GHCZS10 AND GHCZS1 AND (CLOSE>REF(HHV(HIGH,3),1)*GHCZS2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
GHCZS12:=VOL;
GHCZS13:=MA(GHCZS12,5);
GHCZS14:=GHCZS13+GHCZS13>GHCZS12;
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;
GHCZS29:=MAX(MAX(MAX(MAX(MAX(GHCZS3,GHCZS4),GHCZS5),GHCZS6),GHCZS7),GHCZS8)*GHCZS9;
GHCZS30:=MIN(MIN(MIN(MIN(MIN(GHCZS3,GHCZS4),GHCZS5),GHCZS6),GHCZS7),GHCZS8)*GHCZS9;
GHCZS31:=CLOSE>GHCZS29 AND LOW<GHCZS30 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*GHCZS2)/REF(CLOSE,1)>0.09);
GHCZS32:=FILTER(GHCZS31>0,0)=1;
GHCZS33:=DATETODAY(DATE);
GHCZS34:=GHCZS33>9350 AND GHCZS33<9999999999;
GHCZS35:=GHCZS32*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+GHCZS32+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,COLOR0000FF;第三部分 选股公式
{强势预警--选股}
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);
XG12:=VOL;
XG13:=MA(XG12,5);
XG14:=XG13+XG13>XG12;
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;
XG29:=MAX(MAX(MAX(MAX(MAX(XG3,XG4),XG5),XG6),XG7),XG8)*XG9;
XG30:=MIN(MIN(MIN(MIN(MIN(XG3,XG4),XG5),XG6),XG7),XG8)*XG9;
XG31:=CLOSE>XG29 AND LOW<XG30 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*XG2)/REF(CLOSE,1)>0.09);
XG32:=FILTER(XG31>0,0)=1;
XG33:=DATETODAY(DATE);
XG34:=XG33>9350 AND XG33<9999999999;
XG35:=XG32*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+XG32+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,COLOR0000FF; 本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。