条件选股公式代码示例
-
相关简介:1、高开高走 QJ0001 OPENREF(CLOSE,1) AND COPEN; 2、创新高 QJ0002 HIGH=HHV(HIGH,N); 3、横盘整理 QJ0003 (HHV(CLOSE,10)
-
文章来源:股海网作者:股海网发布时间:2015-03-25浏览次数:
1、高开高走 QJ0001
OPEN>REF(CLOSE,1) AND C>OPEN;
2、创新高 QJ0002
HIGH=HHV(HIGH,N);
3、横盘整理 QJ0003
(HHV(CLOSE,10)-LLV(CLOSE,10))/CLOSE<0.05;
4、高开未回补 QJ0004 向上跳空后,两天未回补
COUNT(LOW>REF(HIGH,2),2)=2;
5、多头排列 QJ0005 5日,10日,30日均线多头排列
aa:=MA(CLOSE,5);
bb:=MA(CLOSE,10);
cc:=MA(CLOSE,30);
t1:=aa>bb AND bb>cc;
COUNT(t1,4)=4;
6、底分型 QJ0006
L2:=REF(LOW,2);
L1:=REF(LOW,1);
L0:=LOW;
H2:=REF(HIGH,2);
H1:=REF(HIGH,1);
H0:=HIGH;
L1
7、黄昏之星 QJ0007
a1:=OPEN;
a2:=CLOSE;
a3:=HIGH;
b1:=REF(OPEN,1);
b2:=REF(CLOSE,1);
b3:=REF(HIGH,1);
b4:=REF(LOW,1);
c1:=REF(OPEN,2);
c2:=REF(CLOSE,2);
c3:=REF(HIGH,2);
c4:=REF(LOW,2);
aa:=a11.04;
bb:=b1>c3 AND b2>c3 AND ABS(b1-b2)/b1<0.01 AND b3>b1 AND b3>b2 AND b4
cc:=c2/REF(CLOSE,3)>1.04 AND c2>c1;
8、突破底部横盘整理创新高 QJ0008
V1:=MA(VOL,5);
V2:=VOL/REF(V1,1)>2;
PZ1:=MA(CLOSE,m);
pz2:=HHV(HIGH,m);
pz3:=LLV(LOW,m);
pz4:=(pz2-pz1)/pz1;
pz5:=(pz1-pz3)/pz1;
pz:=REF(pz4,1)<0.15 AND REF(pz5,1)<0.15;
TP1:HHV(HIGH,m);
TP:=HIGH=TP1;
V2 AND PZ AND TP;
9、创历史新高 QJ0009
C=HHV(C,0);
10、涨停板攻击 QJ0010
x:=CLOSE/REF(CLOSE,1)>1.0999;
y:=VOL
x AND y;