.. . . ..
通达信选股公式 {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)
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;
. . . .v
.. . . ..
抄底高手
{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 REF(OPEN,1) (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2) AND AND (REF(OPEN,1)>REF(CLOSE,1) OR (REF(OPEN,3)>REF(CLOSE,3) OR REF (OPEN,3) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4) (OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) . . . .v .. . . .. 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 (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)REF(CLOSE,2) OR REF (OPEN,2) AND (REF(OPEN,3)>REF(CLOSE,3) REF(OPEN,3)REF(CLOSE,4) OR REF(OPEN,4) (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) . . OR AND . .v .. . . .. 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 (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; . . . .v .. . . .. VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF (OPEN,2) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3) (OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)