发一个缺口战法的选股指标,1分钱金股就是跳空缺口不回补,仅留下1分钱的缺口打压不下,出现这种股往往主力有做多的意愿。选股指标可以帮你选出跳空不补缺口的个股范围,买卖最好结合其他指标来用。指标可做尾盘选股用。另发一个大智慧缺口主图指标,可以配合看缺口。选股指标为原创大智慧和通达信通用源码,缺口主图为大智慧源码。
{一分钱金股选股———通用源码}
A1:=REF(O,1)>REF(H,2) AND REF(L,1)>REF(H,2);
A2:=L>REF(H,2) AND BETWEEN(L/REF(H,2),1.0001,1.005);
XG1:=A1 AND A2;
A3:=REF(O,2)>REF(H,3) AND REF(L,2)>REF(H,3) AND REF(L,1)>REF(H,3);
A4:=L>REF(H,3) AND BETWEEN(L/REF(H,3),1.0001,1.005);
XG2:=A3 AND A4;
A5:=REF(O,3)>REF(H,4) AND REF(L,3)>REF(H,4)AND REF(L,2)>REF(H,4) AND REF(L,1)>REF(H,4);
A6:=L>REF(H,4) AND BETWEEN(L/REF(H,4),1.0001,1.005);
XG3:=A5 AND A6;
GYTJ:=MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30);
ZHXG:(XG3 OR XG1 OR XG2) AND GYTJ;
{缺口主图—–大智慧版}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,60);
MA6:MA(CLOSE,120);
I1:=0;
flag1:=0;
while I1<BARSLAST(DISPSTATUS=1)-BARSLAST(DISPSTATUS=2)
DO IF REF(H,I1)<REF(L,I1+1) AND REF(L,I1+1)>HHV(H,I1+1)THEN BEGIN FLAG1:=1;
S1:=I1;
I1:=BARSLAST(DISPSTATUS=1);
END
ELSE I1:=I1+1;
STICKLINE(FLAG1,REF(L,S1+1),HHV(H,S1+1),(s1+1)*20,0),Color808080,ALIGN1,LAYER7;
DRAWTEXT(flag1,REF(L,s1+1),NUMTOSTRN(ref(l,s1+1),2)+’-‘+NUMTOSTRN(hhV(h,S1+1),2)),ALIGN2,COLORffffff,linethick2;
I:=0;
flag:=0;
while I<BARSLAST(DISPSTATUS=1)-BARSLAST(DISPSTATUS=2)
DO
IF REF(L,I)>REF(H,I+1) AND REF(H,I+1)<LLV(LOW,I+1)
THEN BEGIN FLAG:=1;
S:=I;
I:=BARSLAST(DISPSTATUS=1);
END
ELSE I:=I+1;
STICKLINE(FLAG,REF(h,S+1),LLV(L,S+1),20*(s+1),500),Color808080,ALIGN1,LAYER7;
DRAWTEXT(FLAG,REF(H,s+1),NUMTOSTRN(ref(h,s+1),2)+’-‘+NUMTOSTRN(LLV(L,S+1),2)),ALIGN2,COLORgreen,linethick2;
评论(0)