涨停 := (CLOSE >= REF(CLOSE,1)*1.093) AND H>=C; {突然的一根涨停阳线 34日内有一个涨停板}
放量大阴 := (OPEN > REF(CLOSE,1)) AND (VOL > REF(VOL,1)) AND VOL/CAPITAL*100 >=3 AND OPEN > MA(CLOSE,34); {AND (OPEN - CLOSE)/OPEN * 100 > 0.01 ; {涨停 后一天高开收阴线 且这根阴线量大于昨天涨停量}
庄家现身 := REF(涨停,1) AND 放量大阴;
涨停后天数 := BARSLAST(涨停); {TS=涨停后天数}
庄家现身后天数 := BARSLAST(庄家现身); {TS=庄家现身后天数}
条件1 := COUNT(庄家现身, 55) AND 庄家现身后天数>4; {3,5,8,13,21,34,55,89日内庄家现过身}
上次涨停价:= REF(HIGH, 庄家现身后天数);
条件2 := (C >= 上次涨停价*0.93) AND (VOL >= REF(VOL,1)*1.3); {如果今日收盘价大于N日前涨停板价咯,并且今日放量}
条件3 := (C >= 3.0); {3元以下个股成功率低}
{加入KDJ条件}
P1:=10; {这个参数调整为7不错}
P2:=4;
VAR1:=LLV(LOW,P1);
VAR2:=HHV(HIGH,P1);
RSV:=(CLOSE-VAR1)/(VAR2-VAR1)*100;
K:=EMA(RSV,P2),COLORWHITE;
D:=EMA(0.667*REF(K,1)+0.333*K,2), COLORYELLOW;
J:=3*K-2*D, COLORFF00FF;
EMA3:=EMA(C,2.6);
EMA5:=EMA(C,5.1);
条件4:= K > D; {K上穿D}
井中月版选股:条件1 AND 条件2 AND 条件3 AND 条件4, LINETHICK2, COLORRED;
DRAWICON(井中月版选股, 0, 9);
涨停2:=CLOSE>REF(CLOSE,1)*1.093 AND H>=C;
高阴:=O>MA(C,50) AND (O-C)/O*100>0.01 AND VOL/CAPITAL*100 >=3 AND REF(C,1)>REF(C,2) AND HIGH/LOW>=1.05 AND V>REF(V,1);
A:=REF(涨停2,1) AND 高阴;
定位高价:=REF(H,BARSLAST(A));
当前价:= (C >= 4.0); {3元以下个股成功率低}
原版选股2: C>定位高价*0.94 AND COUNT(A,30) AND REF(HHV(C,BARSLAST(A))<定位高价,1) AND BARSLAST(A)>6 AND 当前价;
横盘放量:LAST((H-L)/REF(C,1)<0.1,20,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.03
AND "DMI.PDI">"DMI.MDI" AND CROSS("DMI.ADX","DMI.ADXR")
AND"DMI.ADXR">"DMI.MDI" AND "DMI.PDI">"DMI.ADX" AND"KDJ.K">REF("KDJ.K",1), COLORBLUE;
{股票指标网 整理}