通达信【次日必大涨】副图 优化版预警 涨停率达75% 高胜率 源码附图

MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA54:=MA(CLOSE,54);
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
TJ1:=J<D AND DIF>DEA AND V>REF(V,1) AND C>O AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) ;
A1:=IF(C>=MA5,1,-1);
A2:=IF(C>=MA10,1,-1);
A3:=IF(C>=MA20,1,-1);
A4:=IF(MA5>=REF(MA5,1),1,-1);
A5:=IF(MA10>=REF(MA10,1),1,-1);
A6:=IF(MA20>=REF(MA20,1),1,-1);
QUSHI:=(A1+A2+A3+A4+A5+A6)/6*100;
BB1:=QUSHI<-98 AND C/REF(C,1)>1.0042 AND REF(C,1)<REF(C,2);
BB2:=CROSS(QUSHI,0) AND C/REF(C,1)>1.0042;
MASUP:=QUSHI>=50;
AA1:=(CLOSE*2+HIGH+LOW)/4*10;
AA2:=EMA(AA1,13)-EMA(AA1,34);
AA3:=EMA(AA2,5);
AA4:=2*(AA2-AA3)*5.5;
MASLIN:=AA4;
BIZHTT:=(H-REF(C,1))/REF(C,1)*100;
QSHIBZ:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND BIZHTT>=4.945;
ZHATNG:=C=ZTPRICE(REF(C,1),0.1) OR QSHIBZ ;
YJZB:=HHV(VOL,10);
LCATUP:=BARSLAST(YJZB=VOL);
STCATUP:=CROSS(C,REF(C,LCATUP)) AND ZHATNG AND NOT(DYNAINFO(4)=0);
UPYST:=MASLIN>=STCATUP;
KDJUP:=J>=K AND K>=D;
MASUPB:=QUSHI>=50 AND REF(QUSHI,1)<50 AND UPYST AND MASLIN>=REF(MASLIN,1) AND KDJUP AND MA5>MA10 ;
HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
HJ_9:=FILTER(HJ_8,10);
HJ_10:=BARSLAST(HJ_9);
HJ_11:=REF(HIGH,HJ_10+2);
HJ_12:=REF(HIGH,HJ_10+1);
HJ_13:=REF(HIGH,HJ_10);
HJ_14:=MAX(HJ_11,HJ_12);
HJ_15:=MAX(HJ_14,HJ_13);
HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
HJ_17:=HJ_10<150;
HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;
HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;
HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
HJ_21:=VOL/MA(VOL,5)<3.5;
HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;
BIGZH:=FILTER(HJ_25,15);
XGA:=TJ1 AND BIGZH;
PL1:=(((CLOSE-MA54)/MA54)<0.1);
PL2:=(((CLOSE-MA10)/MA10)<0.3);
PLLV:=(((PL1=1) AND (PL2=1))*0.2);
PTUP:=((((PLLV=0) AND (REF(PLLV,1)=0.2)) AND (REF((COUNT((PLLV=0.2),10)=10),1)=1))*-0.1);
YGUUP:=PTUP=-0.1;
XDF:=BIGZH OR YGUUP;
VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
FLIGA:=(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);
YAGU:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA;
ZZAA1:=C<O;
ZZAA2:=C>O AND C<REF(C,1);
ZZBB1:=REF(ZZAA1,1) AND C>REF(O,1);
ZZBB2:=REF(ZZAA2,1) AND C>REF(C,1);
BM:=ZZBB1 OR ZZBB2;
T:=BARSLAST(YAGU);
BIBUY:=T>=1 AND T<=20 AND BM ;
ATAJ1:=C/REF(C,1)*100-100;
ATAJ2:=ATAJ1>6;
ATAJ3:=MAX(C,O)/MIN(C,O)*100-100;
ATAJ4:=ATAJ3<5;
ATAJ5:=BARSLASTCOUNT(ATAJ4);
ATAJ6:=ATAJ5>=2 AND ATAJ5<=4;
ATAJ7:=REF(ATAJ6,1) AND ATAJ2;
ATAJ8:=REF(ATAJ2,1) AND ATAJ4;
ATAJ9:=BARSLAST(ATAJ8);
ATAJ10:=ATAJ9<8;
AA:=C/REF(C,1)>1.095 AND H=O AND L=H;
UPTHRE:=REF(ATAJ6,1) AND ATAJ1>2 AND ATAJ10 AND NOT(AA);
ZHXIN:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
CAPAX:=EMA(((SLOPE(C,22)*20)+C),55);
GOLDLIN:=IF(ZHXIN>=CAPAX,CAPAX,1);
MONDAI:=C>REF(C,1) AND MA(C,3)>MA(C,5) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,10)>GOLDLIN AND MA(C,20)<GOLDLIN;
VXGA:=PLLV=0 AND REF(PLLV,1)=0.2 AND REF((COUNT((PLLV=0.2),10)=10),1);
FLS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,6),2.1*FORCAST(V,6));
SMYAO:=FILTER(FLS,14);
FABC10:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,10))/EMA(CLOSE,10));
FABC11:=DMA(((2.15*CLOSE+LOW+HIGH)/4),FABC10);
JINXW:=EMA(FABC11,5)*1;
TIAJIA:=(C-REF(C,1))/REF(C,1)*100>8;
CHYAO:=CROSS(C,JINXW) AND TIAJIA;
VXGB:=SMYAO AND CHYAO;
XGG1:=VXGA AND CHYAO;
XGG2:=VXGA AND VXGB;
CATYAO:=XGG1 OR XGG2;
QIFLY:=VXGB AND NOT(CATYAO);
ZG1:=MASUPB AND QIFLY;
ZG2:=MASUPB AND UPTHRE AND CHYAO;
ZG3:=MASUPB AND CATYAO AND YAGU;
ZG4:=MASUPB AND UPTHRE AND LCATUP;
ZG5:=MASUPB AND LCATUP;
ZT1:=C=ZTPRICE(REF(C,1),0.1) OR (NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND (H-REF(C,1))/REF(C,1)*100>=4.945;
ZT2:=C=ZTPRICE(REF(C,1),0.2);
ZT:=ZT1 OR ZT2;
去除北交所:=IF(CODELIKE('836'),0,1);
去除科创板:=IF(CODELIKE('688'),0,1);
去除AAA:=IF(CODELIKE('430'),0,1);
去除AAB:=IF(CODELIKE('838'),0,1);
去除AAC:=IF(CODELIKE('835'),0,1);
去除AAD:=IF(CODELIKE('870'),0,1);
去除AAE:=IF(CODELIKE('830'),0,1);
去除AAF:=IF(CODELIKE('878'),0,1);
去除AAH:=IF(CODELIKE('873'),0,1);
AAG:=去除北交所 AND 去除科创板 AND 去除AAA AND 去除AAB AND 去除AAC AND 去除AAD AND 去除AAE AND 去除AAF AND 去除AAH;
UPCHAN:=CROSS(MA(C,5),MA(C,10));
MASUPXG:=ZG1 OR ZG2 OR ZG3 OR ZG4 OR ZG5;
WXGA:=ZT AND BIGZH AND SMYAO AND (UPCHAN OR BIBUY);
WXGB:=ZT AND SMYAO AND CHYAO AND QIFLY;
WXGC:=ZT AND MONDAI AND CHYAO AND BIBUY;
WXGD:=ZT AND MONDAI AND QIFLY;
WXGE:=ZT AND MONDAI AND YAGU AND SMYAO;
WXGF:=ZT AND MASUPXG;
NDZT:=WXGA OR WXGB OR WXGC OR WXGD OR WXGE OR WXGF;
HSL:=V/CAPITAL*100>5;
XG:=NDZT AND AAG AND HSL;
STICKLINE(XG,1.6,2.2,0,0),COLORWHITE;
STICKLINE(XG,0.8,1.6,2,0),COLORRED;
STICKLINE(XG,0,0.8,2,0),COLORBLUE;
DRAWTEXT(XG,1.2,' ↙次日必大涨'),COLORCYAN;
DRAWTEXT(XG,0.8,' ↙今日尾盘买'),COLORMAGENTA;
DRAWTEXT(XG,0.3,' ↙次日开盘买'),COLORYELLOW;


未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图