点击蓝色字免费订阅,标星置顶 以防丢失,做好强势超短。
提醒:各位股友请注意,指标是死的,不是万能的,所以也会出现很多无效的信号,这就需要朋友们结合均线、K线等其它指标以及具体的行情趋势作出分析判断,且不可照搬照抄,生搬硬套,切记安全为上。
第一部分 指标源码:
趋势通道擒妖主图指标:
ZYG1:=EMA(C,7);ZYG2:=EMA(C,18);ZYG3:=(ZYG1-ZYG2)/ZYG2*100;ZYG4:=EMA(ZYG3,1);ZYG5:=EMA(C,3);ZYG6:=EMA(C,26);
ZYG7:=ZYG5-ZYG6;DK:EMA(EMA(EMA(C,3),3),3)+ZYG7,COLORGREEN;IF(ZYG4>=REF(ZYG4,1),DK,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(ZYG4<=REF(ZYG4,1),DK,DRAWNULL),COLORGREEN;ZYG8:=HHV(VOL,5);ZYG9:=O>C;ZYG10:=C>O;ZYG11:=C=O;ZYG12:=SUM(VOL,5)/ZYG8;
ZYG13:=IF(ZYG12>0.3,1,0);ZYG14:=IF(ZYG9 AND ZYG13,VOL,0);ZYG15:=IF(ZYG10 AND ZYG13,VOL,0);ZYG16:=IF(ZYG11 AND ZYG13,VOL,0);
ZYG17:=SUM(ZYG15,3);ZYG18:=SUM(ZYG14,3);ZYG19:=ZYG17-ZYG18;STICKLINE(ZYG19=ZYG17,C,O,3.05,0),COLOR000099;STICKLINE(ZYG19=ZYG17,C,O,2.2,0),COLOR0000CC;
STICKLINE(ZYG19=ZYG17,C,O,1.5,0),COLORRED;STICKLINE(ZYG19=ZYG17,C,O,0.5,0),COLORYELLOW;
DRAWICON(ZYG19=ZYG17 AND REF(ZYG19=ZYG17,1)=0,LOW*0.98,30),COLORMAGENTA;ZYG20:=EMA(100*(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
ZYG21:=(REF(ZYG20,1)+REF(ZYG20,2)+REF(ZYG20,3))/3;ZYG22:=(REF(ZYG20,1)+REF(ZYG20,2)+REF(ZYG20,3)+REF(ZYG20,4)+REF(ZYG20,5)+REF(ZYG20,6)+REF(ZYG20,7)+REF(ZYG20,8)+REF(ZYG20,9)+REF(ZYG20,10))/10;
ZYG23:=ZYG20<80 AND ZYG21<80 AND ZYG22<80;ZYG24:=ZYG20>80 AND ZYG21>80 AND ZYG22>80;ZYG25:=ZYG22<ZYG20;ZYG26:=REF(C,1);
ZYG27:=SMA(MAX(C-ZYG26,0),2,1)/SMA(ABS(C-ZYG26),2,1)*100;ZYG28:=100*(HHV(HIGH,10)-C)/(HHV(HIGH,10)-LLV(LOW,10));
ZYG29:=100*(HHV(HIGH,6)-C)/(HHV(HIGH,6)-LLV(LOW,6));ZYG30:=CROSS(ZYG27,ZYG29) AND ZYG25;ZYG31:=ZYG27>75 AND ZYG29<5;DRAWICON(ZYG31 AND ZYG17>ZYG19,LOW*0.99,29),COLORYELLOW;
DRAWICON(ZYG30,LOW*0.98,28),COLORYELLOW;ZYG32:=WINNER(C*0.9)*100;ZYG33:=MA(ZYG32,10);ZYG34:=MA(ZYG32,3);ZYG35:=IF(ZYG33>ZYG34,ZYG34,ZYG33);
ZYG36:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;ZYG37:=EMA(C,12)-EMA(C,26);ZYG38:=EMA(ZYG37,9);ZYG39:=ZYG37>ZYG38;
ZYG40:=(C-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;ZYG41:=SMA(ZYG36,3,1);ZYG42:=SMA(ZYG41,3,1);ZYG43:=ZYG41>ZYG42;ZYG44:=REF(C,1);
ZYG45:=SMA(MAX(C-ZYG44,0),9,1)/SMA(ABS(C-ZYG44),9,1)*100;ZYG46:=SMA(MAX(C-ZYG44,0),26,1)/SMA(ABS(C-ZYG44),26,1)*100;
ZYG47:=ZYG45>ZYG46;ZYG48:=SMA(ZYG40,3,1);ZYG49:=SMA(ZYG48,3,1);ZYG50:=ZYG48>ZYG49;ZYG51:=(MA(C,3)+MA(C,9)+MA(C,12)+MA(C,26))/4;
ZYG52:=C>ZYG51;ZYG53:=C-REF(C,1);ZYG54:=100*EMA(EMA(ZYG53,9),9)/EMA(EMA(ABS(ZYG53),9),3);ZYG55:=100*EMA(EMA(ZYG53,26),12)/EMA(EMA(ABS(ZYG53),26),12);
ZYG56:=ZYG54>ZYG55;ZYG57:=ZYG39 AND ZYG43 AND ZYG47 AND ZYG50 AND ZYG52 AND ZYG56;ZYG58:=EMA(EMA(C,9),9);ZYG59:=100*WINNER(C*0.95);
ZYG60:=EMA(C,12)>EMA(C,50) AND EMA(C,20)>EMA(C,120);ZYG61:=(ZYG58-REF(ZYG58,1))/REF(ZYG58,1)*1000;ZYG62:=ZYG59>=50 AND COST(85)<=C AND ZYG61>0 AND ZYG61>REF(ZYG61,1);
ZYG63:=DMA((HIGH+LOW+C*2)/4,0.9);ZYG64:=VOL/((HIGH-LOW)*2-ABS(C-O));ZYG65:=IF(C>O,ZYG64*(HIGH-LOW),IF(C<O,ZYG64*(HIGH-O+C-LOW),VOL/2))+IF(C>O,0-ZYG64*(HIGH-C+O-LOW),IF(C<O,0-ZYG64*(HIGH-LOW),0-VOL/2));
ZYG66:=ZYG65/20/1.15;ZYG67:=ZYG66*0.55+REF(ZYG66,1)*0.33+REF(ZYG66,2)*0.22;ZYG68:=EMA(ZYG67,8);ZYG69:=EMA(ZYG67,3);ZYG70:=ZYG69;ZYG71:=MA(VOL,5);
ZYG72:=MA(VOL,10);ZYG73:=ZYG71>=ZYG72;ZYG74:=ZYG70>=0;ZYG75:=ZYG74 AND ZYG73;ZYG76:=ZYG57 OR ZYG75;ZYG77:=CROSS(REF(C,1),C);
ZYG78:=WINNER(C)*100;ZYG79:=REF(ZYG78,1)-ZYG78<=5;ZYG80:=CROSS(ZYG78,REF(ZYG78,1)) AND ZYG78<20;ZYG81:=ZYG79 OR ZYG78;DRAWTEXT_FIX(C>O,0.01,0.51,0,'更多精彩指标公式,请关注微信公众号:最新金钻指标'),COLORYELLOW;
ZYG82:=ZYG77 AND ZYG81;ZYG83:=(2*C+HIGH+LOW)/4;ZYG84:=LLV(LOW,5);ZYG85:=HHV(HIGH,5);ZYG86:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0);
ZYG87:=ZYG86=23;ZYG88:=BARSLAST(ZYG87)=1;ZYG89:=ZYG86<23;ZYG90:=ZYG88 AND ZYG89;ZYG91:=(BARSLASTCOUNT(ZYG86>0)=4)*30;ZYG92:=ZYG90 OR ZYG91;
ZYG93:=EMA(VOL,13);ZYG94:=EMA(AMOUNT,13);ZYG95:=ZYG94/ZYG93/100;ZYG96:=(C-ZYG95)/ZYG95*100;ZYG97:=ZYG96<0-18 OR ZYG96<0-6;
ZYG98:=ZYG97 AND ZYG92;ZYG99:=ZYG98 OR ZYG82;STICKLINE(ZYG99 AND ZYG22<80 AND ZYG35=ZYG33 AND ZYG76,LOW,O,3,0),COLORBLUE;
STICKLINE(ZYG99 AND ZYG22<80 AND ZYG35=ZYG33 AND ZYG76,C,O,3,0),COLORMAGENTA;ZYG100:=REF(LOW,1);
ZYG101:=SMA(ABS(LOW-ZYG100),3,1)/SMA(MAX(LOW-ZYG100,0),3,1)*100;ZYG102:=EMA(IF(C*1.3,ZYG101*10,ZYG101/10),3);ZYG103:=LLV(LOW,13);ZYG104:=HHV(ZYG102,13);
ZYG105:=IF(MA(C,34),1,0);ZYG106:=EMA(IF(LOW<=ZYG103,(ZYG102+ZYG104*2)/2,0),3)/618*ZYG105;ZYG107:=IF(ZYG106>100,100,ZYG106);
ZYG108:=ZYG107>15 AND ZYG76;ZYG109:=ZYG108 OR ZYG107=100;STICKLINE(ZYG109,LOW,O,3,0),COLORMAGENTA;STICKLINE(ZYG109,C,O,3,0),COLORBLUE;ZYG110:=EMA(C,2);
ZYG111:=EMA(SLOPE(C,21)*20+C,42);ZYG112:=IF(CROSS(ZYG110,ZYG111),LOW-0.02,DRAWNULL);ZYG113:=(LOW+HIGH+C*2)/4;ZYG114:=EMA(ZYG113,14);
ZYG115:=(ZYG114-REF(ZYG114,1))/REF(ZYG114,1)*100;ZYG116:=IF(ZYG115>=0,ZYG114,DRAWNULL);ZYG117:=IF(CROSS(ZYG112,0),5,0);
ZYG118:=IF(CROSS(ZYG116,0),10,0);ZYG119:=ZYG117 AND ZYG118;DRAWICON(ZYG119,LOW*0.99,1),COLORGREEN;DRAWICON(ZYG119,LOW*0.98,1),COLORGREEN;
ZYG120:=REF(C,1);ZYG121:=SMA(MAX(C-ZYG120,0),5,1)/SMA(ABS(C-ZYG120),5,1)*100;ZYG122:=CROSS(80,ZYG121);DRAWICON(ZYG122,HIGH*1.01,2),COLORGREEN;
DRAWICON(ZYG122,HIGH*1.02,2),COLORGREEN;ZYG123:=SMA(MAX(C-ZYG26,0),3,1)/SMA(ABS(C-ZYG26),3,1)*100;ZYG124:=EMA(C,3);ZYG125:=EMA(C,21);
DRAWICON(CROSS(ZYG124,ZYG125),LOW*0.97,38),COLORRED;DRAWICON(CROSS(88,ZYG123),HIGH*1.03,39),COLORYELLOW;ZYG126:=8;
ZYG127:=100*EMA(EMA(ZYG53,ZYG126),ZYG126)/EMA(EMA(ABS(ZYG53),ZYG126),ZYG126);ZYG128:=IF(LLV(ZYG127,2)=LLV(ZYG127,7) AND COUNT(ZYG127<0,2) AND CROSS(ZYG127,MA(ZYG127,2)),1,0);
DRAWICON(FILTER(ZYG128=1,5),LOW*0.99,7),COLORRED;ZYG129:=C-REF(C,1);ZYG130:=IF(C-REF(C,1)>=0,ZYG129,0);ZYG131:=REF(C,1)-C;ZYG132:=IF(C-REF(C,1)<=0,ZYG131,0);
ZYG133:=SUM(ZYG130,90)/SUM(ZYG132,90);ZYG134:=100-100/(1+ZYG133);ZYG135:=EMA(ZYG134,21);ZYG136:=EMA(ZYG135,5);ZYG137:=EMA(ZYG135,3);ZYG138:=(C*2+HIGH+LOW)/4;
ZYG139:=EMA(ZYG138,13)-EMA(ZYG138,21);ZYG140:=EMA(ZYG139,3);ZYG141:=EMA(ZYG139,10);ZYG142:=IF(ZYG140>=ZYG141,ZYG140,ZYG141);ZYG143:=IF(ZYG141-ZYG140,ZYG141,ZYG140);
ZYG144:=EMA(C,7)-EMA(C,21);ZYG145:=EMA(0.668*REF(ZYG144,1)+0.333*ZYG144,1);ZYG146:=IF(ZYG144>=ZYG145,ZYG144,ZYG145);ZYG147:=IF(ZYG145-ZYG144,ZYG145,ZYG144);
ZYG148:=ZYG142>ZYG143;ZYG149:=ZYG142=ZYG143;ZYG150:=ZYG146>ZYG147;ZYG151:=ZYG146=ZYG147;ZYG152:=ZYG151 AND ZYG149;ZYG153:=ZYG150 AND ZYG148;
STICKLINE(ZYG150,HIGH,LOW,0,0),COLORRED;STICKLINE(ZYG151,HIGH,LOW,0,0),COLORGREEN;STICKLINE(ZYG148,O,C,1,0),COLORRED;
STICKLINE(ZYG149,O,C,1,0),COLORGREEN;STICKLINE(ZYG153,O,C,2,0),COLORRED;STICKLINE(ZYG152,O,C,2,0),COLORBLUE;
ZYG154:=HHV(MA(HIGH,3),2);UP:LLV(MA(HIGH,3),1),COLORRED;DOWN:IF(ZYG154-UP>0,UP,DRAWNULL),COLORGREEN;ZYG155:=MA(REF(HHV((C+LOW+O+HIGH)/4,30),1),3);
STICKLINE(REF(COUNT(C<ZYG155,5)=5,1) AND C>ZYG155 AND C>O,C,O,2,0),COLORYELLOW;DRAWICON(REF(COUNT(C<ZYG155,5)=5,1) AND C>ZYG155 AND C>O,LOW,42),COLORRED;
ZYG156:=MA(C,60)>REF(MA(C,60),1);ZYG157:=COST(50);ZYG158:=WINNER(C)*100>50;ZYG159:=CROSS(C,ZYG157);ZYG160:=ZYG156 AND ZYG157 AND ZYG158 AND ZYG159 AND ZYG150;
STICKLINE(ZYG160,C,O,1,0),COLORMAGENTA;DRAWICON(ZYG160,LOW*0.99,44),COLORRED;ZYG161:=MA(C,10);ZYG162:=MA(C,54);STICKLINE(C/REF(C,1)>=1.096 AND HIGH=C,O,C,2,0),COLORYELLOW;
ZYG163:=EMA(C,5);ZYG164:=EMA(ZYG163,0);ZYG165:=HHV(MA(HIGH,3),2);ZYG166:=LLV(MA(HIGH,3),1);DRAWICON(ZYG166=ZYG165 AND REF(ZYG165,1)>REF(ZYG166,1) AND ZYG150,LOW,1);
DRAWICON(ZYG166<ZYG165 AND REF(ZYG166=ZYG165,1) AND ZYG151,HIGH*1.01,2);ZYG167:=MA(C,5)>MA(C,10) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,5)>REF(MA(C,5),1);
ZYG168:=100*(1-WINNER(C));ZYG169:=100-ZYG168;ZYG170:=CROSS(ZYG169,ZYG168);DRAWICON(ZYG170,LOW,25);ZYG171:=MA(C,5);ZYG172:=MA(C,13);ZYG173:=MA(C,34);ZYG174:=ZYG171>REF(ZYG171,1) AND ZYG172>REF(ZYG172,1) AND ZYG173>REF(ZYG173,1);
ZYG175:=EMA(C,3);ZYG176:=EMA(SLOPE(C,34)*5+C,21);ZYG177:=CROSS(ZYG175,ZYG176);ZYG178:=CROSS(ZYG175,ZYG176) AND ZYG174;ZYG179:=ZYG177>0;ZYG180:=ZYG178>0;ZYG181:=MA(C,34);ZYG182:=ZYG179 OR ZYG180;
ZYG183:=C>ZYG181 AND REF(C,1)<ZYG181;ZYG184:=CROSS(C,MA(C,250)) AND VOL>=REF(VOL,1)*2;ZYG185:=(C/REF(C,1)-1)*100>9.97 AND CROSS(C,MA(C,250));ZYG186:=ZYG184 OR ZYG185 OR ZYG183;
ZYG187:=ZYG182 AND ZYG170 AND ZYG186 AND ZYG167;STICKLINE(ZYG187,C,O,3.05,0),COLOR000099;STICKLINE(ZYG187,C,O,2.2,0),COLOR0000CC;STICKLINE(ZYG187,C,O,1.5,0),COLORRED;
STICKLINE(ZYG187,C,O,0.5,0),COLORYELLOW;VAR2:ZYG52 OR ZYG102 OR ZYG94 OR ZYG85 OR ZYG86 OR ZYG104 OR ZYG149,NODRAW;
VAR1:ZYG77 AND C/REF(C,1)>1.095 AND ZYG80 AND ZYG79 OR ZYG103 OR ZYG150 OR ZYG152 OR ZYG153 OR ZYG156 OR ZYG155 OR ZYG154 OR ZYG157,NODRAW;
VAR3:ZYG97 AND ZYG84 AND ZYG101 AND ZYG81,NODRAW;捉妖:VAR1 AND C/REF(C,1)>1.095,NODRAW;DRAWTEXT(TFILTER(捉妖,20,0),L*0.99,'←捉妖'),COLORYELLOW;
擒龙:VAR3>=1 AND C/REF(C,1)>1.095,NODRAW;DRAWTEXT(TFILTER(ZYG19=ZYG17,20,0) AND 擒龙 ,L*0.99,'←擒龙'),COLORRED;
趋势通道擒妖副图指标:
N:=1;ZYG1:=KDJ.K,COLORWHITE;ZYG2:=KDJ.D,COLORYELLOW;ZYG3:=KDJ.J,COLORMAGENTA;
ZYG4:=KDJ.K#WEEK,NODRAW;ZYG5:=KDJ.D#WEEK,NODRAW;ZYG6:=KDJ.J#WEEK,NODRAW;
日金叉:=CROSS(ZYG1,ZYG2) AND (ZYG2<40 OR ZYG2>60);周金叉:=CROSS(ZYG4,ZYG5) AND (ZYG5<40 OR ZYG5>60);
共振:=(周金叉 AND 日金叉);STICKLINE(共振,-30,100,3,0),COLORLIRED;DRAWTEXT((周金叉 AND 日金叉),-5,' 日周共振'),COLORYELLOW;
DRAWTEXT((周金叉 AND 日金叉),5,' K D J'),COLORYELLOW;DRAWICON((周金叉 AND 日金叉),-5,5);
ZYG7:STICKLINE(ZYG1>=ZYG2,88,85,5,0),COLORMAGENTA;ZYG8:STICKLINE(ZYG1<ZYG2,88,85,5,0),COLORLIBLUE;
ZYG9:STICKLINE(ZYG4>=ZYG5,-20,-25,5,0),COLORMAGENTA;DRAWTEXT_FIX(C>O,0.01,0.51,0,'更多精彩指标公式,请关注微信公众号:最新金钻指标'),COLORYELLOW;
ZYG10:STICKLINE(ZYG4<ZYG5,-20,-25,5,0),COLORLIBLUE;DRAWTEXT(ISLASTBAR,88,'__日线'),COLORYELLOW;DRAWTEXT(ISLASTBAR,-22,'__周线'),COLORYELLOW;
LC:=REF(CLOSE,1);RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,LINETHICK2;MA6:MA(RSI6,6),COLORGREEN;红线:IF(MA6>REF(MA6,1) OR RSI6>MA6,MA6,DRAWNULL),COLORRED,LINETHICK2;
XG:=ZYG1>=ZYG2 AND ZYG4>=ZYG5 AND 红线;黄柱:=BARSLASTCOUNT(XG)=1;STICKLINE(黄柱,88,-20,1,1),COLORYELLOW;
DRAWICON(黄柱,90,9);DRAWICON(黄柱,70,9);DRAWICON(黄柱,50,9);DRAWICON(黄柱,30,9);
DRAWICON(黄柱,10,9);DRAWICON(黄柱,-10,9);
第二部分 选股公式:
N:=1;ZYG1:=KDJ.K,COLORWHITE;ZYG2:=KDJ.D,COLORYELLOW;
ZYG3:=KDJ.J,COLORMAGENTA;ZYG4:=KDJ.K#WEEK;
ZYG5:=KDJ.D#WEEK;ZYG6:=KDJ.J#WEEK;
去科创板:=NOT(CODELIKE('688'));
日金叉:=CROSS(ZYG1,ZYG2) AND (ZYG2<40 OR ZYG2>60);
去1:=NOT(CODELIKE('8'));周金叉:=CROSS(ZYG4,ZYG5) AND (ZYG5<40 OR ZYG5>60);
共振:=(周金叉 AND 日金叉);去2:=NOT(CODELIKE('4'));ZYG7:=STICKLINE(ZYG1>=ZYG2,88,85,5,0),COLORMAGENTA;
去星星:=IF(NAMELIKE('*'),0,1);ZYG8:=STICKLINE(ZYG1<ZYG2,88,85,5,0),COLORLIBLUE;
ZYG9:=STICKLINE(ZYG4>=ZYG5,-20,-25,5,0),COLORMAGENTA;ZYG10:=STICKLINE(ZYG4<ZYG5,-20,-25,5,0),COLORLIBLUE;
LC:=REF(CLOSE,1);去ST:=IF(NAMELIKE('S'),0,1);RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
MA6:=MA(RSI6,6),COLORGREEN;条件限定:=去ST AND 去科创板 AND 去1 AND 去2 AND 去星星;红线:=IF(MA6>REF(MA6,1) OR RSI6>MA6,MA6,DRAWNULL);
XG:=ZYG1>=ZYG2 AND ZYG4>=ZYG5 AND 红线;BARSLASTCOUNT(XG)=1 AND 条件限定;
第三部分 使用方法:
本指标用于通达信连板妖股确定性会更大。主图捉妖信号,副图五钱袋共振为确定性的买点。卖点为偏离通道和端板。
第四部分 效果图展示
感兴趣可以私聊↑↑↑
找到一个好的老师,带你入门,安安心心练技术。
你也可以随时随地赚钱,自由潇洒的生活!
2. 本文章交流表达的观点和意见不代表本平台或本人(作者)的观点,也不承担任何相关法律责任。
3. 股市交流内容的真实性和准确性需自行核实,本平台或本人(作者)不对其内容进行保证。
4. 参与股市交流的个人需承担全部风险和责任,如导致投资损失或盈利等后果,本平台或本人概不负责。
5. 参与股市交流的个人需要遵守相关法律法规、自觉遵守诚信、规范交流,不得进行违法违规的股票交易等行为。
总之,股市交流仅为交流之用,并不构成交易建议或股票交易的任何形式的承诺。本平台或本人(作者)不承担任何因股市交流而产生的法律责任或连带责任。
END
👇👇欢迎关注👇👇
“标星置顶” 、“点赞” 、“转发” 、天天涨不停