去评论
彩虹桥投资充电站

我的捉妖股指标(附源码),带我走上捉妖之路。喜欢捉妖请转发!

A股小妖女
2023/09/09 13:25:04

近期题材股回暖,妖股丛生。我们知道妖股是市场做多情绪的核心焦点,它引领市场的投机情绪。所以,要买到妖股,选股是关键,通过对妖股的研究发现很多妖股都是热点题材同时流通盘相对较小的股票。其次是心态,因为妖股的驾驭不是那么容易的。大家都知道买到强势股容易,骑到最后难,大部分都是刚开始就轻易的被震出来了。

今天给大家讲一下如何快速有效的选出妖股,先通过选股公式找出目标标的,然后根据我上边提到的选妖股的方式进行再次筛选。

捉妖大师主图+小妖现副图

主副图共振时,是最强买卖点,这时我们一定要注意。

捉妖大师主图源码:

M1:=60;

STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;

MA1:MA(CLOSE,M1),COLORMAGENTA,LINETHICK2;

EMA13:=EMA(C,13),COLORWHITE;

EMA21:=EMA(C,21),COLORYELLOW;

EMA34:=EMA(C,34),COLORFF00FF;

EMA60:=MA(C,60),COLORFFCC66;

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

VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);

VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);

散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;

庄家:=EMA(0.777*REF(散户,1)+0.333*散户,2)*VAR3;

DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←低吸'),COLORLIRED;

DRAWTEXT(CROSS(庄家,散户) AND 散户>85,H+0.05,'←高抛'),COLORGREEN;

DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);

DRAWICON(CROSS(庄家,散户) AND 散户>85,H+0.05,2);

A0:=(L+H+C*2)/4;

A1:EMA(A0,14)COLORWHITE ,LINETHICK2;

A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;

A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;

A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;

买入持股:IF(A1X>=0,A1,DRAWNULL)COLORRED ,LINETHICK3;

卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3;

STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLORYELLOW ;

STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLORYELLOW ;

STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLORYELLOW ;

STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLORYELLOW ;

MA5:MA(C,5),LINETHICK0,COLORFF00FF;

MA20:=MA(C,20);

MA30:=MA(C,30);

MA120:=SMA(C,120,1);

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

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

QSXS1:=MA5>REF(MA5,1);

QSXS2:=MA20>REF(MA20,1);

QSXS3:=MA30>REF(MA30,1);

DTPL:=MA20>MA30 AND MA30>MA120;

LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;

GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));

买1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);

DRAWTEXT(FILTER(买1=1,5),LOW-0.03,'▲ 买'),COLORYELLOW;

卖1:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);

DRAWTEXT(FILTER(卖1=1,5),HIGH*1.025,'● 卖'),COLOR00FF00;

VAR6:=REF(C,1);

VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;

DRAWTEXT(CROSS(84,VAR7),H*1.01,'注意'),COLORFFFF00;

STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;

STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORCYAN;

小妖现副图源码:

V1:=MA(C,3)=HHV(MA(C,3),7);

V2:=MA(C,3)>MA(C,5);

LC20:=REF(CLOSE,1);

RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;

STICKLINE(CROSS(RSI20,11)*1,-10,20,2,0),COLORYELLOW;

VAR3A:=3;

VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

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

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);

加仓:IF(FILTER(YXF=1,5),20,-10),STICK,LINETHICK3;

A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV

(L,55))*100,5,1);

FY:=EMA(A51,5);

A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

VAR2:=TROUGHBARS(3,15,1)<10;

VAR3:=PEAKBARS(3,15,1)<5;

VAR4:=IF(VAR2=1,50,0);

VAR5:=IF(VAR3=1,50,0);

底部:=IF(VAR4=50,10,0);

头部:=IF(VAR5=50,20,60);

未来买入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0),COLOR0000CC,LINETHICK2;

未来卖出:IF(头部=20 AND REF(头部,1)=20 AND REF(头部,2)=60,20,60),COLORGREEN,LINETHICK2;

参考买入延迟线:底部,LINETHICK1 ,COLORMAGENTA;

LT:=100;

LU:=0;

LV:=38.2;

LA:=REF(CLOSE,1);

LB:=((SMA(MAX((CLOSE - LA),0),5,1) / SMA(ABS((CLOSE - LA)),5,1)) * 100);

LC:=(HIGH - REF(HIGH,1));

LD:=(REF(LOW,1) - LOW);

{通达信股票指标公式}

LE:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);

LF:=SUM(IF(((LC > 0) AND (LC > LD)),LC,0),10);

LG:=SUM(IF(((LD > 0) AND (LD > LC)),LD,0),10);

LH:=((LF * 100) / LE);

LI:=((LG * 100) / LE);

LJ:=MA(((ABS((LI - LH)) / (LI + LH)) * 100),5);

AV:=(LB + LJ);

LK:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));

LL:=(LB - LK);

LM:=(AV + LL);

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

LP:=LLV(LOW,34);

LQ:=HHV(HIGH,34);

LR:=EMA((((LO - LP) / (LQ - LP)) * 100),13);

LS:=EMA(((0.667 * REF(LR,1)) + (0.333 * LR)),2);

向导线:=LLV(LM,1);

STICKLINE((向导线>225),95,90,4,1),COLORFFCC00;

STICKLINE((向导线>235),100,95,4,1),COLORRED;

STICKLINE(CROSS(235,向导线),100,90,4,1),COLOR00FF00;

STICKLINE((LM<(0-1)),0,5,4,1),COLOR00FF00;

STICKLINE((LM<(0-5)),5,10,4,1),COLORYELLOW;

STICKLINE(CROSS(向导线,(0-3)),0,10,4,1),COLORRED;

BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;

乖离:=MA(BIAS,3);

底一:IF(乖离<-12 AND 乖离>=-18,-4,0), COLORCYAN,LINETHICK1;

STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,0) , COLORCYAN;

底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1;

STICKLINE(乖离<-18,3,0,6,0),COLORFF35FF;

底三:IF(乖离<-6,5,0),COLORRED,LINETHICK1;

STICKLINE(乖离<-6,5,3,2,1),COLORRED;

底四:IF(乖离<-4.5,0,0),COLOR00FFFF,LINETHICK1;

STICKLINE(乖离<-4.5,0,1,3,1),COLOR00FFFF;

买:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG

(3,5),2)<=REF(ZIG(3,5),3));

卖:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG

(3,5),2)>=REF(ZIG(3,5),3));

STICKLINE((买=1),(-10),0,1,0),COLOR0000FF;

DRAWTEXT((买=1),(-12),'小妖现'),COLOR0000FF;

STICKLINE((卖=1),10,0,1,0),COLOR00FF00;

DRAWTEXT((卖=1),19,'卖'),COLOR00FF00;

VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'大资金活动'),LINETHICK1,COLORFF00FF;

STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF;

VAR12:=(HIGH+LOW+CLOSE)/3;

VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));

VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));

VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);

VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);

VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

VAR18:=100-ABS(VAR17);

VAR19:=IF(VAR18<90,VAR18,100);

VAR1A:=IF(VARE>0,VARE,0);

VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;

VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;

P1:=5;

P2:=4;

VARA:=LLV(LOW,P1);

VARB:=HHV(HIGH,P1);

K: EMA((CLOSE-VARA)/(VARB-VARA)*100,P2),COLORLIMAGENTA;

D: EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE;

指标只是我们选股道路中的一个工具,不是万能,但没有指标又万万不能,所以选出股票我们一定要进行二次筛选。

喜欢的朋友可以收藏,转发。 后边会继续分享其他东西,有问题的可以留言交流。欢迎点赞、关注!! 希望能帮到你们。

  • 破解源码(年卡、至尊会员专享区)决胜千里主图指标公式 战略投资者们的福音
  • 破解源码(年卡、至尊会员专享区)多维度托压多空信号指示,高成功率的主图指
  • 破解源码(年卡、至尊会员专享区)通达信主浪战法终极版主图指标公式
  • 破解源码(年卡、至尊会员专享区)黄金分割通道指标公式 具有显著的抓牛股的
  • 破解源码(年卡、至尊会员专享区)战神之王通达信指标公式 无未来函数,信号
  • 破解源码(年卡、至尊会员专享区)通达信《大盘资金进出》副参考大盘趋势走向