超过90%胜率的21个通达信精选指标源码

今天小编给大家带来20个通达信的技术指标公式源码,大部分都是测试通过,可以直接使用,如果大家在测试使用过程中遇到问题,欢迎大家留言反馈,一直讨论学习。

1、早盘竞价选股公式

MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
ZT:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
B:=CAPITAL<15000000 AND C>4 AND C<60;
开盘%:=(O-REF(C,1))/REF(C,1)*100;
开盘金额:=DYNAINFO(15)/10000;
开盘换手:=DYNAINFO(15)/O/FINANCE(46)*100;
YJ:=FINANCE(30)/10000;
ST:=IF(NAMELIKE(‘ST’) OR NAMELIKE(‘*ST’),0,1);
XG:REF(ZT,1) AND MA5>MA10 AND MA10>MA60 AND 开盘%>0.1 AND 开盘%<8 AND B AND 开盘金额>1000 AND 开盘换手>0.8 AND MA20>REF(MA20,1) AND YJ>0 AND ST;

2、潜在涨停板的选股公式

MA13:=MA(C,13);
MA34:=MA(C,34);
MA55:=MA(C,55);
VAR1:=(100-((90*(HHV(HIGH,21)-CLOSE))/
(HHV(HIGH,21)-LLV(LOW,21))));
VAR2:=(100-((90*(HHV(HIGH,21)-CLOSE))/
(HHV(HIGH,21)-LLV(LOW,21))));
VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/
(HHV(HIGH,6)-LLV(LOW,6))),34));
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
低吸:=CROSS(RSI,11);
TZ:=C/REF(C,1)>1.095 AND C=H;
VAR7:=EMA(AMOUNT/VOL/100,3);
VAR8:=EMA(VAR7,88);
VAR9:=EMA(VAR7,88)*0.85;
VARA:=VAR9*0.87;
JX:=CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10)) AND MA(C,5)<MA(C,10);
JX2:=SUM(OSC.MAOSC,15)/15<60;
JX3:=EVERY(MA(C,20)>REF(MA(C,20),1),10);
VARF:=(2*CLOSE+HIGH+LOW)/4;
VA4:=LLV(LOW,34);
VA5:=HHV(HIGH,34);
VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);
TJ:=CROSS(OSC.OSC,OSC.MAOSC) AND OSC.MAOSC>30;
TJA:=DMI.ADXR>DMI.ADX AND DMI.ADX>30;
TJ1:=(EVERY(VA7>VAR3,10) AND EVERY(VAR2>VAR3,10) AND CROSS(VAR2,VA7) AND TJ AND
TJA);
XXB:FILTER(COUNT(TJ1,32)>0 AND TZ,20) AND REF(C,1)/REF(C,2)<1;

4、底部金叉选股公式

A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长期线:=A+100;
短期线:=B+100;
中期线:=D+100;
底部区域:=(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))
OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ;
低位金叉:50*(长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线
AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 ));

5、拉升找买点选股公式

FLAG:=
KDJ.J<10
AND BIAS.BIAS1<0
AND RSI.RSI1<40
AND C>MA(C,60) AND MA(C,20)>REF(MA(C,20),5);
X:=COUNT(FLAG,3) AND C>OPEN;
注意:X AND NOT(REF(X,1) OR REF (X,2));

6、涨停放量起爆选股公式

MAA5:=MA(C,5);
MAA10:=MA(C,10);
MAA20:=MA(C,20);
MAA30:=MA(C,30);
KS:=IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
A9:=( (C-REF(C,1)) / REF(C,1) ) > 0.02; {涨幅要大于2%}
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)) AND A9;
买1:=FILTER(买=1,5);
{DRAWTEXT(),LOW-0.01,’↖买进’),COLORMAGENTA;
DRAWTEXT(,LOW-0.01,’↖买进’),COLORMAGENTA;
STICKLINE(买,OPEN,CLOSE,2,0),COLORMAGENTA;}
{最近 15 日存在涨停}
涨停:=CLOSE/REF(CLOSE,1)>=1.093;
曾经涨停:= COUNT(涨停,15)>=1;
上穿五十日线:= (CROSS(C, MAA5) AND CROSS(C, MAA10));
选股: ( 买1 AND 曾经涨停 AND 上穿五十日线 );

7、黄金坑短线选股公式

MA1:=MA(CLOSE,3);
MA2:=MA(CLOSE,25);
MA3:=MA(CLOSE,60);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
XG:CROSS(J,D) AND CROSS(J,K) AND J<20 AND MA2>MA3 AND MA1<MA2 AND CCI<-80;

8、MACD提前共振选股公式

DIF:=(EMA(CLOSE,5)-EMA(CLOSE,10))*100;
DEA:=EMA(DIF,5);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
B4:CROSS(DIF,DEA) AND CROSS(“KDJ.K”(9,3,3),”KDJ.D”(9,3,3));

9、强势短线买点选股公式

X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,13);
X_3:=MA(CLOSE,34);
X_5:=BARSLAST(CROSS(X_1,X_2));
X_6:=BARSLAST(CROSS(X_1,X_3));
X_7:=BARSLAST(CROSS(X_2,X_3));
X_8:=X_5>=X_6 AND X_6>X_7 AND X_5-X_7<20;
X_9:=COUNT(CROSS(X_1,X_2),X_5+1)=1 AND COUNT(CROSS(X_1,X_3),X_5+1)=1 AND CROSS(X_2,X_3) AND X_1>X_2 AND X_2>X_3;
X_10:=X_1>REF(X_1,1) AND X_2>REF(X_2,1) AND X_3<REF(X_3,1);
X_11:=X_1>REF(X_1,1) AND X_2>REF(X_2,1) AND X_3>REF(X_3,1);
X_12:=EMA(CLOSE,3);
X_13:=EMA(SLOPE(CLOSE,34)*5+CLOSE,21);
强势短线买点:CROSS(X_12,X_13) AND X_11;

10、大牛启动选股公式

DIF:=EMA(CLOSE,12)-EMA(CLOSE,25);
DEA:=EMA(DIF,5);
MACD:=(DIF-DEA)*2;
macd120:=REF(MACD/2,BARSLAST(MACD=HHV(MACD,120)));
MACD250:=REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)));
大行情:=NOT(REF(MACD120,1)=REF(MACD250,1)) AND MACD120=MACD250;
大牛启动:大行情;

11、主升行情选股公式

多:=EMA(C,3);
空:=EMA(C,5);
均衡:=EMA(空,5);
VARF1:=COUNT(CROSS(多,均衡),2)=1;
VARF2:=COUNT(CROSS(空,均衡),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
主升行情:ZAI;

12、长线大黑马选股公式

VAR1:=1;
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
大户1:=EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
大户:=MA(大户1,2);
主力1:=(100-VARA)*VAR1;
主力:=MA(主力1,2);
游资1:=MA(WINNER(CLOSE*0.95)*100,3)*VAR1*1.1;
游资:=MA(游资1,2);
长线大黑马:CROSS(游资,大户) AND 游资>90 AND C>REF(C,20) AND 主力<30;

13、强于大盘买点选股公式

平衡线:=EMA(C,21),COLOR0066FF;
C1:=EMA(INDEXC,144)/MA(C,144);
大盘平衡线:=EMA(INDEXC/C1,21);
强于大盘买点:CROSS(平衡线,大盘平衡线) AND EMA(C,21)>REF(EMA(C,21),1);

14、阻击龙头选股公式

买买:=EMA(((100 * (CLOSE – LLV(LOW,34))) / (HHV(HIGH,34) – LLV(LOW,34))),3);
卖卖:=SMA((((HHV(HIGH,34) – CLOSE) / (HHV(HIGH,34) – LLV(LOW,34))) * 100),2,1);
A:=(CROSS(买买,卖卖) AND (买买 >= 45));
阻击龙头:A > 0;

15、MACD底背选股公式

DIFF:=EMA(CLOSE,12) – EMA(CLOSE,26);
DEA:=EMA(DIFF,8);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
MACD底背:IF(B1>0,50,0) AND L-0.1;

16、MACD低位金叉选股公式

DIF:=MACD.DIF;
DEA:=MACD.DEA;
低位金叉:CROSS(DIF,DEA) AND DIF<-0.1;

17、三次金叉选股公式

DIF:=MACD.DIF;
DEA:=MACD.DEA;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
三次金叉:CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,60)=1;

18、MACD二次加油选股公式

DIF:=100*(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:=EMA(DIF,9);
FH1:=REF(MACD,1)<REF(macd,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);
FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);
FH4:=FH1 AND FH2 AND ABS((DIF-DEA)/C)<0.018;
FH5:=FH1 AND FH2 AND MACD<0.10;
二次翻红:=(FH3 OR FH4 OR FH5);
低买:=CROSS(DIF,DEA) AND DIF<0;
加油:=CROSS(DIF,DEA) AND DIF>0;
XG:二次翻红 OR 低买 OR 加油;

19、多头粘合选股公式

MA5:=MA(CLOSE,5);
MA21:=MA(CLOSE,21);
MA65:=MA(CLOSE,65);
多头:=COUNT(MA21>MA65,10)=10;
GX:=MAX(MA5,MAX(MA21,MA65));
DX:=MIN(MA5,MIN(MA21,MA65));
粘合:=ABS(GX/DX-1)*100<=15;
多头粘合:多头 AND 粘合;

20、超低追涨拉升选股公式

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
拉升:IF(VAR5<REF(VAR5,1),VAR5,0);

21、筹码集中起爆选股公式

获利筹码:=EMA(WINNER(C)*70,5);
亏损筹码:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);
XG:CROSS(获利筹码,亏损筹码);

附:“招财进宝”指标使用方法:

1、股价运行在紫色线以下意味着该股目前趋势为空头趋势,我们坚决不买股票,即使出现了“招财”提示,中线我们依然耐心持币观望,按照顺势而为的原则,空头趋势不买股票。之所以出现“招财”买入信号是因为在下跌中走出了短线超跌反弹行情,有把握的投资者可以短线轻仓参与。没有十足把握,宁可错过不要犯错!

2、当盘面当中出现“进宝”的提示的时候意味着我们要注意卖出股票收网止盈了。有股友要问了:是不是只要出现“进宝”提示就无条件卖出呢?其实不然,如果我们手里拿的是中线股,当主力资金在洗盘、震仓的时候盘面当中经常会出现“进宝”提示,但只要股价没有跌破紫色的多空分界线中线依然可以持股,以免被主力洗出去。

3、当盘面中股价上穿白色线的时候也是我们的短线买入信号之一。当盘面当中出现“招财”提示,同时股价站上紫色线或者白线金叉紫色线,这时是我们最为稳健的中线建仓机会。

© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
头像

พอกันที ท่ามิชชันนารีสุดเชย ถึงเวลาพลิกจุดให้ปลุกเร้า2年前0

Hello there! This is my first visit to your blog! We are a team of volunteers and starting a new project in a community in the same niche. Your blog provided us beneficial information to work on. You have done a marvellous job!
头像

หลังจากนั้นค่อย ๆ เอาขาลง ทีนี้ก็เริ่มประกอบกิจกรรมอย่างเข้ากันดีได้เลย2年前0

Hi there to every body, it's my first go to see of this weblog; this web site includes awesome and actually excellent data designed for readers.
头像

situs judi online indonesia terpercaya2年前0

bookmarked!!, I really like your blog!