同花顺和通达信通用的选股赚钱公式 下载本文

内容发布更新时间 : 2024/12/27 23:15:41星期一 下面是文章的全部内容请认真阅读。

同花顺和通达信通用的选股公式 {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)

B2:=REF(C,A2+1)>C AND REF(\AND CROSS(\

A3:=BARSLAST(REF(CROSS(\B3:=REF(C,A3+1)>C AND REF(\AND 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 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)

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