趋势红牛系统主图附图选股排序指标龙空龙思路红牛趋势主升信号

财富   2024-09-01 14:08   江西  

红牛股票分析指标套装,专为投资者设计,确保交易决策更加精准。

该套装包括两个主图指标、六个附图指标以及两个选股指标,所有信号均稳定可靠,不会发生漂移,

适用于手机和电脑两种设备。

需要注意的是,由于主趋势MACD指标使用了周期函数,该功能在手机端无法导入,但其他指标均可正常使用。这些信号提供的是参考信息,投资者应结合自身分析进行操作。 

在使用上,红牛初选指标非常适合在交易日的尾盘阶段进行股票筛选,帮助投资者捕捉潜在的交易机会。

而红牛妖股预警指标则适用于盘中实时监控,一旦出现异常波动或潜在的机会,能够及时发出预警,让投资者能够迅速做出反应。

此外,还有一个综合排序附图指标,它专门用于尾盘时的股票排序,以确定哪些股票具有更高的交易价值。

为了获得最佳效果,建议投资者在每日交易结束前的14点50分左右进行排序操作,这样可以更有效地利用这些指标进行投资决策。

总之,这套指标为投资者提供了一个全面、多维度的市场分析工具,助力投资者在波动的市场中稳健前行。信号统计后每天出的股不多,其中红牛妖股预警胜率86%,红牛初选胜率也是86%,仅供参考

趋势红牛主图

MA233:=MA(CLOSE,233);

STICKLINE(C>0,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;

STICKLINE(C>MA233,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

STICKLINE(控盘<0,C,O,3,0),COLORWHITE;

A10:=CROSS(控盘,0);

空仓:=IF(控盘<0,控盘,0),COLORWHITE,NODRAW;

做多:=IF(A10,5,0),LINETHICK1,COLORBROWN;

STICKLINE(控盘>REF(控盘,1) AND 控盘>0,C,O,3,0),COLORRED;

红色持有:=IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;

VAR2:=100*WINNER(CLOSE*0.95);

STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,C,O,3,0),COLORFF00FF;

加速拉升:=IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;

STICKLINE(控盘<REF(控盘,1) AND 控盘>0,C,O,3,0),COLOR00FF00;

高位减仓:=IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;

DRAWICON( CROSS(CCI,-200),L,9);

抄底:=CROSS(CCI,-200);

DRAWTEXT(抄底  ,L*0.93,'★抄底'),COLORRED;

STICKLINE(抄底,L*0.99,L*0.94,1.5,1),COLORGREEN;

STICKLINE(抄底,L*0.99,L*0.97,1.5,0),COLORYELLOW;

STICKLINE(抄底,L*0.96,L*0.94,1.5,0),COLORRED;

AAAZ:=(3*C+H+L+O)/6;

VAR101:=(8*AAAZ+7*REF(AAAZ,1)+6*REF(AAAZ,2)+5*REF(AAAZ,3)+4*REF(AAAZ,4)+3*REF(AAAZ,5)+2*REF(AAAZ,6)+REF(AAAZ,8))/36;

VAR201:=(HHV(VAR101,5)+HHV(VAR101,10)+HHV(VAR101,20))/3;

VAR301:=(LLV(VAR101,5)+LLV(VAR101,10)+LLV(VAR101,20))/3;

VAR401:=(HHV(VAR201,5)+HHV(VAR201,10)+HHV(VAR201,20))/3;

VAR501:=(LLV(VAR301,5)+LLV(VAR301,10)+LLV(VAR301,20))/3;

VAR601:=(LLV(VAR101,2)+LLV(VAR101,4)+LLV(VAR101,6))/3;

红线持股:VAR101,COLORRED,LINETHICK3;

IF(红线持股>REF(红线持股,1),红线持股,DRAWNULL),COLORRED,LINETHICK3;

IF(红线持股<REF(红线持股,1),红线持股,DRAWNULL),COLORGREEN,LINETHICK4;

大趋势线:MA(CLOSE,233),COLORGREEN,LINETHICK3;

IF(大趋势线>REF(大趋势线,1),大趋势线,DRAWNULL),COLORRED,LINETHICK3;


QUI:=H=C;

A:=(C-REF(C,1))/REF(C,1)*100>=9.91  AND QUI,NODRAW;

B:=BARSLAST(A),NODRAW;

B1:=REF(BARSLAST(A),1),NODRAW;

AC:=REF(C,B),NODRAW;

AO:=REF(O,B),NODRAW;

AZ:=(AC+AO)/2,NODRAW;

XX2:=CROSS(AZ,L) AND C<O AND C<REF(C,1) AND B1>=3 AND B1<=10  AND (C-REF(C,1))/REF(C,1)*100>-6 NODRAW;

XX2A:=FILTER(XX2,30);

DRAWTEXT(XX2A  ,L*0.93,'★尾盘低吸'),COLORGREEN;

STICKLINE(XX2A,L*0.99,L*0.94,1.5,1),COLORYELLOW;

STICKLINE(XX2A,L*0.99,L*0.97,1.5,0),COLORYELLOW;

STICKLINE(XX2A,L*0.96,L*0.94,1.5,0),COLORGREEN;


T:=150;

TT:=3;

AMOV:=VOL*(OPEN+CLOSE)/2;

成本价:=SUM(AMOV,5)/SUM(VOL,5),LINETHICK1,COLOR209FFF;

高1:=REF(HHV(H,T),TT); 

低1:=REF(LLV(L,T),TT);

H1:=高1-(高1-低1)*0.191; 

H2:=高1-(高1-低1)*0.382;

H3:=高1-(高1-低1)*0.5; 

H4:=高1-(高1-低1)*0.618; 

H5:=高1-(高1-低1)*0.809;

顶:REFDATE(高1,DATE),COLORFFFF00;

一:REFDATE(H1,DATE),DOTLINE,COLORYELLOW;

二:REFDATE(H2,DATE),DOTLINE,COLORMAGENTA;

三:REFDATE(H3,DATE),DOTLINE,COLOR00FFFF;

四:REFDATE(H4,DATE),DOTLINE,COLORMAGENTA;

五:REFDATE(H5,DATE),DOTLINE,COLORYELLOW;

低:REFDATE(低1,DATE),COLOR00FF00;

{TT3:=(CURRBARSCOUNT=5);}

TT4:=(CURRBARSCOUNT=1);

{DRAWNUMBER(TT3 AND 顶,顶,顶),COLOR999900;}

DRAWTEXT(TT4 AND 顶,顶,'顶'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 一,一,一),COLOR999999;}

DRAWTEXT(TT4 AND 一,一,'0.809'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 二,二,二),COLOR999999;}

DRAWTEXT(TT4 AND 二,二,'0.618'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 三,三,三),COLOR999999;}

DRAWTEXT(TT4 AND 三,三,'0.5'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 四,四,四),COLOR999999;}

DRAWTEXT(TT4 AND 四,四,'0.382'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 五,五,五),COLOR999999;}

DRAWTEXT(TT4 AND 五,五,'0.191'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 低,低*1.01,低),COLOR999900;}

DRAWTEXT(TT4 AND 低,低*1.009,'底'),COLOR208FFF;


AZ1:=C>REF(C,4);

NT:=BARSLASTCOUNT(AZ1);

TJ11:=NT=9;

TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);

AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;

DRAWTEXT(AY>0,H*1.002,VAR2STR(AY,0)),COLORFF00FF;

DRAWTEXT(NT=9,H*1.002,'9'),COLORGREEN;

BZ1:=C<REF(C,4);

NT0:=BARSLASTCOUNT(BZ1);

TJ21:=NT0=9 ;

TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);

AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;

DRAWTEXT(AY1>0,L*0.998,VAR2STR(AY1,0)),COLORFF00FF;

DRAWTEXT(NT0=9,L*0.998,'9'),COLORGREEN;

VAR0:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;

DRAWTEXT(CROSS(82,VAR0),H*1.01,'|||快卖'),COLORWHITE;

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

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

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


红牛金山副图

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

A10:=CROSS(控盘,0);

做多:=IF(A10,5,0);


X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,20);

X_3:=MA(CLOSE,30);

X_4:=MA(CLOSE,54);

X_5:=MA(CLOSE,60);

X_6:=MA(CLOSE,120);

X_7:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_8:=FILTER(X_7,10);

X_9:=BARSLAST(X_8);

X_10:=REF(HIGH,X_9+2);

X_11:=REF(HIGH,X_9+1);

X_12:=REF(HIGH,X_9);

X_13:=MAX(X_10,X_11);

X_14:=MAX(X_13,X_12);

X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_16:=X_9<150;

X_17:=(OPEN-X_14)/X_14*100<30;

X_18:=(CLOSE-LLV(LOW,X_9))/LLV(LOW,X_9)*100<50;

X_19:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_20:=VOL/MA(VOL,5)<3.5;

X_21:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_22:=X_15 AND X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21;

X_23:=FILTER(X_22,15);

X_24:=(CLOSE-X_4)/X_4<0.1;

X_25:=(CLOSE-X_1)/X_1<0.3;

X_26:=(X_24=1 AND X_25=1)*0.2;

X_27:=(X_26=0 AND REF(X_26,1)=0.2 AND REF(COUNT(X_26=0.2,10)=10,1)=1)*(-0.1);

X_28:=X_27=(-0.1);

X_29:=X_23 OR X_28;

X_30:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

X_31:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_32:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

妖股:=X_29 AND CLOSE/REF(CLOSE,1)>1.095 AND X_32 AND X_31;




LCZ:=REF(CLOSE,1); 

RSIZ:=((SMA(MAX((CLOSE - LCZ),0),3,1) / SMA(ABS((CLOSE - LCZ)),3,1)) * 100); 

FF:=EMA(CLOSE,3); 

MA15:=EMA(CLOSE,21); 

VAR91:=IF(YEAR>=2038 AND MONTH>=1,0,1); 

VAR92:=REF(LOW,1)*VAR91; 

VAR93:=SMA(ABS(LOW-VAR92),3,1)/SMA(MAX(LOW-VAR92,0),3,1)*100*VAR91; 

VAR94:=EMA(IF(CLOSE*1.3,VAR93*10,VAR93/10),3)*VAR91; 

VAR95:=LLV(LOW,30)*VAR91; 

VAR96:=HHV(VAR94,30)*VAR91; 

VAR97:=IF(MA(CLOSE,58),1,0)*VAR91; 

VAR98:=EMA(IF(LOW<=VAR95,(VAR94+VAR96*2)/2,0),3)/618*VAR97*VAR91; 

吸筹:=IF(VAR98>100,100,VAR98)*VAR91,COLORFFC0CB; 

庄家吸筹:STICKLINE(吸筹>-150,0,吸筹*0.05,5,0),COLORRED; 

VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;

VAR10:=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);{微信公众号—指标公社}

VAR11:=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);

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

DRAWTEXT(VAR12 AND COUNT(VAR12,30)=1,0.6,'—大资金!');

资金进场:VAR12 AND COUNT(VAR12,30)=1,NODRAW;

STICKLINE(资金进场,0,2,3,0),COLORBLUE;


MA5:=MA(CLOSE,5);

MA13:=MA(CLOSE,13);

MA21:=MA(CLOSE,21);

MA34:=MA(CLOSE,34);

MA55:=MA(CLOSE,55);

MA144:=MA(CLOSE,144);

MA233:=MA(CLOSE,233);


DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

V144:=MA(V,144);


TJ1:=CROSS(V,V144);

TJ2:=C>MA233 AND C/MA233<1.15;

TJ3:=做多=5 AND MA233>REF(MA233,1);

TJ4:=妖股=1;

金山红牛:C<30 AND TJ2 AND TJ3 AND TJ4,NODRAW;


S1:=IF(CODELIKE('688'),0,1);

S2:=IF(NAMELIKE('S'),0,1);

S3:=IF(NAMELIKE('*'),0,1);


TJ5:=S1 AND S2 AND S3;

红牛初选:C<30 AND TJ2 AND TJ4 AND TJ5,NODRAW;

STICKLINE(红牛初选,0,2,3,0),COLORWHITE;

STICKLINE(红牛初选,0,2.2,1.3,0),COLORRED;

DRAWTEXT(红牛初选,0.8,'——红牛'),COLORWHITE;


STICKLINE(金山红牛,0,3,2,0),COLORYELLOW;

STICKLINE(金山红牛,0.3,0.5,2,0),COLORRED;

STICKLINE(金山红牛,2.7,2.5,2,0),COLORRED;

DRAWTEXT(金山红牛,1.5,'——金山红牛'),COLORWHITE;

{板块市值业绩}

所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT(' [行业]—',HYBLOCK),STRCAT(' [地域]—',DYBLOCK)),STRCAT(' [概念]—',GNBLOCK)));


总股本:=STRCAT(STRCAT(' 总股本:',CON2STR(TOTALCAPITAL/1000000,2)),'亿');

流通盘:=STRCAT(STRCAT(' 流通盘:',CON2STR(CAPITAL/1000000,2)),'亿');

全流通:=STRCAT(STRCAT(' 全流通:',CON2STR(CAPITAL/TOTALCAPITAL*100,2)),'%');

市值:=STRCAT(STRCAT(' 流通市值:',CON2STR((CAPITAL/1000000)*C,2)),'亿');

上市日期:=STRCAT(' 上市日期: ',CON2STR(HHV((BARSCOUNT(C)=0)*(DATE+19000000),0),0));

股本市值:=STRCAT('【股本市值】',STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),上市日期));


市盈率:=STRCAT(' 市盈率:',CON2STR(C/FINANCE(33),2));

市销率:=STRCAT(' 市销率:',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));

市净率:=STRCAT(' 市净率:',CON2STR(C/FINANCE(34),2));

净资收益率:=STRCAT(' 净资收益率:',CON2STR(FINANCE(33)/FINANCE(34)*100,2));

毛利率:=STRCAT(' 毛利率:',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));

净利润率:=STRCAT(' 净利率:',CON2STR(FINANCE(30)/FINANCE(20)*100,2));

主营利润率:=STRCAT(' 主营利润率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2));

当前业绩:=STRCAT('【当前业绩】',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率));

DRAWTEXT_FIX(ISLASTBAR,0.005,0.2,0,所属板块),COLORMAGENTA;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.4,0,股本市值),COLORMAGENTA;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.6,0,当前业绩),COLORMAGENTA;


趋势主升量副图

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));

MTIME:=MOD(FROMOPEN,TOTAL);

CTIME:=IF(MTIME<0.5,TOTAL,MTIME);

VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;

STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;

VOLUME:VOL,VOLSTICK;

主升量:MA(VOLUME,144),COLORLIBLUE,LINETHICK3;

主升:=CROSS(VOLUME,主升量) AND V/REF(V,1)>1.9;

STICKLINE(主升,0,VOLUME,2.2,0),COLORYELLOW;

STICKLINE(主升,0,VOLUME*1.2,2,0),COLORRED;

STICKLINE(主升,0,VOLUME*1.4,0.3,0),COLORYELLOW;

DRAWTEXT(主升,VOLUME*1.2,'主升量'),COLORWHITE;

STICKLINE(V>主升量,0,VOLUME,2.2,0),COLORYELLOW;


主趋势MACD副图


DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORGREEN;

DEA:EMA(DIF,9),COLORBLUE;

MACD:(DIF-DEA)*2,COLORSTICK;

IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK2;

IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORRED,LINETHICK2;

STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,0.05,0),COLORLIBLUE,LINETHICK2;

STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,0.05,0),COLORFF00FF,LINETHICK2;


NH:=REF(DIF,3)>=REF(DIF,2) AND REF(DIF,2)>=REF(DIF,1) AND DIF>REF(DIF,1)*1.1;

NH1:=ABS((REF(DIF,1)-REF(DEA,1))/REF(DIF,1))<=0.2;

DT:=REF(DIF,2)>REF(DEA,2) AND REF(DIF,1)>=REF(DEA,1) AND DIF>DEA;

NLZ:=MACD>REF(MACD,1) AND DIF>0;

NLZ1:=MACD>REF(MACD,1) AND DIF<0;

将死不死1:=(NH1 AND NH AND DT AND NLZ);

将死不死0:=(NH1 AND NH AND DT AND NLZ1);

将死不死:将死不死1 OR 将死不死0,NODRAW;

DRAWICON(将死不死,DEA-0.01,38);

DRAWICON(将死不死,DEA-0.03,38);

DRAWICON(CROSS(DIF,DEA),DEA,9);

DRAWICON(CROSS(DEA,DIF),DIF,15);

AB1:=BARSLAST(REF(CROSS(DIF,DEA),1));

底背离:=REF(CLOSE,AB1+1)>CLOSE AND DIF>REF(DIF,AB1+1) AND CROSS(DIF,DEA);

DRAWLINE(AB1=0,DEA,底背离,DEA,0),COLORYELLOW,LINETHICK1;

AB2:=BARSLAST(REF(CROSS(DEA,DIF),1));

顶背离:=REF(CLOSE,AB2+1)<CLOSE AND REF(DEA,AB2+1)>DEA AND CROSS(DEA,DIF);

DRAWLINE(AB2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK1;

DRAWTEXT(底背离>0,DEA,'底背离'),COLORYELLOW;

DRAWTEXT(顶背离>0,DEA,'顶背离'),COLORGREEN;

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);

OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);

OBV2:=EMA(OBV1,3)-MA(OBV1,9);

OBV3:=EMA(IF(OBV2>0,OBV2,0),3);

MAC3:=MA(C,3);

SHORT:=12;LONG:=26;MID:=9;

STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,MACD,2,0),COLORYELLOW;

{持币:STICKLINE((SAR(10,2,20)>=H),MACD,0,1.5,0),COLORGREEN;

持股:STICKLINE((SAR(10,2,20)<=L),0,MACD,1.5,0),COLORYELLOW;}


ZSC:=CROSS(DEA#WEEK,DIF#WEEK);

ZSC1:=CROSS(DEA,DIF);

PC:=IF(EXISTR(ZSC,7,1),0,1);

PC1:=IF(EXISTR(ZSC1,7,1),0,1);

Q1:=MACD<0 AND MACD>REF(MACD ,1) AND

REF(MACD ,1)<REF(MACD ,2) AND REF(MACD ,2)<REF(MACD ,3)

AND REF(MACD ,3)<REF(MACD ,4);

SCL:=EXISTR(CROSS(DEA,DIF),9,1);

C1:=BARSLAST(REF(Q1,1));

C2:=REF(MACD,C1+1)<MACD AND Q1 AND DIF<0 ;

TJ:=MACD>0;T:=MACD<0;

A:=LLV(MACD,50)=MACD;

DRAWICON(A AND FILTERX(A,20), MACD,1);

DRAWTEXT(BARSLAST(TJ)=1,MACD,'1'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=2,MACD,'2'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=3,MACD,'3'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=5,MACD,'5'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=8,MACD,'8'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=13,MACD,'13'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=21,MACD,'21'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=34,MACD,'34'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW;

DRAWTEXT(BARSLAST(T)=1,MACD,'1'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=2,MACD,'2'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=3,MACD,'3'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=5,MACD,'5'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=8,MACD,'8'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=13,MACD,'13'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=21,MACD,'21'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=34,MACD,'34'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=55,MACD,'55'),COLORGREEN;


X_1:=(CLOSE-EMA(CLOSE,5))/EMA(CLOSE,5)*100;

X_2:=(CLOSE-EMA(CLOSE,10))/EMA(CLOSE,10)*100;

X_3:=(CLOSE-EMA(CLOSE,20))/EMA(CLOSE,20)*100;

X_4:=(CLOSE-EMA(CLOSE,60))/EMA(CLOSE,60)*100;

X_5:=(CLOSE-EMA(CLOSE,120))/EMA(CLOSE,120)*100;

X_6:=X_1>1 AND X_2>2 AND X_3>3 AND X_4>4;

X_7:=X_1>2 AND X_2>4 AND X_3>6 AND X_4>8;

X_8:=X_1>3 AND X_2>5 AND X_3>7 AND X_4>9;

X_9:=X_1>4 AND X_2>6 AND X_3>8 AND X_4>10 AND X_5>12;

X_10:=BARSLASTCOUNT(X_7)=1 AND CROSS(CLOSE,EMA(CLOSE,50)*1.19) AND HIGH/CLOSE<1.05;{公众号—通达信指标爱好者}

小鱼:BARSLASTCOUNT(X_6),NODRAW,COLORWHITE;

红鱼:BARSLASTCOUNT(X_7),NODRAW,COLORRED;

紫鱼:BARSLASTCOUNT(X_8),NODRAW,COLORMAGENTA;

黄鱼:BARSLASTCOUNT(X_9),NODRAW,COLORYELLOW;


红牛初选副图

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

A10:=CROSS(控盘,0);

做多:=IF(A10,5,0);


X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,20);

X_3:=MA(CLOSE,30);

X_4:=MA(CLOSE,54);

X_5:=MA(CLOSE,60);

X_6:=MA(CLOSE,120);

X_7:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_8:=FILTER(X_7,10);

X_9:=BARSLAST(X_8);

X_10:=REF(HIGH,X_9+2);

X_11:=REF(HIGH,X_9+1);

X_12:=REF(HIGH,X_9);

X_13:=MAX(X_10,X_11);

X_14:=MAX(X_13,X_12);

X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_16:=X_9<150;

X_17:=(OPEN-X_14)/X_14*100<30;

X_18:=(CLOSE-LLV(LOW,X_9))/LLV(LOW,X_9)*100<50;

X_19:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_20:=VOL/MA(VOL,5)<3.5;

X_21:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_22:=X_15 AND X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21;

X_23:=FILTER(X_22,15);

X_24:=(CLOSE-X_4)/X_4<0.1;

X_25:=(CLOSE-X_1)/X_1<0.3;

X_26:=(X_24=1 AND X_25=1)*0.2;

X_27:=(X_26=0 AND REF(X_26,1)=0.2 AND REF(COUNT(X_26=0.2,10)=10,1)=1)*(-0.1);

X_28:=X_27=(-0.1);

X_29:=X_23 OR X_28;

X_30:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

X_31:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_32:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

妖股:=X_29 AND CLOSE/REF(CLOSE,1)>1.095 AND X_32 AND X_31;



MA5:=MA(CLOSE,5);

MA13:=MA(CLOSE,13);

MA21:=MA(CLOSE,21);

MA34:=MA(CLOSE,34);

MA55:=MA(CLOSE,55);

MA144:=MA(CLOSE,144);

MA233:=MA(CLOSE,233);


DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

V144:=MA(V,144);


S1:=IF(CODELIKE('688'),0,1);

S2:=IF(NAMELIKE('S'),0,1);

S3:=IF(NAMELIKE('*'),0,1);


TJ1:=CROSS(V,V144);

TJ2:=C>MA233 AND C/MA233<1.15;

TJ3:=做多=5 AND MA233>REF(MA233,1);

TJ4:=妖股=1;

TJ5:=S1 AND S2 AND S3;

红牛初选:C<60 AND TJ2 AND TJ4 AND TJ5,COLORYELLOW,LINETHICK3;;


红牛妖股副图

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

A10:=CROSS(控盘,0);

做多:=IF(A10,5,0);


X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,20);

X_3:=MA(CLOSE,30);

X_4:=MA(CLOSE,54);

X_5:=MA(CLOSE,60);

X_6:=MA(CLOSE,120);

X_7:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_8:=FILTER(X_7,10);

X_9:=BARSLAST(X_8);

X_10:=REF(HIGH,X_9+2);

X_11:=REF(HIGH,X_9+1);

X_12:=REF(HIGH,X_9);

X_13:=MAX(X_10,X_11);

X_14:=MAX(X_13,X_12);

X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_16:=X_9<150;

X_17:=(OPEN-X_14)/X_14*100<30;

X_18:=(CLOSE-LLV(LOW,X_9))/LLV(LOW,X_9)*100<50;

X_19:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_20:=VOL/MA(VOL,5)<3.5;

X_21:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_22:=X_15 AND X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21;

X_23:=FILTER(X_22,15);

X_24:=(CLOSE-X_4)/X_4<0.1;

X_25:=(CLOSE-X_1)/X_1<0.3;

X_26:=(X_24=1 AND X_25=1)*0.2;

X_27:=(X_26=0 AND REF(X_26,1)=0.2 AND REF(COUNT(X_26=0.2,10)=10,1)=1)*(-0.1);

X_28:=X_27=(-0.1);

X_29:=X_23 OR X_28;

X_30:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

X_31:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_32:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

妖股预警:=X_29 AND CLOSE/REF(CLOSE,1)>1.03 AND X_32 AND X_31;{涨幅由原设定9.5%改为3%}


MA5:=MA(CLOSE,5);

MA13:=MA(CLOSE,13);

MA21:=MA(CLOSE,21);

MA34:=MA(CLOSE,34);

MA55:=MA(CLOSE,55);

MA144:=MA(CLOSE,144);

MA233:=MA(CLOSE,233);


DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

V144:=MA(V,144);


S1:=IF(CODELIKE('688'),0,1);

S2:=IF(NAMELIKE('S'),0,1);

S3:=IF(NAMELIKE('*'),0,1);


TJ1:=CROSS(V,V144);

TJ2:=C>MA233 AND C/MA233<1.15;

TJ3:=做多=5 AND MA233>REF(MA233,1);

TJ4:=妖股预警=1;

TJ5:=S1 AND S2 AND S3;

角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);


角线MA:=MA(角线,5);


ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA),COLORRED;


ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA),COLORFF00FF ;


角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB<-60 OR LLV("KDJ.J",3)<=-49) AND ANB>0)),COLORGREEN;



红牛初选:=C<60 AND TJ2 AND TJ4 AND TJ5 AND V>0,COLORRED;

金山红牛:=C<60 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND V>0;


红牛妖股预警:妖股预警 AND 红牛初选 {AND 金山红牛},COLORRED,LINETHICK3;;


趋势黄金主图

MA233:=MA(CLOSE,233);

STICKLINE(C>0,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;

STICKLINE(C>MA233,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;

主趋势线:=EMA(EMA(C,10),10),COLORRED,LINETHICK3;

AAAZ:=(3*C+H+L+O)/6;

VAR101:=(8*AAAZ+7*REF(AAAZ,1)+6*REF(AAAZ,2)+5*REF(AAAZ,3)+4*REF(AAAZ,4)+3*REF(AAAZ,5)+2*REF(AAAZ,6)+REF(AAAZ,8))/36;

VAR201:=(HHV(VAR101,5)+HHV(VAR101,10)+HHV(VAR101,20))/3;

VAR301:=(LLV(VAR101,5)+LLV(VAR101,10)+LLV(VAR101,20))/3;

VAR401:=(HHV(VAR201,5)+HHV(VAR201,10)+HHV(VAR201,20))/3;

VAR501:=(LLV(VAR301,5)+LLV(VAR301,10)+LLV(VAR301,20))/3;

VAR601:=(LLV(VAR101,2)+LLV(VAR101,4)+LLV(VAR101,6))/3;

DRAWBAND(VAR101,RGB(155,50,50),VAR601,RGB(250,250,0));

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);


短线:VAR101,LINETHICK2;

NOTEXT1:IF(C>=短线,短线,DRAWNULL),LINETHICK2,COLORYELLOW;

NOTEXT2:IF(C<短线,短线,DRAWNULL),LINETHICK2,COLORGREEN;

中线:VAR601,COLORWHITE,LINETHICK1;


大趋势线:MA(CLOSE,144),COLORGREEN,LINETHICK4;

NOTEXT3:IF(C>=大趋势线,大趋势线,DRAWNULL),LINETHICK4,COLORRED;


AZ1:=C>REF(C,4);

NT:=BARSLASTCOUNT(AZ1);

TJ11:=NT=9;

TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);

AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;

DRAWTEXT(AY>0,H*1.002,VAR2STR(AY,0)),COLORFF00FF;

DRAWTEXT(NT=9,H*1.002,'9'),COLORGREEN;

BZ1:=C<REF(C,4);

NT0:=BARSLASTCOUNT(BZ1);

TJ21:=NT0=9 ;

TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);

AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;

DRAWTEXT(AY1>0,L*0.998,VAR2STR(AY1,0)),COLORFF00FF;

DRAWTEXT(NT0=9,L*0.998,'9'),COLORGREEN;

VAR0:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;

DRAWTEXT(CROSS(82,VAR0),H*1.01,'|||快卖'),COLORWHITE;

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

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

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


T:=150;

TT:=3;

AMOV:=VOL*(OPEN+CLOSE)/2;

成本价:=SUM(AMOV,5)/SUM(VOL,5),LINETHICK1,COLOR209FFF;

高1:=REF(HHV(H,T),TT); 

低1:=REF(LLV(L,T),TT);

H1:=高1-(高1-低1)*0.191; 

H2:=高1-(高1-低1)*0.382;

H3:=高1-(高1-低1)*0.5; 

H4:=高1-(高1-低1)*0.618; 

H5:=高1-(高1-低1)*0.809;

顶:REFDATE(高1,DATE),COLORFFFF00;

一:REFDATE(H1,DATE),DOTLINE,COLORYELLOW;

二:REFDATE(H2,DATE),DOTLINE,COLORMAGENTA;

三:REFDATE(H3,DATE),DOTLINE,COLOR00FFFF;

四:REFDATE(H4,DATE),DOTLINE,COLORMAGENTA;

五:REFDATE(H5,DATE),DOTLINE,COLORYELLOW;

低:REFDATE(低1,DATE),COLOR00FF00;

{TT3:=(CURRBARSCOUNT=5);}

TT4:=(CURRBARSCOUNT=1);

{DRAWNUMBER(TT3 AND 顶,顶,顶),COLOR999900;}

DRAWTEXT(TT4 AND 顶,顶,'顶'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 一,一,一),COLOR999999;}

DRAWTEXT(TT4 AND 一,一,'0.809'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 二,二,二),COLOR999999;}

DRAWTEXT(TT4 AND 二,二,'0.618'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 三,三,三),COLOR999999;}

DRAWTEXT(TT4 AND 三,三,'0.5'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 四,四,四),COLOR999999;}

DRAWTEXT(TT4 AND 四,四,'0.382'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 五,五,五),COLOR999999;}

DRAWTEXT(TT4 AND 五,五,'0.191'),COLOR208FFF;

{DRAWNUMBER(TT3 AND 低,低*1.01,低),COLOR999900;}

DRAWTEXT(TT4 AND 低,低*1.009,'底'),COLOR208FFF;


操作线:=MA(C,13);

AA8:=C>=操作线 OR 操作线>REF(操作线,1);

BB8:=C<操作线;

DD:=CLOSE<OPEN;

 DRAWKLINE(H,O,L,C);{波段红青K线}

STICKLINE(AA8,L,H,0,0),COLOR2F2FFF;

 STICKLINE(AA8,C,O,3.1,0),COLOR000033;

 STICKLINE(AA8,C,O,2.1,0),COLOR000099;

 STICKLINE(AA8,C,O,1.5,0),COLOR0000CC;

 STICKLINE(AA8,C,O,0.3,0),COLOR0000FF;{立体红颜色};

STICKLINE(BB8,L,H,0,0 ),COLORFFFF00;

 STICKLINE(BB8,C,O,3.1,0 ),COLOR000000;

 STICKLINE(BB8,C,O,2.1,0 ),COLOR6A6A00;

 STICKLINE(BB8,C,O,1.5,0 ),COLORDDDD00;

 STICKLINE(BB8,C,O,0.3,0),COLORFFFF00;{立体青色};


角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);


角线MA:=MA(角线,5);


ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA),COLORRED;


ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA),COLORFF00FF ;


角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB<-60 OR LLV("KDJ.J",3)<=-49) AND ANB>0)),COLORGREEN;


角起涨:=COUNT(CROSS(角线,角线MA),ANA<REF(ANA,5) AND ANB>REF(ANB,5));


角卖点:=(CROSS(角线MA,角线) AND (ANB>REF(ANB,1) OR ANA<REF(ANA,1)) AND ANB>ANA{AND ANB>0} AND 角线MA>0)*1;


角始跌:=COUNT(CROSS(角线MA,角线),ANA<REF(ANA,5) AND ANB>REF(ANB,5));


DRAWTEXT(角买点,L,'━━短线买'),COLOR00FFFF;



X_1:=VOL/REF(MA(VOL,5),1);

X_2:=(CLOSE/REF(CLOSE,1)-1)*100;

X_3:=CLOSE=HHV(CLOSE,30);

X_4:=BARSLAST(FILTER(CROSS(0.9,X_3),2))+1;

平台高点:REF(CLOSE,X_4),NODRAW,COLOR8800FF;

X_5:=CLOSE=LLV(CLOSE,30);

X_6:=BARSLAST(FILTER(CROSS(0.9,X_5),2))+1;

平台低点:REF(CLOSE,X_6),NODRAW,COLORFF8800;

X_7:=IF(FINDHIGHBARS(平台高点,1,20,1)>=10,1,0);

X_8:=CROSS(CLOSE,平台高点);

STICKLINE(X_8>0 AND X_1>1 AND X_2>=3 AND X_7>0,OPEN,CLOSE,2,0),COLORYELLOW;

平台突破:IF(X_8>0 AND X_1>1 AND X_2>=3 AND X_7>0,1,0),NODRAW,COLORYELLOW;

STICKLINE(X_4<=30,平台高点,平台高点,4,0),LINETHICK3,COLORWHITE;

STICKLINE(X_6<=30,平台低点,平台低点,4,0),LINETHICK3,COLORWHITE;


持股角度:=ATAN((操作线/REF(操作线,1)-1)*100)*180/3.1416,NODRAW;

DRAWTEXT_FIX(C!=0,0.9,0.05,0,STRCAT('持股角度: ',STRCAT(CON2STR(持股角度,2),' °'))),COLORFFFF00;



盘整天数:=5;{盘整天数自己调,以5--7日为最佳}

下探幅度:=5;

上冲幅度:=25;

涨停:=(C-REF(C,1))/REF(C,1)>0.09;{涨幅大于9个点}

缩量:=HHV(VOL,盘整天数-2)<REF(VOL,盘整天数-1) AND SUM(VOL, 盘整天数)>2* SUM(VOL, 盘整天数-2);



阳涨幅:=3.5;

阳倍量:=1.9;

单阳收:=C;

单阳开:=O;

单阳:=单阳收>=REF(C,1)*(1+阳涨幅/100)AND VOL>REF(VOL,1)*阳倍量;

DRAWTEXT(CURRBARSCOUNT<100 AND 单阳,L*0.98,'阳'),COLOR00FFFF;

高不破价:=REF(C,BARSLAST(单阳));

低不破价:=REF(L,BARSLAST(单阳));

单阳不破:=CURRBARSCOUNT<100 AND BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);

STICKLINE(单阳不破,低不破价-低不破价*0.0005,低不破价,4,0),COLORGREEN;

STICKLINE(单阳不破,高不破价,高不破价,4,0),COLORRED;

STICKLINE(单阳,单阳开,单阳收,2,0),COLORYELLOW;

DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORGREEN;


DRAWTEXT_FIX(1,0,70,0,''),COLOR00FFFF;

DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,HYBLOCK),COLOR0000FF;

DRAWTEXT_FIX(ISLASTBAR,0.01,0.07,0,DYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.01,0.13,0,GNBLOCK),COLORFF00FF;

DRAWTEXT_FIX(ISLASTBAR,0.01,0.2,0,FGBLOCK),COLOR0080FF;


X_1A:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);

X_2A:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

X_3A:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

X_4A:=X_2A+100;

X_5A:=IF(CLOSE>REF(CLOSE,1),VOL,0);

X_6A:=IF(CLOSE<REF(CLOSE,1),VOL,0);

X_7A:=SUM(X_5A,13);

X_8A:=SUM(X_6A,13);

X_9:=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);

X_10:=MA(X_9,2);

X_11:=X_4A<10 OR REF(X_4A,1)<10 OR REF(X_4A,2)<10 OR REF(X_4A,3)<10;

X_12:=X_4A<10 OR REF(X_4A,1)<10 OR REF(X_4A,2)<10 OR REF(X_4A,3)<10 AND (X_10<10 OR REF(X_10,1)<10 OR REF(X_10,2)<10 OR REF(X_10,3)<10);

X_13:=(CLOSE+LOW+HIGH)/1.5;

X_14:=EMA(X_13,3);

X_15:=EMA(X_14,2.5);

DRAWICON(CROSS(X_14,X_15) AND X_11>0.1,LOW*0.98,9),COLORRED;

DRAWICON(CROSS(X_14,X_15) AND X_12>0.1,LOW*0.9398,1),COLORRED;


MA3:MA(C,60),LINETHICK2,COLORFF00FF;


{ZT:=C/REF(C,1)>1.0982 AND C=H;

STICKLINE(ZT,O,C,2,0),COLORRED;

DT:=C/REF(C,1)<0.913 AND C=L;

STICKLINE(DT,O,C,2,0),COLORLIGREEN;

MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);

G5:=(C-MA5)/MA5*100;BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;

EW:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,1);GY:=EMA((EW-REF(EW,1)),3);

G3:=(C-MA30)/MA30*100;BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;

TTBV:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));

TTYH:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(TTBV+TTYH)/AMOUNT*VOL*100*50;

龙脉:MA(REF(HHV(C,30),1),2),COLORYELLOW,LINETHICK4;};


综合排序副图

盘中实时跟踪红牛金山信号,尾盘排序今买明卖

参数   

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

A10:=CROSS(控盘,0);

做多:=IF(A10,5,0);


X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,20);

X_3:=MA(CLOSE,30);

X_4:=MA(CLOSE,54);

X_5:=MA(CLOSE,60);

X_6:=MA(CLOSE,120);

X_7:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_8:=FILTER(X_7,10);

X_9:=BARSLAST(X_8);

X_10:=REF(HIGH,X_9+2);

X_11:=REF(HIGH,X_9+1);

X_12:=REF(HIGH,X_9);

X_13:=MAX(X_10,X_11);

X_14:=MAX(X_13,X_12);

X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_16:=X_9<150;

X_17:=(OPEN-X_14)/X_14*100<30;

X_18:=(CLOSE-LLV(LOW,X_9))/LLV(LOW,X_9)*100<50;

X_19:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_20:=VOL/MA(VOL,5)<3.5;

X_21:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_22:=X_15 AND X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21;

X_23:=FILTER(X_22,15);

X_24:=(CLOSE-X_4)/X_4<0.1;

X_25:=(CLOSE-X_1)/X_1<0.3;

X_26:=(X_24=1 AND X_25=1)*0.2;

X_27:=(X_26=0 AND REF(X_26,1)=0.2 AND REF(COUNT(X_26=0.2,10)=10,1)=1)*(-0.1);

X_28:=X_27=(-0.1);

X_29:=X_23 OR X_28;

X_30:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

X_31:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_32:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

妖股:X_29 AND CLOSE/REF(CLOSE,1)>1.02 AND X_32 AND X_31;{涨幅由原来的1.095改为1.02}

MA5:=MA(CLOSE,5);

MA13:=MA(CLOSE,13);

MA21:=MA(CLOSE,21);

MA34:=MA(CLOSE,34);

MA55:=MA(CLOSE,55);

MA144:=MA(CLOSE,144);

MA233:=MA(CLOSE,233);


DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

V144:=MA(V,144);


S1:=IF(CODELIKE('688'),0,1);

S2:=IF(NAMELIKE('S'),0,1);

S3:=IF(NAMELIKE('*'),0,1);


TJ1:=CROSS(V,V144);

TJ2:=C>MA233 AND C/MA233<1.15;

TJ3:=做多=5 AND MA233>REF(MA233,1);

TJ4:=妖股=1;

TJ5:=S1 AND S2 AND S3;

角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);


角线MA:=MA(角线,5);


ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA),COLORRED;


ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA),COLORFF00FF ;


角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB<-60 OR LLV("KDJ.J",3)<=-49) AND ANB>0)),COLORGREEN;

红牛初选:C<30 AND TJ2 AND TJ4 AND TJ5 AND V>0,COLORRED;

金山红牛:C<30 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND V>0;

TJ7:=C>MA5 AND C>MA13 AND C>MA21 AND C>MA55 AND C>MA144 AND C>MA233;

TJ8:=CROSS(C,MA5) AND MA5>REF(MA5,1) AND C/REF(C,1)<1.09;


今买明卖初选:=角买点 AND C<30 AND C>MA233;

今买明卖精选:=角买点 AND TJ7 AND C<30 AND TJ8;


竞价排序:=DYNAINFO(15)/DYNAINFO(4)/FINANCE(46)*100*(DYNAINFO(4)-REF(CLOSE,1))/REF(CLOSE,1)*100;


竞价量:=DYNAINFO(15)/O/100;

ZF:=(DYNAINFO(4)/DYNAINFO(3)-1)*100;

LTP:=IF(CAPITAL<100000,100000,CAPITAL);

竞价量比:=竞价量/REF(MA(V,5),1)*240;

竞价龙头:(ZF*竞价量/LTP*10000)/100;

流通市值:=FINANCE(40)/100000000;

AAL:=流通市值<=120 AND FINANCE(42)>90 AND C<=60;

{流通市值小于120亿,上市天数大于90天,股价低于60元}

S1L:=IF(CODELIKE('688'),0,1);

S2L:=IF(NAMELIKE('S'),0,1);

S3L:=IF(NAMELIKE('*'),0,1);

S4L:=IF(CODELIKE('30'),0,1);

S5L:=IF(CODELIKE('60'),0,1);

S6L:=IF(CODELIKE('00'),0,1);

SS1:=S1L AND S2L AND S3L AND S4L AND S5L AND AAL;

TL1:=DYNAINFO(15)>REF(AMOUNT,1)*0.1 AND REF(C,1)>=REF(C,2)*1.098 AND REF(L,1)<REF(C,1) AND SS1 AND O>REF(C,1)*1.05 AND DYNAINFO(15)>10000000;

SS2:=S1L AND S2L AND S3L AND S5L AND S6L AND AAL;

TL2:=DYNAINFO(15)>REF(AMOUNT,1)*0.1 AND O>REF(C,1)*1.05 AND SS2 AND DYNAINFO(15)>900000;

竞昨比%:IF(TL1 OR TL2,1,0);

FN2:=7;

FN3:=10;

FN4:=0;

FN5:=0;

FN6:=DAY!=REF(DAY,1);

FN7:=BARSLAST(FN6)+1;

FN8:=VOL*(CLOSE+LOW+HIGH)/3;

FN9:=SUM(FN8,FN7)/SUM(VOL,FN7);

FN10:=IF(FN6<=CONST(FN7),FN9,DRAWNULL);

FN11:=EMA(INDEXC,120)/EMA(CLOSE,120);

FN12:=IF(CLOSE<500 AND SETCODE<=2,(INDEXC/FN11+0.812*REF(INDEXC/FN11,1)+0.618*REF(INDEXC/FN11,2)+0.382*REF(INDEXC/FN11,3)+0.191*REF(INDEXC/FN11,4))/3.003,DRAWNULL);

FN13:=FN10>FN12;

FN14:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;

FN15:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;

FN16:=EMA(FN14,5);

FN17:=EMA(FN15,5);

FN18:=FN16-REF(FN16,1);

FN19:=FN17-REF(FN17,1);

FN20:=IF(FN18-FN19>0,(FN18-FN19)*5,0);

FN21:=FN20-REF(FN20,1);

FN22:=MA(CLOSE,20);

FN23:=BARSLASTCOUNT(CLOSE<FN22);

FN24:=BACKSET((FN23>=4)*FN23,FN23);

FN25:=BARSLASTCOUNT(CLOSE>FN22);

FN26:=BACKSET((FN25>=4)*FN25,FN25);

FN27:=BARSLASTCOUNT(NOT(FN24 OR FN26));

FN28:=BARSLASTCOUNT(REF(FN24>0,FN27));

FN29:=BARSLASTCOUNT(REF(FN26>0,FN27));

FN30:=IF(FN4=1,0,FILTERX(LLV(LOW,FN28)=LOW,FN28));

FN31:=IF(FN5=1,0,FILTERX(HHV(HIGH,FN29)=HIGH,FN29));

FN32:=IF(FN4=1,0,REF(HIGH,BARSLAST(FN31)));

FN33:=IF(FN5=1,0,REF(LOW,BARSLAST(FN30)));

FN34:=BARSLAST(FN28=1);

FN35:=REF(FN32,BARSLAST(FN28));

FN36:=REF(FN33,FN34);

FN37:=FN35+(FN35-FN36)*0.191;

FN38:=REFDATE(FN37,DATE);

FN39:=CURRBARSCOUNT<=60 AND CROSS(CLOSE,FN38);

FN40:=REF(HIGH,7)=HHV(HIGH,2*7+1);

FN41:=BACKSET(FN40,7+1);

FN42:=FILTER(FN41,7) AND HIGH=HHV(HIGH,7+1);

FN43:=IF(FN4=1,0,BARSLAST(FN42));

FN44:=IF(FN42,CURRBARSCOUNT,0);

FN45:=IF(FN43,REF(HIGH,FN43),HIGH);

FN46:=IF(FN43,REF(FN44,FN43),FN44);

FN47:=REF(FN45,FN43+1);

FN48:=CONST(FN46);

FN49:=REF(FN46,FN43+1);

FN50:=CONST(FN49);

FN51:=REF(FN47,FN43+1);

FN52:=IF(CURRBARSCOUNT>FN50,0,1);

FN53:=DRAWLINE(CURRBARSCOUNT=FN50,HIGH,CURRBARSCOUNT=FN48,HIGH,1);

FN54:=IF(FN53>REF(FN53,1),DRAWNULL,FN53);

FN55:=REF(LOW,FN2)=LLV(LOW,2*FN2+1);

FN56:=BACKSET(FN55,FN2+1);

FN57:=FILTER(FN56,FN2) AND LOW=LLV(LOW,FN2+1);

FN58:=IF(FN5=1,0,BARSLAST(FN57));

FN59:=IF(FN57,CURRBARSCOUNT,0);

FN60:=IF(FN58,REF(LOW,FN58),LOW);

FN61:=IF(FN58,REF(FN59,FN58),FN59);

FN62:=CONST(FN61);

FN63:=REF(FN60,FN58+1);

FN64:=REF(FN61,FN58+1);

FN65:=CONST(FN64);

FN66:=DRAWLINE(CURRBARSCOUNT=FN65,LOW,CURRBARSCOUNT=FN62,LOW,1);

FN67:=IF(FN66<REF(FN66,1),DRAWNULL,FN66);

FN68:=BACKSET(BARSTATUS=2,BARSLAST(FN42)+1);

FN69:=FN68>REF(FN68,1);

FN70:=BACKSET(BARSTATUS=2,BARSLAST(FN57)+1);

FN71:=FN70>REF(FN70,1);

FN72:=BACKSET(FN69,REF(BARSLAST(FN42),1)+2);

FN73:=FN72>REF(FN72,1);

FN74:=BACKSET(FN71,REF(BARSLAST(FN57),1)+2);

FN75:=FN74>REF(FN74,1);

FN76:=BARSLAST(FN71)+1;

FN77:=BARSLAST(FN75)+1;

FN78:=IF(FN76=DRAWNULL AND FN77>0 AND FN42 AND FN4!=1,HIGH,DRAWNULL);

FN79:=BARSLAST(FN69)+1;

FN80:=BARSLAST(FN73)+1;

FN81:=IF(FN79=DRAWNULL AND FN80>0 AND FN57 AND FN5!=1,LOW,DRAWNULL);

FN82:=CONST(HHV(FN78-FN67,0));

FN83:=DRAWLINE(CURRBARSCOUNT=FN65,LOW+FN82,CURRBARSCOUNT=FN62,LOW+FN82,1);

FN84:=5;

FN85:=1;

FN86:=FN84;

FN87:=REF(HIGH,FN86)=HHV(HIGH,2*FN86+1);

FN88:=FILTER(FN87,FN86);

FN89:=BACKSET(FN88,FN86+1);

FN90:=FILTER(FN89,FN86);

FN91:=REF(HIGH,BARSLAST(FN90));

FN92:=REF(MAX(CLOSE,OPEN),FN86)=HHV(MAX(CLOSE,OPEN),2*FN86+1);

FN93:=FILTER(FN92,FN86);

FN94:=BACKSET(FN93,FN86+1);

FN95:=FILTER(FN94,FN86);

FN96:=REF(MAX(CLOSE,OPEN),BARSLAST(FN95));

FN97:=REF(LOW,FN86)=LLV(LOW,2*FN86+1);

FN98:=FILTER(FN97,FN86);

FN99:=BACKSET(FN98,FN86+1);

FN100:=FILTER(FN99,FN86);

FN101:=REF(LOW,BARSLAST(FN100));

FN102:=REF(MIN(CLOSE,OPEN),FN86)=LLV(MIN(CLOSE,OPEN),2*FN86+1);

FN103:=FILTER(FN102,FN86);

FN104:=BACKSET(FN103,FN86+1);

FN105:=FILTER(FN104,FN86);

FN106:=REF(MIN(CLOSE,OPEN),BARSLAST(FN105));

FN107:=IF(FN85=0,FN91,FN96);

FN108:=IF(FN85=0,FN101,FN106);

FN109:=FN107=REF(FN107,1) AND FN84>0 AND CROSS(CLOSE,FN107);

FN110:=FN109 OR (REF(FN109,1) AND CLOSE>FN107 AND REF(CLOSE,1)/REF(CLOSE,2)<1.04 AND CLOSE>=OPEN);

FN111:=0.1;

FN112:=CLOSE>=ZTPRICE(REF(CLOSE,1),FN111) AND OPEN<HIGH;

FN113:=CLOSE>=ZTPRICE(REF(CLOSE,1),FN111) AND OPEN=HIGH;

FN114:=HIGH>=ZTPRICE(REF(CLOSE,1),FN111) AND CLOSE<HIGH;

FN115:=1+3*FN112+2*FN113+0.2*FN114;

FN116:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

FN117:=FN116*FN115;

FN118:=REF(FN113,1) AND NOT(FN113) AND NOT(REF(EVERY(FN113=1,9),1));

FN119:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

FN120:=IF(CLOSE>OPEN,FN119*(HIGH-LOW),IF(CLOSE<OPEN,FN119*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1),VOL*0.7,VOL*0.3)));

FN121:=IF(CLOSE>OPEN,FN119*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,FN119*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1),VOL*0.7,VOL*0.3)));

FN122:=SUM((FN120-FN121)/CAPITAL,1)*1000;

FN123:=VOL/10000;

FN124:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));

FN125:=MOD(FROMOPEN,FN124);

FN126:=IF(FN125<0.5,FN124,FN125);

FN127:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND DYNAINFO(8)>1,VOL*FN124/FN126/10000,DRAWNULL);

FN128:=IF(CURRBARSCOUNT=1 AND PERIOD<=5,FN127,FN123);

FN129:=FN128/REF(MA(FN128,5),1);

FN130:=IF(FN129>30,1,IF(FN129>3 AND FN129<=30,33,IF(CLOSE>=ZTPRICE(REF(CLOSE,1),FN111) AND FN129<=2,FN129*20,FN129)));

FN131:=DAY!=REF(DAY,1);

FN132:=BARSLAST(FN131)+1;

FN133:=VOL*(INDEXC+INDEXL+INDEXH)/3;

FN134:=VOL*(CLOSE+LOW+HIGH)/3;

FN135:=IF(SETCODE<=2 AND CLOSE<300,FN133,FN134);

FN136:=SUM(FN135,FN132)/SUM(VOL,FN132);

FN137:=IF(FN131<=CONST(FN132),FN136,DRAWNULL);

FN138:=REF(FN137,1);

FN139:=IF(SETCODE<=2 AND CLOSE<300,INDEXC>FN138,1);

DPTQ:=IF(FN139=1 AND INDEXC>=INDEXO,1,IF(FN139=0 AND INDEXC<=INDEXO,(-1),0)),NODRAW;


FN141:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;

FN142:=EMA(CLOSE,2)-EMA(CLOSE,89);

FN143:=EMA(FN142,30);

FN144:=2*(FN142-FN143)*10;

FN145:=POW(FN144,3)*0.1+POW(FN144,2);

FN146:=SMA((CLOSE-REF(CLOSE,1))*VOL,3,1)/10000;

FN147:=EMA(FN146,12)-EMA(FN146,26);

FN148:=EMA(FN147,9);

FN149:=(FN147-FN148)*2;

FN150:=IF(SETCODE<=2 AND CLOSE<300 AND FN149>REF(FN149,1),FN149-REF(FN149,1),0);

FN151:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

FN152:=SMA(FN151,3,1);

FN153:=SMA(FN152,3,1);

FN154:=FN39 OR CROSS(CLOSE,FN83) OR CROSS(CLOSE,FN54) OR FN110 AND FN152<90 AND FN153<80;

FN155:=VOL>0;

FN156:=IF(NAMELIKE(1),0,1);

FN157:=IF(NAMELIKE(2),0,1);

FN158:=FN156 AND FN157;

FN159:=FN158 AND FN155 AND FN145>=REF(FN145,1) AND FN13 AND CLOSE>=COST(80);

FN160:=FINANCE(40)<300.00*100000000 AND FINANCE(7)<=20.00*100000000;

FN161:=IF(CLOSE<500,FN160,1);

FN162:=IF(DPTQ!=(-1),1,IF(DPTQ=(-1) AND CLOSE>=ZTPRICE(REF(CLOSE,1),FN111) AND CLOSE=HIGH,1,0));

优选①号:IF(竞价龙头>参数  AND FN162 AND FN161 AND FN159 AND (FN154 OR FN118),(FN122+FN21*2+FN117+FN130+FN150*10),0),NODRAW;


AA:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;

SL3:=EMA(AA,5);

BB:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;

SL4:=EMA(BB,5);

SL5:=SL3-REF(SL3,1);

SL6:=SL4-REF(SL4,1);

SL7:=IF(SL5-SL6>0,(SL5-SL6)*5,0);

SL8:=SL7-REF(SL7,1);


SL9:=SMA((CLOSE-REF(CLOSE,1))*VOL,3,1)/10000;

SL10:=1;

SL11:=EMA(SL9,12)-EMA(SL9,26);

SL12:=EMA(SL11,9);

SL13:=(SL11-SL12)*2;

SL14:=HHVBARS(SL13,BARSLAST(SL13<0)+1);

SL15:=CROSS(BACKSET(CROSS(0,SL13),REF(SL14,1)+2),0.5);

SL16:=DRAWLINE(SL15,SL13,REF(SL15,1),REF(SL13,1),1);

SL17:=SL13>SL16 AND SL13>=REF(SL13,1);

SL18:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH;

SL19:=BARSSINCE(CLOSE)<1 OR BARSSINCE(CLOSE)<34 AND CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH;

SL20:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW<HIGH;

SL21:=HIGH>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE<HIGH;

SL22:=1+3*SL20+1*SL18+0.2*SL21;

SL23:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

SL24:=SL23*SL22;

SL25:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

SL26:=IF(CLOSE>OPEN,SL25*(HIGH-LOW),IF(CLOSE<OPEN,SL25*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1),VOL*0.7,VOL*0.3)));

SL27:=IF(CLOSE>OPEN,SL25*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,SL25*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1),VOL*0.7,VOL*0.3)));

SL28:=IF(SL10!=1,0,SUM((SL26-SL27)/CAPITAL,1)*1000);

J1:=VOL/10000;

J2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));

J3:=MOD(FROMOPEN,J2);

J6:=IF(J3<0.5,J2,J3);

J4:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND DYNAINFO(8)>1,VOL*J2/J6/10000,DRAWNULL);

J5:=IF(CURRBARSCOUNT=1 AND PERIOD<=5,J4,J1);

SL29:=J5/REF(MA(J5,5),1);

SL30:=IF(SL29>30,1,IF(SL29>3 AND SL29<=30,SL29,IF(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND SL29<=2,SL29*20,SL29)));

SL31:=IF(CLOSE>=REF(CLOSE,1) AND SL29>3,33,IF(CLOSE<REF(CLOSE,1) AND SL29>3,0,IF(CLOSE>=REF(CLOSE,1) AND SL29<=3,SL29*10,SL29)));

SL32:=SL10;

SL33:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*SL32;

SL34:=IF(C>0,EMA(MAX(C-REF(C,1),0),83)/EMA(ABS(C-REF(C,1)),83)*101,0);

SL35:=EMA(CLOSE,2)-EMA(CLOSE,89);

SL36:=EMA(SL35,30)*SL32;

SL37:=2*(SL35-SL36)*10*SL32;

SL38:=POW(SL37,3)*0.1+POW(SL37,2)*SL32;

SL39:=IF(SL37>0.015,SL38,0)/45*SL32;

SL40:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);

SL41:=SL13-REF(SL13,1);

SL42:=DYNAINFO(4)>0;

SL43:=EXIST(ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.052,20) AND EXIST(CLOSE/REF(CLOSE,1)>1.15,2)!=1;

SL44:=FINANCE(40)<300*100000000 AND FINANCE(7)<=20*100000000;

SL45:=DAY!=REF(DAY,1);

SL46:=BARSLAST(SL45)+1;

SL47:=VOL*(INDEXC+INDEXL+INDEXH)/3;

SL48:=SUM(SL47,SL46)/SUM(VOL,SL46);

SL49:=IF(SL45<=CONST(SL46),SL48,DRAWNULL);

SL50:=REF(SL49,1);

SL51:=INDEXC>=SL50;

SL52:=IF(SL51=1 AND INDEXC>=INDEXO,1,IF(SL51=0 AND INDEXC<=INDEXO,(-1),0));

SL53:=IF(SL52!=(-1),1,IF(SL52=(-1) AND CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH,1,0));

SL54:=SL43 AND SL42 AND SL19=0 AND AMOUNT/10000>1000;

SL55:=COUNT(HIGH/REF(CLOSE,1)>=1.081,5)>=2 AND CLOSE>=OPEN;

SL56:=INDEXADV/(INDEXADV+INDEXDEC);

SL57:=SL10;

SL58:=IF(SL57=1,SL56*100,0);

SL59:=SL58>85 OR REF(SL58,1)>85;

SL60:=IF(0=1,SL59,0);

SL61:=EMA(CLOSE,12)-EMA(CLOSE,26);

SL62:=EMA(SL61,9);

SL63:=BARSLAST(YEAR>REF(YEAR,1))+1;

SL64:=IF(SL63=DRAWNULL,BARSCOUNT(CLOSE)+1,SL63);

SL65:=(CLOSE/REF(CLOSE,SL64)-1)*100;

SL66:=BARSLASTCOUNT(SL61>SL62);

SL67:=(CLOSE/REF(CLOSE,SL66+1)-1)*100;

SL68:=SL34>53 AND CLOSE>=OPEN;

SL69:=(CLOSE-SL40)/SL40*200 ;

优选②号:IF(竞价龙头>参数 AND SL60=0 AND SL54 AND SL44 AND SL55 AND SL68 AND SL17=1,(SL28+SL8*3+SL24+SL31+SL41*5+SL69),0),NODRAW,COLORMAGENTA;


风控开关:=IF(FN139=1 AND INDEXC>=INDEXO,1,IF(FN139=0 AND INDEXC<=INDEXO,(-1),0)),NODRAW;


{FJ0:=(MA(C,3));

FJ1:=(MA(C,5));

FJ2:=(MA(C,10));

FJ3:=(MA(C,20));

FJ4:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));

FJ5:=(((ATAN(((FJ0 / (REF(FJ0,1))) - 1) * 100)) * 180) / (3.1416));

FJ6:=(((ATAN(((FJ1 / (REF(FJ1,1))) - 1) * 100)) * 180) / (3.1416));

FJ7:=(((ATAN(((FJ2 / (REF(FJ2,1))) - 1) * 100)) * 180) / (3.1416));

FJ8:=(((ATAN(((FJ3 / (REF(FJ3,1))) - 1) * 100)) * 180) / (3.1416));

疯子MA20:(((COUNT((((C / (REF(C,1))) - 1) * 100) > 5.6,60)) AND ((DYNAINFO(4)) > 0)) AND (IF(((((FJ5 > 45) AND (FJ6 > 45)) AND (FJ7 > 60)) AND (FJ8 > 45)) AND ((MA(C,250)) > (REF(MA(C,250),1))),1,0))),COLORGREEN;};


涨速:DYNAINFO(24);

量比:DYNAINFO(15)/OPEN/(REF(SUM(VOL,5),1)/12);

竞额比:DYNAINFO(15)/((FINANCE(7)/100000000)*REF(CLOSE,1))/100000;{按竞流比降序排序,不含次新股}

昨量比:DYNAINFO(15)/OPEN/REF(VOL,1);

竞额W:IF(DATE<=1501207,DYNAINFO(15)/10000,0);

今开%:(O/REF(C,1)-1)*100;

收益%:DYNAINFO(14)*100-今开%;

开盘价:OPEN;

板块:DRAWTEXT(1,1,HYBLOCK),NODRAW;

利润同比%:FINANCE(43);

收入同比%:FINANCE(44);

概念:DRAWTEXT(1,1,GNBLOCK),NODRAW;



红牛妖股预警

参数

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

A10:=CROSS(控盘,0);

做多:=IF(A10,5,0);


X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,20);

X_3:=MA(CLOSE,30);

X_4:=MA(CLOSE,54);

X_5:=MA(CLOSE,60);

X_6:=MA(CLOSE,120);

X_7:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_8:=FILTER(X_7,10);

X_9:=BARSLAST(X_8);

X_10:=REF(HIGH,X_9+2);

X_11:=REF(HIGH,X_9+1);

X_12:=REF(HIGH,X_9);

X_13:=MAX(X_10,X_11);

X_14:=MAX(X_13,X_12);

X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_16:=X_9<150;

X_17:=(OPEN-X_14)/X_14*100<30;

X_18:=(CLOSE-LLV(LOW,X_9))/LLV(LOW,X_9)*100<50;

X_19:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_20:=VOL/MA(VOL,5)<3.5;

X_21:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_22:=X_15 AND X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21;

X_23:=FILTER(X_22,15);

X_24:=(CLOSE-X_4)/X_4<0.1;

X_25:=(CLOSE-X_1)/X_1<0.3;

X_26:=(X_24=1 AND X_25=1)*0.2;

X_27:=(X_26=0 AND REF(X_26,1)=0.2 AND REF(COUNT(X_26=0.2,10)=10,1)=1)*(-0.1);

X_28:=X_27=(-0.1);

X_29:=X_23 OR X_28;

X_30:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

X_31:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_32:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

妖股预警:=X_29 AND CLOSE/REF(CLOSE,1)>1.03 AND X_32 AND X_31;{涨幅由原设定9.5%改为3%}


MA5:=MA(CLOSE,5);

MA13:=MA(CLOSE,13);

MA21:=MA(CLOSE,21);

MA34:=MA(CLOSE,34);

MA55:=MA(CLOSE,55);

MA144:=MA(CLOSE,144);

MA233:=MA(CLOSE,233);


DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

V144:=MA(V,144);


S1:=IF(CODELIKE('688'),0,1);

S2:=IF(NAMELIKE('S'),0,1);

S3:=IF(NAMELIKE('*'),0,1);


TJ1:=CROSS(V,V144);

TJ2:=C>MA233 AND C/MA233<1.15;

TJ3:=做多=5 AND MA233>REF(MA233,1);

TJ4:=妖股预警=1;

TJ5:=S1 AND S2 AND S3;


红牛初选:=C<60 AND TJ2 AND TJ4 AND TJ5 AND V>0,COLORRED;

金山红牛:=C<60 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND V>0;

红牛妖股预警:妖股预警 AND 红牛初选 {AND 金山红牛};


红牛初选

红牛选股,日均3-5只票,结构好,空间大

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

A10:=CROSS(控盘,0);

做多:=IF(A10,5,0);


X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,20);

X_3:=MA(CLOSE,30);

X_4:=MA(CLOSE,54);

X_5:=MA(CLOSE,60);

X_6:=MA(CLOSE,120);

X_7:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_8:=FILTER(X_7,10);

X_9:=BARSLAST(X_8);

X_10:=REF(HIGH,X_9+2);

X_11:=REF(HIGH,X_9+1);

X_12:=REF(HIGH,X_9);

X_13:=MAX(X_10,X_11);

X_14:=MAX(X_13,X_12);

X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_16:=X_9<150;

X_17:=(OPEN-X_14)/X_14*100<30;

X_18:=(CLOSE-LLV(LOW,X_9))/LLV(LOW,X_9)*100<50;

X_19:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_20:=VOL/MA(VOL,5)<3.5;

X_21:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_22:=X_15 AND X_16 AND X_17 AND X_18 AND X_19 AND X_20 AND X_21;

X_23:=FILTER(X_22,15);

X_24:=(CLOSE-X_4)/X_4<0.1;

X_25:=(CLOSE-X_1)/X_1<0.3;

X_26:=(X_24=1 AND X_25=1)*0.2;

X_27:=(X_26=0 AND REF(X_26,1)=0.2 AND REF(COUNT(X_26=0.2,10)=10,1)=1)*(-0.1);

X_28:=X_27=(-0.1);

X_29:=X_23 OR X_28;

X_30:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

X_31:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_32:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

妖股:=X_29 AND CLOSE/REF(CLOSE,1)>1.095 AND X_32 AND X_31;



MA5:=MA(CLOSE,5);

MA13:=MA(CLOSE,13);

MA21:=MA(CLOSE,21);

MA34:=MA(CLOSE,34);

MA55:=MA(CLOSE,55);

MA144:=MA(CLOSE,144);

MA233:=MA(CLOSE,233);


DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

V144:=MA(V,144);


S1:=IF(CODELIKE('688'),0,1);

S2:=IF(NAMELIKE('S'),0,1);

S3:=IF(NAMELIKE('*'),0,1);


TJ1:=CROSS(V,V144);

TJ2:=C>MA233 AND C/MA233<1.15;

TJ3:=做多=5 AND MA233>REF(MA233,1);

TJ4:=妖股=1;

TJ5:=S1 AND S2 AND S3;

红牛初选:C<60 AND TJ2 AND TJ4 AND TJ5;

指                标                完                 结

因为指标太多不想复制或者老是复制错误的朋友可直接领取TN6源码一键导入

步骤

第一步:先点亮文章右下角的点赞“


第二步:点击下方名片关注公众号


第三步:回复关键词趋势红牛获取指标源码


公众号有时候需要经费运转用以发布各种指标,要是出现广告文章请帮我点开看看就行,介意者取消关注即可

站在巨人的肩膀上,通过进走势规律不断摸索,不断优化进取所得精华源码,指标全以电脑编辑(手机没验证是否能通过)如有不通过请自行查阅是否遗漏源码

郑重提示:现在公众号的推送规则改变了,有些读者反映收不到文章推送的情况,为防止大家看不到重要的文章,大家可以点击左上方“通达信指标爱好者”,再点击右上角的“...”,随后点“设为星标★”就可以及时收到文章的推送了,创作不易请收藏点赞转发。。。你的支持


通达信精品指标公式交流
股民学习基地,每天提供通达信精品指标和各类学习资料,股市没有超凡神人,只有日积月累的沉淀!股道运用之妙存乎一心!
 最新文章