自编选股公式

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

5日均线上翘
COUNT(MA(C,5)>REF(MA(C,5),1),3)>=3;
10日均线上翘
COUNT(MA(C,10)>REF(MA(C,10),1),3)>=3;
20日均线上翘
COUNT(MA(C,20)>REF(MA(C,20),1),3)>=3;
60日均线上翘
COUNT(MA(C,60)>REF(MA(C,60),1),3)>=3;
5收盘价上穿5日均线预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
A1:=MAX(M30,MAX(M20,MAX(M5,M10)));
A2:=MIN(M30,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
O<MA(C,5) AND (C>O) AND
ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3>=5 AND ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=10 AND ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=10;
10收盘价上穿10均线预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,MAX(M20,MAX(M5,M10)));
A2:=MIN(M60,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
O<MA(C,10) AND (C>O) AND
ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=10 AND ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=20;
20收盘价上穿20均线预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,MAX(M20,MAX(M5,M10)));
A2:=MIN(M60,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
O<MA(C,20) AND (C>O) AND
ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=10 AND ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=30;
A5开盘价小于5日均线 A
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,MAX(M20,MAX(M5,M10)));
A2:=MIN(M60,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
O<MA(C,5) AND
COUNT(C>O,1)=1 AND
COUNT(MA(C,5)>REF(MA(C,5),1),3)>=3 AND COUNT(MA(C,10)>REF(MA(C,10),1),3)>=3 AND COUNT(MA(C,20)>REF(MA(C,20),1),3)>=3;
A10开盘价小于10均线 A
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,MAX(M20,MAX(M5,M10)));
A2:=MIN(M60,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
O<MA(C,10) AND
COUNT(C>O,1)=1 AND
COUNT(MA(C,10)>REF(MA(C,10),1),3)>=3 AND COUNT(MA(C,20)>REF(MA(C,20),1),3)>=3;
A20开盘价小于20均线 A
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,MAX(M20,MAX(M5,M10)));
A2:=MIN(M60,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=4 AND
O<MA(C,20) AND
COUNT(C>O,1)=1 AND
MA(C,10)>MA(C,20) AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=30; 均线粘贴小于6
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
A1:=MAX(M30,MAX(M20,MAX(M5,M10)));
A2:=MIN(M30,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=10 AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=10;
大阳体
CLOSE=H AND OPEN=L AND COUNT(C>O,1)=1 AND
COUNT(MA(C,10)>REF(MA(C,10),1),3)>=3 AND
C/REF(C,1) AND L<MA(C,5) AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=20;
量比>10
DYNAINFO(17)>10 AND
COUNT(C>O,1)=1;
下影线<5%
(MIN(O,C)-L)/L*100<0.5;
上影线<5%
C>O AND (O-L)/(C-O)>1.05;
均线45度向上
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,(M20,MAX(M5,M10)));
A2:=MIN(M60,(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=3 AND
ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3>=45 AND
ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=45 AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=45;
振幅>8
ABS(H-L)<=8 ;
成交量>12均线
(V<MA(V,12));
涨幅>7%
C/REF(C,1)>1.07;
收阳线
COUNT(C>O,1)=1;
一阳吞3阴预
AA:=REF(C,1)<REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3); BB:=C>O;
CC:=C>=REF(HIGH,3);
AA AND BB AND CC AND A TAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=10;
5 10组合预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,(M20,MAX(M5,M10)));
A2:=MIN(M60,(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3>=30 AND ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=30 AND O<MA(C,5) AND CROSS(CLOSE,MA(CLOSE,5));
1阳穿4线
CROSS(C,MA(C,5)) AND
CROSS(C,MA(C,10)) AND
CROSS(C,MA(C,20)) AND
CROSS(C,MA(C,60)) AND
CROSS(C,MA(C,120));
10 20同步预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,MAX(M20,MAX(M5,M10)));
A2:=MIN(M60,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=30 AND ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3<=45 AND ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=30 AND ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3<=45 AND L<MA(C,5) AND
CLOSE>O;
前日涨停股
T1:=(C/REF(C,1)-1)*100>=9.96;
T2:=NOT(H=L);
T3:=NAMELIKE('S') OR NAMELIKE('*');
T4:=(C/REF(C,1)-1)*100>=4.96 AND
T3;XG:(REF(T1,1) OR REF(T4,1)) AND T2;
DIF上穿DEA
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,MAX(M20,MAX(M5,M10)));
A2:=MIN(M60,MIN(M20,MIN(M5,M10)));
DIF:=EMA(CLOSE,24)-EMA(CLOSE,90);
DEA:=EMA(DIF,18);
MACD:=(DIF-DEA)*2;
CROSS(DIF,DEA) AND
MACD>0 AND
(A1-A2)/A2*100<=5;
J上穿D 预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
M120:=MA(C,120);
A1:=MAX(M120,MAX(M60,MAX(M30,(M20,MAX(M5,M10)))));
A2:=MIN(M120,MIN(M60,MIN(M30,(M20,MIN(M5,M10))))); RSV:=(CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100; K:=SMA(RSV,10,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
CROSS(J,D) AND J<35 AND (A1-A2)/A2*100<=5 AND
ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=10;
最低价<3天前L价3%
O<MA(C,5) AND CROSS(CLOSE,MA(CLOSE,5)) AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=30 AND
LOW/REF(LOW,3)>1.03 AND EVERY(C>O,3) ;
短柱变长预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
A1:=MAX(M60,MAX(M30,(M20,MAX(M5,M10))));
A2:=MIN(M60,MIN(M30,(M20,MIN(M5,M10))));
DIF:=EMA(CLOSE,24)-EMA(CLOSE,90);
DEA:=EMA(DIF,18);
MACD:=(DIF-DEA)*2;
COUNT(REF(MACD,1)<REF(MACD,2) AND
REF(MACD,1)>0,3)=3 AND (A1-A2)/A2*100<=5 AND
MACD>REF(MACD,1) AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=20;
红三兵预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,(M20,MAX(M5,M10)));
A2:=MIN(M60,(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
L<MA(C,5) AND
ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3>=5 AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=20 AND
LOW/REF(LOW,2)>1.02 AND EVERY(C>O,3);
MACD金叉预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,60);
A1:=MAX(M30,(M20,MAX(M5,M10)));
A2:=MIN(M30,(M20,MIN(M5,M10)));
DIF:=EMA(CLOSE,24)-EMA(CLOSE,90);
DEA:=EMA(DIF,18);
MACD:=(DIF-DEA)*2;
RSV:=(CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100; K:=SMA(RSV,10,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
A:CROSS(DIF,DEA) AND (J>D) AND (A1-A2)/A2*100<=5 AND ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=10;
飙涨金叉预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A1:=MAX(M60,(M20,MAX(M5,M10)));
A2:=MIN(M60,(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=20 AND CROSS(MA(C,5),MA(C,10)) AND
MA(AMOUNT,12)>
MA(AMOUNT,24);
20 30同步预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
A1:=MAX(M30,MAX(M20,MAX(M5,M10)));
A2:=MIN(M30,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=30 AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3<=45 AND
ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*57.3>=30 AND
ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*57.3<=45 AND
LOW<MA(C,20) AND
CLOSE>O;
30均线预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
A1:=MAX(M30,MAX(M20,MAX(M5,M10)));
A2:=MIN(M30,MIN(M20,MIN(M5,M10)));
(A1-A2)/A2*100<=5 AND
O<MA(C,30) AND (C>O) AND
ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*57.3>=20 AND
ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*57.3>=25;
飙涨KDJ 预
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
M120:=MA(C,120);
A1:=MAX(M60,MAX(M30,(M20,MAX(M5,M10))));
A2:=MIN(M60,MIN(M30,(M20,MIN(M5,M10))));
RSV:=(CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100; K:=SMA(RSV,10,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
CROSS(J,D) AND
((MA(C,120)/REF(MA(C,120),1)-1)*100)*57.3>=10 AND
(A1-A2)/A2*100<=5;。

相关文档
最新文档