求通达信选股公式!!!
选出最近30天内出现10均线在20均线上方至少10天,最多20天情况的股票.
公式如下:
XG:COUNT(MA(C,10)>MA(C,20),30)>=10 AND COUNT(MA(C,10)>MA(C,20),30)<=20;
老实说,你这样会选出太多的票
这样的选股公式还要加其他的条件才能行的。
通达信选股公式(庄家专用不外传)
2013-06-10
12页
5.0分
通达信选股公式
{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三个指标的底背离};
老鼠仓
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;