优化了 jm1 jm2 选股公式
jm指标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;
RSVA:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
KA:=SMA(RSVA,3,1);
DA:=SMA(KA,3,1);
JA:=3*KA-2*DA;
TT:=(((9/7*REF(J,1)-2*REF(K,1)+12/7*REF(D,1))/100)*
(HHV(H,9)-LLV(L,9))+LLV(L,9));
STICKLINE(J<1,1,J,2,0),COLORRED;
STICKLINE(J>100,100,J,2,0),COLORCYAN;
STICKLINE(K>=REF(K,1),50,K,2,0),COLORRED;
STICKLINE(K<REF(K,1),50,K,2,0),COLORCYAN;
STICKLINE(RSVA<TT,RSVA,TT,2,0),COLORYELLOW;
MA1:=MA(CLOSE,1);
MA2:MA(CLOSE,5);
MA3:MA(CLOSE,10);
{STICKLINE(MA1>MA2,MA1,MA2,2,0),COLORRED;}
{STICKLINE(MA1<MA2,MA1,MA2,2,0),COLORCYAN;}
A:=K>=REF(K,1) AND RSVA<TT;
B:=REF(MA1,1)<REF(MA2,1) AND MA1>MA2;
CC:=COUNT(J<1,3)=3;
DD:=C>LLV(C,20);
E:=COUNT(RSVA<TT,3)=3;
XG:B AND REF(K,1)<REF(K,2) AND K>=REF(K,1) AND RSVA<TT AND REF(RSVA,1)>REF(TT,1);
STICKLINE( REF(J,1)<1 AND J>REF(J,1) AND B
AND REF(K,0)>=REF(K,1) AND MA1>MA2
AND REF(CC,1)=1 AND REF(E,1)=1
,0,100,1,0),COLORYELLOW;
jm优化选股公式
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;
RSVA:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
KA:=SMA(RSVA,3,1);
DA:=SMA(KA,3,1);
JA:=3*KA-2*DA;
TT:=(((9/7*REF(J,1)-2*REF(K,1)+12/7*REF(D,1))/100)*
(HHV(H,9)-LLV(L,9))+LLV(L,9));
MA1:=MA(CLOSE,1);
MA2:=MA(CLOSE,5);
MA3:=MA(CLOSE,10);
{STICKLINE(MA1>MA2,MA1,MA2,2,0),COLORRED;}
{STICKLINE(MA1<MA2,MA1,MA2,2,0),COLORCYAN;}
A:=K>=REF(K,1) AND RSVA<TT;
B:=REF(MA1,1)<REF(MA2,1) AND MA1>MA2;
CC:=COUNT(J<1,3)=3;
DD:=C>LLV(C,20);
E:=COUNT(RSVA<TT,3)=3;
XG:=B AND REF(K,1)<REF(K,2) AND K>=REF(K,1) AND RSVA<TT AND REF(RSVA,1)>REF(TT,1);
XGG:REF(J,1)<1 AND J>REF(J,1) AND B
AND REF(K,0)>=REF(K,1) AND MA1>MA2
AND REF(CC,1)=1 AND REF(E,1)=1;
9月30日 选出2只上海A股
谢谢楼主分享…… 9月30日 选出1只上海A股 600999 9 月30日 深圳 7只 9月 27日 上海28只 其中600348 有代表意义 10月8日到22日 上海出击了2只600406 600697 请验证 回复 1# 韩辉 谢谢楼主分享…… 谢谢楼主分享…… 本帖最后由 ctxiong 于 2010-10-23 21:33 编辑
Q1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Q2:=SMA(Q1,3,1);
Q3:=SMA(Q2,3,1);
Q4:=3*Q2-2*Q3;
Q5:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
Q6:=SMA(Q5,3,1);
Q7:=SMA(Q6,3,1);
Q8:=(((9/7*REF(Q4,1)-2*REF(Q2,1)+12/7*REF(Q3,1))/100)*(HHV(H,9)-LLV(L,9))+LLV(L,9));
MA1:=MA(CLOSE,1);
MA2:=MA(CLOSE,5);
Q9:=REF(MA1,1)<REF(MA2,1) AND MA1>MA2;
Q10:=COUNT(Q4<1,3)=3;
Q11:=COUNT(Q5<Q8,3)=3;
XG:=Q9 AND REF(Q2,1)<REF(Q2,2) AND Q2>=REF(Q2,1) AND Q5<Q8 AND REF(Q5,1)>REF(Q8,1);
扫荡:REF(Q4,1)<1 AND Q4>REF(Q4,1) AND Q9 AND REF(Q2,0)>=REF(Q2,1) AND MA1>MA2 AND REF(Q10,1)=1 AND REF(Q11,1)=1;
谢谢楼主分享……
感觉不错,谢谢楼主分享…… 好东西。。。。。。。。。。。。。。 感觉不错,谢谢楼主分享……
页:
[1]
2