以下是启动、盘整、突破三区间(雷二版主图选股源码)
盘整天数 1 15 6
下探幅度 1 15 5
上冲幅度 1 25 25
ref((c-ref(c,1))/ref(c,1)>0.09,盘整天数) and count((c-ref(c,1))/ref(c,1)>0.09,盘整天数+1)=1 and (HHV(h,盘整天数)-ref(c,盘整天数))/ref(c,盘整天数)*100<上冲幅度 and (LLV(l,盘整天数)-ref(c,盘整天数))/ref(c,盘整天数)*100>(下探幅度*-1);
条件是:1、初级段:股价在上涨初期,突然启动两个以上的连续涨停;
2、横盘段:a、当股价进入压力位时,涨停打开进入平台调整,成交量逐步减缓,震荡幅度也趋减;
b、调整时间5到20天;
c、调整是以横盘替代下跌,其幅度不跌破10天均线:
3、加油段:突然放量涨停该平台,创出平台高点。
这个是别人的理念,现拿来与大家分享 再次重申 喜欢就下载,不喜欢就绕
{主图}
M20:MA(C,20);
ZT:=C>REF(C,1)*1.095 AND C=H;
A:=BARSLASTCOUNT(ZT);
T1:=BARSLAST(A>=2);
TJ1:=H/REF(C,1)>=1.095 AND C<H;
TJ2:=COUNT(TJ1,T1+1)=1 AND TJ1 ;
T2:=BARSLAST(TJ2);
ZF:=(HHV(H,T2+1)-LLV(L,T2+1))/LLV(L,T2+1)*100;
TJ3:=EVERY(C>=MA(C,20) AND V<REF(V,T2),T2) AND BETWEEN(T2,5,20) AND ZF<15;
TJ4:=ZT AND V>REF(V,1) AND H=HHV(H,T2+1) AND A=1;
XG:=REF(TJ3,1) AND TJ4 AND T1-T2>0;
QF:=BACKSET(XG,T2+1);
QT1:=BARSLAST(CROSS(QF=1,0.5));
QF2:=BACKSET(QT1=0,BARSLAST(ZT)+1);
QT2:=BARSLAST(CROSS(QF2=1,0.5) AND A>1);
QF3:=BACKSET(QT2=0,BARSLAST(A=1)+1);
QT3:=BARSLAST(CROSS(QF3=1 AND A=1,0.5));
STICKLINE(QF3=1,C,O,2,0),COLORYELLOW;
STICKLINE(QF3=1,H,L,0,0),COLORYELLOW;
DRAWLINE(QT1=0,H,XG,REF(H,QT1),0),COLORMAGENTA,DOTLINE;
DRAWTEXT(QT3=0,H*1.35,'启'),COLORYELLOW;
DRAWTEXT(QT3=0,H*1.2,'动'),COLORYELLOW;
DRAWTEXT(QT3=0,H*1.05,'区'),COLORYELLOW;
DRAWTEXT(QT1=0,H*1.05,'横盘区'),COLORMAGENTA;
STICKLINE(XG,C,O,2,0),COLORWHITE;
STICKLINE(XG,H,L,0,0),COLORWHITE;
DRAWICON(XG,L*0.95,11);
{幅图}
ZT:=C>REF(C,1)*1.095 AND C=H;
A:=BARSLASTCOUNT(ZT);
T1:=BARSLAST(A>=2);
TJ1:=H/REF(C,1)>=1.095 AND C<H;
TJ2:=COUNT(TJ1,T1+1)=1 AND TJ1 ;
T2:=BARSLAST(TJ2);
ZF:=(HHV(H,T2+1)-LLV(L,T2+1))/LLV(L,T2+1)*100;
TJ3:=EVERY(C>=MA(C,20) AND V<REF(V,T2),T2) AND BETWEEN(T2,5,20) AND ZF<15;
TJ4:=ZT AND V>REF(V,1) AND H=HHV(H,T2+1) AND A=1;
XG:=REF(TJ3,1) AND TJ4 AND T1-T2>0;
STICKLINE(XG,0,6,1.5,0),COLORWHITE;
{选股}
ZT:=C>REF(C,1)*1.095 AND C=H;
A:=BARSLASTCOUNT(ZT);
T1:=BARSLAST(A>=2);
TJ1:=H/REF(C,1)>=1.095 AND C<H;
TJ2:=COUNT(TJ1,T1+1)=1 AND TJ1 ;
T2:=BARSLAST(TJ2);
ZF:=(HHV(H,T2+1)-LLV(L,T2+1))/LLV(L,T2+1)*100;
TJ3:=EVERY(C>=MA(C,20) AND V<REF(V,T2),T2) AND BETWEEN(T2,5,20) AND ZF<15;
TJ4:=ZT AND V>REF(V,1) AND H=HHV(H,T2+1) AND A=1;
XG:REF(TJ3,1) AND TJ4 AND T1-T2>0;