选股公式
1,
MID :=MA(CLOSE,N);
UPPER:=MID+2*STD(CLOSE,N);
LOWER:=MID-2*STD(CLOSE,N);
ENTERLONG:CROSS(CLOSE,MID);
EXITLONG:CROSS(CLOSE,UPPER);
布林线
2,均线多头
J5:=MA(C,5);
J10:=MA(C,10);
J20:=MA(C,20);
OK:J5>J10 AND J10>J20;
3,小阳多线
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
A1:=ABS((M5-C)/C);
B1:=ABS((M10-C)/C);
C1:=ABS((M20-C)/C);
A1<0.01 AND B1<0.01 AND C1<0.01;
4,中轨突破
MID :=MA(CLOSE,N);
UPPER:=MID+2*STD(CLOSE,N);
LOWER:=MID-2*STD(CLOSE,N);
ENTERLONG:CROSS(CLOSE,MID);
EXITLONG:CROSS(CLOSE,UPPER);
KDJ底背离
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
DD:LLV(J,20),NODRAW;
BL:=L=LLV(L,20) AND J>DD AND J<K AND J<REF(J,1);
DRAWICON(BL,J,11);
5 60分钟短线
M60:=MA(C,60);
XG:=BOLL.UB>H;
QUSHI:=M60>REF(M60,1) AND BOLL.BOLL>REF(BOLL.BOLL,1);
SG:=BARSLAST(H>BOLL.UB);
GO:M60 AND XG AND QUSHI AND L<M60 AND SG>20;