通达信选股公式(庄家专用不外传)

更新时间:2024-07-08 18:00:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

通达信选股公式

{MACD、KDJ、RSI底背离}

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9);

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)C AND REF(\CROSS(\

A3:=BARSLAST(REF(CROSS(\

B3:=REF(C,A3+1)>C AND REF(\CROSS(\底背离:B1>0 OR B2>0 OR B3>0;

{集成了MACD、KDJ、RSI三个指标的底背离};

老鼠仓

AA1:=AMOUNT/VOL; BB1:=L< AA1*0.9;

CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2; DD1:=L< MA(C,5)*0.921; EE1:=VOL< MA(V,5)*1.5;

老鼠仓:BB1 AND CC1 AND DD1 AND EE1;

抄底高手

{M 15 35 30 N 12 32 27 D 18 50 42}

VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0; VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0; VAR3:=VAR1 AND VAR2;

VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE>940101 (CLOSE>OPEN OR CLOSE

-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) REF(OPEN,1)

(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)REF(CLOSE,3) OR REF

(OPEN,3)REF(CLOSE,4) REF(OPEN,4)

(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)

AND

AND

AND

OR

AND

OR

VAR6:=(CLOSE-VAR5)/VAR5*100;

VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5)); VAR4 OR VAR7;

短线黑马

{K 100 140 100}

VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33); VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100; VAR4:=(VAR1-VAR2)/VAR2*100<-22.3/K*100;

VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN-0.07 AND

(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)REF(CLOSE,2) OR REF (OPEN,2)REF(CLOSE,3) OR REF(OPEN,3)REF(CLOSE,4) OR REF(OPEN,4)REF(CLOSE,5) OR REF(OPEN,5)

REF(CLOSE,6) OR REF(OPEN,6)REF

(CLOSE,7) OR REF(OPEN,7)

VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100; VARB:=SMA(VARA,30,1); VARC:=SMA(VARB,50,1);

VARD:=VAR8 AND VAR9 AND (OPEN>CLOSE OR OPEN-0.05 AND

(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)

逆势操作

VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32); VAR3:=(CLOSE-VAR1)/VAR1*100<-8; VAR4:=(VAR1-VAR2)/VAR2*100<-21;

VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN-0.05 AND

(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)REF(CLOSE,2) OR REF

(OPEN,2)REF(CLOSE,3) OR REF(OPEN,3)

(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)REF(CLOSE,5) OR REF(OPEN,5)

REF(CLOSE,6) OR REF(OPEN,6)REF

(CLOSE,7) OR REF(OPEN,7)

VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;

VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100; VAR8:=SMA(VAR7,50,1); VAR9:=SMA(VAR8,40,1);

VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN

>0.96 ;

(VAR5 OR VARA) ;

成交量变异率VR买入

WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE

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

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

ZH520:=ABS(MA5-MA20)/MA20*100<=10; ZH530:=ABS(MA5-MA30)/MA30*100<=10; 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)); LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT; 买:LYKK AND NOT(REF(LYKK,1));

虚拟成交量>昨日VOL的2倍的股

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 昨日VOL:=REF(VOL,1)*2.0;

ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};

成交量是昨日的1.8倍

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 昨日VOL:=REF(VOL,1)*1.8;

ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};

PDI上穿三线

选股公式源码:

TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);

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

DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14); DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14); PDI:=DMP*100/TR0,colorred; MDI:=DMM*100/TR0;

ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6); ADXR:=(ADX+REF(ADX,6))/2;

CROSS(PDI,MDI) AND CROSS(PDI,ADX) AND CROSS(PDI,ADXR)

今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式

选股公式:

{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价} var1:=v>ref(v,1)*2;

ref(var1,3) and count(c>ref(c,3),3)=3;

倍量柱加三天量减价升喇叭形的真黄金柱公式

倍数:=1.9;

倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND

REF(C,3)>=REF(O,3); 价升量缩:=

LLV(C,3)>=REF(L,3)

AND

HHV(VOL,3)<=REF(VOL,3); 连阳:= COUNT(C>=O,4)=4;

选股:倍量1 AND 价升量缩 AND 连阳;

根据王子老师“凹口起柱”理论编写的凹口指标

王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱。

经观察,股票起柱时是主力行为的表现,是主力意图的表现!是主力留下的痕迹!是量柱开口说话的语言!

这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言!顶起来吧,朋友们!谢谢啦!

T7:=REF(VOL,6)/REF(VOL,7)>=2; T6:=REF(VOL,5)/REF(VOL,6)>=2; T5:=REF(VOL,5)/REF(VOL,4)>=1.5; T4:=REF(VOL,4)/REF(VOL,3)>=1.5; T3:=REF(VOL,2)/REF(VOL,3)>=1.5; T1:=V/REF(VOL,1)>2; T0:=C>O AND C>REF(C,1);

选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ;

下载 (53.76 KB) 2010-1-12 21:29

倍量过左峰选股源码--通达信

SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1); SR2:=FILTER(SR1,10); SR3:=BACKSET(SR2,10+1); HD:=FILTER(SR3,10); 前高:=REF(H,BARSLAST(HD)); 倍

:=VOL/REF(VOL,1)>=2

AND

COUNT(CLOSE>OPEN,1)

OR

LOW>REF(HIGH,1)

AND

COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2; 突破前高:=CROSS(C,前高);

XG:突破前高 AND 倍量;

{MACD、KDJ、RSI底背离}

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9);

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)C

AND

REF(\

CROSS(\

A3:=BARSLAST(REF(CROSS(\B3:=REF(C,A3+1)>C

AND

REF(\

CROSS(\底背离:B1>0 OR B2>0 OR B3>0;

{集成了MACD、KDJ、RSI三个指标的底背离};

老鼠仓

AA1:=AMOUNT/V; BB1:=L

CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L

老鼠仓:BB1 AND CC1 AND DD1 AND EE1;

主力进场

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);

XG:(VAR5>REF(VAR5,1) AND VAR5>0 ) OR (VAR5

60日天量

T1:=V=HHV(V,100); T2:=V/REF(VOL,1)>=3; 选股:T1 AND T2;

AND

AND

135均量线选股

VOLUME:=VOL;

MAVOL1:=MA(VOLUME,5); MAVOL2:=MA(VOLUME,35); MAVOL3:=MA(VOLUME,135);

选股:CROSS(MAVOL1,MAVOL2)OR CROSS(MAVOL1,MAVOL3) OR CROSS(MAVOL2,MAVOL3);

二次翻红

DIF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=2*(DIF-DEA);

FH1:=REF(MACD,1)

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 加油;

AND

REF(MACD,2)

AND

均量互换

VOLUME:=VOL;

MAVOL1:=MA(VOLUME,5); MAVOL2:=MA(VOLUME,35); MAVOL3:=MA(VOLUME,135); 选股:CROSS(MAVOL2,MAVOL3);

成交额均量互换

AMO:=AMOUNT; MAAMO1:=MA(AMO,5); MAAMO2:=MA(AMO,10); MAAMO3:=MA(AMO,40);

XG:CROSS(TJ1,TJ2)AND CROSS(TJ1,TJ3)OR CROSS(MAAMO1,MAAMO2)AND CROSS(MAAMO1,MAAMO3);

凹口起柱

T7:=REF(VOL,6)/REF(VOL,7)>=2; T6:=REF(VOL,5)/REF(VOL,6)>=2; T5:=REF(VOL,5)/REF(VOL,4)>=1.5; T4:=REF(VOL,4)/REF(VOL,3)>=1.5; T3:=REF(VOL,2)/REF(VOL,3)>=1.5; T1:=V/REF(VOL,1)>2; T0:=C>O AND C>REF(C,1);

选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0;

黄金柱选股

VAR1:=V>REF(V,1)*2;

REF(VAR1,3) AND COUNT(C>REF(C,3),3)=3;

日成交量触及5日均量线

M1:=MA(V,5); M2:V > M1;

早盘量满

其中下跌的股票必须用肉眼给过滤掉。

--一个很管用的预警指标

本指标描述的是上午10点前个股成交量与昨天基本相等(指标在上午10点以后就不工作了); 这类股票往往是比较强势,只有在10点前成交量达到昨天水平才会预警; 这个指标只能用在通达信上,其它软件无法改用

早盘量满:CROSS(VOL,REF(VOL,1)) AND FROMOPEN<30 ;

指标解释:CROSS(VOL,REF(VOL,1))--就是今天的成交量超过昨天成交量;

FROMOPEN<30 --就是开盘后30分内有效,那么我们可以根据自己的需要进行改进。 比如可以设在10:00点钟开始预警,到10:30分结束,那么就写成FROMOPEN>30 and FROMOPEN<60.

关于指标我认为必须先搞懂市场含义,才能再去使用指标。网上的指标很多,不泛有大量的好指标,当我们不懂其市场含义时我们不要贸然去用它。

因为本人工作比较忙所以今天没有截到图,有时间再截图给各位朋友! 有时间朋友看看116楼,那是我的一点点想法,抱歉远没有写完!

天地量

A股:CAPITAL/1000000,LINETHICK0,COLORWHITE; VAR2:=1*AMOUNT;

三十日地量:VAR2=LLV(VAR2,30) AND VAR2!=0 AND BARSCOUNT(C)>30; 六十日地量:VAR2=LLV(VAR2,60) AND VAR2!=0 AND BARSCOUNT(C)>60; 一百日地量:VAR2=LLV(VAR2,100) AND VAR2!=0 AND BARSCOUNT(C)>100; 一年地量:VAR2=LLV(VAR2,250) AND VAR2!=0 AND BARSCOUNT(C)>250; 三十日天量:VAR2=HHV(VAR2,30) AND VAR2!=0 AND BARSCOUNT(C)>30; 六十日天量:VAR2=HHV(VAR2,60) AND VAR2!=0 AND BARSCOUNT(C)>60; 一百日天量:VAR2=HHV(VAR2,100) AND VAR2!=0 AND BARSCOUNT(C)>100; 一年天量:VAR2=HHV(VAR2,250) AND VAR2!=0 AND BARSCOUNT(C)>250;

AAA量线选股

CV:=CLOSE;

BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4; UPR:=BBIBOLL+6*STD(BBIBOLL,11);

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

XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSEOPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE

HSL:=(XVL/3)/1.15;

攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); LLJX:=EMA(攻击,3);

B1:=IF(SUM(LLJX,1)>REF(MA(SUM(LLJX,1),1),1),SUM(LLJX,1),DRAWNULL); B2:=IF(SUM(LLJX,2)>REF(MA(SUM(LLJX,2),1),1),SUM(LLJX,2),DRAWNULL); B3:=IF(SUM(LLJX,3)>REF(MA(SUM(LLJX,3),1),1),SUM(LLJX,3),DRAWNULL); B4:=IF(SUM(LLJX,4)>REF(MA(SUM(LLJX,4),1),1),SUM(LLJX,4),DRAWNULL); B5:=IF(SUM(LLJX,5)>REF(MA(SUM(LLJX,5),1),1),SUM(LLJX,5),DRAWNULL); B6:=IF(SUM(LLJX,6)>REF(MA(SUM(LLJX,6),1),1),SUM(LLJX,6),DRAWNULL); B7:=IF(SUM(LLJX,7)>REF(MA(SUM(LLJX,7),1),1),SUM(LLJX,7),DRAWNULL);

B8:=IF(SUM(LLJX,8)>REF(MA(SUM(LLJX,8),1),1),SUM(LLJX,8),DRAWNULL); B9:=IF(SUM(LLJX,9)>REF(MA(SUM(LLJX,9),1),1),SUM(LLJX,9),DRAWNULL); B10:=IF(SUM(LLJX,10)>REF(MA(SUM(LLJX,10),1),1),SUM(LLJX,10),DRAWNULL); XG:B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9;

B8:=IF(SUM(LLJX,8)>REF(MA(SUM(LLJX,8),1),1),SUM(LLJX,8),DRAWNULL); B9:=IF(SUM(LLJX,9)>REF(MA(SUM(LLJX,9),1),1),SUM(LLJX,9),DRAWNULL); B10:=IF(SUM(LLJX,10)>REF(MA(SUM(LLJX,10),1),1),SUM(LLJX,10),DRAWNULL); XG:B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9;

本文来源:https://www.bwwdw.com/article/ctd.html

Top