通达信选股最全公式

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

1、通达信选股公式

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

A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));

B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));

A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));

B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));

底背离:B1>0 OR B2>0 OR B3>0;

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

2、老鼠仓

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;

3、抄底高手

{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 AND (CLOSE>OPEN OR CLOSE

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

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

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

VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);

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;

3、短线黑马

{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

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

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

(REF(OPEN,2)>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)

VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);

VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);

VAR8:=(CLOSE-VAR6)/VAR6*100<-5;

VAR9:=(VAR6-VAR7)/VAR7*100<-18;

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

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

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

VARE:=VARD AND COUNT(VARD,2)=1 ;

VAR5 OR VARE;

4、逆势操作

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)

相关文档
最新文档