选股小公式(三)
(0190){选股公式}
input.:p(6,2,50),ll(20,0,35);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),p,1)/SMA(ABS(CLOSE-LC),p,1)*100;
买入:CROSS(RSI,LL);
(0191){选股公式}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
ZX:=(MA5+MA10)/2;
QSXS:=MA5>=MA30 ANDMA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) ANDREF(ZX,1)<REF(ZX,2);
YB:=C>REF((O-C)/2+C,2);
买:CROSS(C,ZX) AND (GD OR YB) AND QSXS;
(0192){选股公式}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
ZX:=(MA5+MA10)/2;
QSXS:=MA5>=MA30 ANDMA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) ANDREF(ZX,1)<REF(ZX,2);
YB:=C>REF((O-C)/2+C,2);
买:=CROSS(C,ZX) AND (GD OR YB) AND QSXS;
买入易涨停:买 AND MA5>REF(MA5,1);
(0193){选股公式}
N:=80;M:=5;P:=1;
低:=REF(LLV(L,N),M);
低点:=REFDATE(低,DATE);
ABS(C/低点-1)*100<=P;
(0194){选股公式}
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
白K买点:CROSS(C,买进价) AND 买进价>REF(买进价,1);
(0195){选股公式}
VARA:=LLV(LOW,35);
VARB:=HHV(HIGH,30);
统计数据:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*19;
近日均价:=MA(CLOSE,5);
上穿买入:CROSS(统计数据,近日均价);
(0196){选股公式}
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB:=SMA(VARA,3,1);
VARC:=SMA(VARB,3,1);
加速:=EMA(3*VARB-2*VARC,3);
cross(加速,ma(加速,2));
(0197){选股公式}
MA5:=MA(CLOSE,5);
界:=MA(CLOSE,21);
CROSS(MA5,界);
(0198){顾比均线--均线多头排列选股公式}
短3:=EMA(CLOSE,3);
K5:=EMA(CLOSE,5);
K8:=EMA(CLOSE,8);
K10:=EMA(CLOSE,10);
K12:=EMA(CLOSE,12);
K15:=EMA(CLOSE,15);
长30:=EMA(CLOSE,30);
K35:=EMA(CLOSE,35);
K40:=EMA(CLOSE,40);
K45:=EMA(CLOSE,45);
K50:=EMA(CLOSE,50);
K60:=EMA(CLOSE,60);
短3>k5 and k5>k8 andk8>k10 and k10>k12 andk12>k15 and K15>长30 and长30>k35 and k35>k40 andk40>k45 and k45>k50 andk50>k60;
(0199){选股公式}
{顾比均线--自短3到K15线6根短期均线多头排列且股价及短3站上60线选股 }
短3:=EMA(CLOSE,3);
K5:=EMA(CLOSE,5);
K8:=EMA(CLOSE,8);
K10:=EMA(CLOSE,10);
K12:=EMA(CLOSE,12);
K15:=EMA(CLOSE,15);
K60:=EMA(CLOSE,60);
短3>k5 and k5>k8 andk8>k10 and k10>k12 andk12>k15 and c>K60 and短3>K60;
(0200){选股公式}
{预测量--预测量是昨日量的两倍选股 }
预测量:=IF(DYNAINFO(7)=CLOSE ANDDYNAINFO(10)=AMOUNT,VOL*240/(OPENMINUTES(CURRENTTIME)),0);
预测量>=ref(v,1)*2;
(0201){选股公式}
{超强逃顶--红线出现选股 }
a:=(3*c+l+o+h)/6;
b:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)
+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
d:=ma(b,3);
cross(b>d,0.5);
(0202){选股公式}
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1)ANDREF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);
SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) ANDH>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) ANDC>REF(C,1) AND C>O;
MR:=SC AND COUNT(SS,2);
必涨:MR AND NOT(REF(MR,1));
(0203){选股公式}
VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
阻力线:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20);
空头线:=LLV(阻力线,8);
XG:cross(阻力线,空头线);
(0204){选股公式}
拉升力:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,33)-LLV(LOW,46))*1.8*CLOSE;
拉升力A:=SMA(拉升力,9,1);
波峰波谷:=SMA(拉升力A,4,1);
拉升力B:=3*拉升力A-2*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:=IF(空方>拉升力B,拉升力B,空方);
XG:cross(做空,波峰波谷);
(0205){选股公式}
Var1:=REF(CLOSE,1);
Var3:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
Var5:=SMA(MAX(CLOSE-Var1,0),24,1)/SMA(ABS(CLOSE-Var1),24,1)*100;
Var8:=IF(CLOSE>=MA(CLOSE,20),80,50);
VarA:=IF(Var3<Var8 ANDREF(Var3,1)>=Var8,HHV(REF(HIGH,1),BARSLAST(Var3>=Var8ANDREF(Var3,1)<Var8)-1),REF(HHV(REF(HIGH,1),BARSLAST(Var3>=Var8ANDREF(Var3,1)<Var8)-1),BARSLAST(Var3<Var8AND REF(Var3,1))));
VarB:=IF(HIGH>VarA,LOW,REF(LOW,BARSLAST(HIGH>VarA)));
VarC:=IF(HIGH>VarA,Var3,REF(Var3,BARSLAST(HIGH>VarA)));
压力线:=IF(HIGH>VarB AND Var3<VarC ANDVar3<Var5,HIGH,REF(HIGH,BARSLAST(HIGH>VarBAND Var3<VarC AND Var3<Var5)));
XG:cross(c,压力线);
(0206){选股公式}
牛熊线:=EMA(MA(CLOSE,3),34);
XG:cross(c,牛熊线);
(0207){选股公式}
qj1:=REF(C,1)/C<=1.03;
qj2:=C/REF(C,1)>=1.03;
qj3:=C-REF(O,1)=0;
霸占大牛股:qj1 AND qj2 AND qj3;
(0208){选股公式}
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:=3*Q3-2*Q4;
趋势线:=EMA(Q3, 3);
逢低买入:REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势;
(0209){选股公式}
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
CG:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));
A:=cg-(EMA(CLOSE,3)-cg);
CROSS(CG,A);
(0210){选股公式}
短线bbi:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
长线ebbi:=(ema(c,6)+ema(c,18)+ema(c,54)+ema(c,162))/4;
cross(短线bbi,长线ebbi);
(0211){选股公式}
MA18:=MA(C,18);
BZA18:=BarsLast(C<MA18);
BZB18:=BarsLast(MA18<REF(MA18,1));
V06:=MA(VOL,6);
V36:=MA(VOL,36);
看多:BZA18>=2 AND BZB18=1 AND V06>V36AND CX=2;
(0212){选股公式}
VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
阻力线:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20);
空头线:=LLV(阻力线,8);
XG:CROSS(阻力线,空头线+0.01);
(0213){抄底'选股公式}
VARA:= "KDJ.J"(28,14,7)<20;
VARB:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<(-8)
AND REF(CLOSE,2)/REF(OPEN,2)<0.95 ANDREF(OPEN,1)<REF(CLOSE,2)
AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03AND CLOSE/OPEN>1.05
AND CLOSE>REF(CLOSE,2);
VARA AND VARB;
(0214){选股公式}
{操盘线--"B点"选股 }
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
cross(买线,卖线);
(0215){选股公式}
{操盘线--"S点"选股 }
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
cross(卖线,买线);
(0216){选股公式}
{操盘线--股价下3MA选股 }
cross(ma(c,3),c);
(0217){选股公式}
{操盘线--"B点"+股价下3MA选股 }
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
cross(卖线,买线) and cross(ma(c,3),c);
(0218){选股公式}
{双线变红,A线向上选股 }
D:=EMA((C*3+H+L+O)/6,5);
买卖:=D;
A线:=HHV(D,13);
B线:=LLV(D,13);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
周MACD:="MACD.MACD#WEEK"(12,26,9);
k1:=A线>ref(A线,1) or (A线=ref(A线,1) andsum(A线<ref(A线,1),barslast(A线>ref(A线,1)))=0);
cross(MACD>=0 and 周MACD>=0 andk1,0.5);
(0219){选股公式}
Var1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
Var1E:=EMA(Var1D,30);
Var1F:=2*(Var1D-Var1E)*10;
Var20:=POW(Var1F,3)*0.1+POW(Var1F,2);
VAR25:=IF(Var1F>0.015,Var20,0)/45;
庄拉线:cross(VAR25,0);
(0220){选股公式}
HZ:=EMA(CLOSE,13);
短波:=EMA(HZ,1);
HZ2:=EMA(HZ,8);
HZ4:=EMA(HZ,39);
大盘线:=70*(HHV(HIGH,39)-CLOSE)/(HHV(HIGH,39)-LLV(LOW,39));
RSV:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
FASTK:=SMA(RSV,12,1);
K:=SMA(FASTK,9,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
买点:CROSS(短波,HZ2) AND C>O AND J>K ANDJ>D AND 大盘线<36 ANDC>HZ4;
(0221){选股公式}
底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
拉升:CROSS(底部吸筹指标,-5.4) and (8+底部吸筹指标)*10>=29;
(0222){选股公式}
VAR1:=3;
VAR2:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) -LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
股价启动在即:CROSS(VAR2,VAR1);
(0223){选股公式}
VAR2:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) -LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
秘密买点:VAR2<=3;
(0224){选股公式}
VAR2:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) -LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
机构建增补仓:VAR2<5;
(0225){2合一选股公式}
量:=V;
换手:=V/CAPITAL*100;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
DLX:=(买盘-(-卖盘))/量*换手;
DLX1:=SUM(DLX,6);
DLX2:=MA(DLX1,5);
DLX3:=MA(DLX1,10);
DLX1上涨:=DLX1>REF(DLX1,1) ANDREF(DLX1,1)>0;
DLX2上涨:=DLX2>REF(DLX2,1) ANDREF(DLX2,1)<0 AND REF(DLX2,1)>-1.00AND DLX2>0.6;
DLX3上涨:=DLX3>REF(DLX3,1);
XG1:=DLX1上涨 AND DLX2上涨 AND DLX3上涨 ANDCLOSE>REF(CLOSE,1);
XG2:=DLX1/REF(DLX1,1)>=1.1 ;
XG3:=(DLX2+ABS(REF(DLX2,1)))/ABS(REF(DLX2,1))>=1.05;
XG4:=DLX1/DLX2>=1.08;
k1:=XG1 and XG2 and XG3 and XG4;
DLX1上涨2:=DLX1>REF(DLX1,1) ANDREF(DLX1,1)<0;
DLX2上涨2:=DLX2>REF(DLX2,1) ANDREF(DLX2,1)<0 AND REF(DLX2,1)>-1.00AND DLX2>0.6;
DLX3上涨2:=DLX3>REF(DLX3,1);
XG12:=DLX1上涨 AND DLX2上涨2 AND DLX3上涨2 ANDCLOSE>REF(CLOSE,1);
XG22:=DLX1+ABS(REF(DLX1,1))/ABS(REF(DLX1,1))>=1.1;
XG32:=(DLX2-REF(DLX2,1))/ABS(REF(DLX2,1))>=1.05;
XG42:=DLX1/DLX2>=1.08;
k2:=XG12 and XG22 and XG32 and XG42;
k1 or k2;
(0226){白线上穿--白线上穿变色线选股公式}
REV0:=EMA((CLOSE-LLV(C,34))/(HHV(H,34)-LLV(C,34))*100,1);
A:=MA(C,4);
B:=A>REF(A,1);
cross(REV0,A);
(0227){白线上穿--绿线第一天变红线选股公式}
REV0:=EMA((CLOSE-LLV(C,34))/(HHV(H,34)-LLV(C,34))*100,1);
A:=MA(C,4);
B:=A>REF(A,1);
cross(B-1=0,0.5);
(0228){选股公式}
Var26:=EMA(CLOSE,2)-EMA(CLOSE,150);
Var27:=EMA(Var26,100);
Var28:=2*(Var26-Var27);
Var29:=POW(Var28,3)*0.1+POW(Var28,1);
线:=IF(Var28>0.1,Var29,0)*5;
XG:cross( 线,0);
(0229){选股公式}
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
买入:CROSS(X2,X3);
(0230){选股公式}
ema13:=ema(c,13);
ema21:=ema(c,21);
ema34:=ema(c,34);
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5));
gr2:=ema13>ema21 and ema21>ema34 andema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 andh=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
gr8:=gr6 and gr7;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*v/capital;
拉升:filter(rsi6>95 and 换手>=7,3) orfilter(bias5>9,3) or gr8;
(0231){选股公式}
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR25:=IF(VAR1F>0.015,VAR20,0)/45;
庄拉线:CROSS(VAR25,0.001);
(0232){选股公式}
Var26:=EMA(CLOSE,2)-EMA(CLOSE,150);
Var27:=EMA(Var26,100);
Var28:=2*(Var26-Var27);
Var29:=POW(Var28,3)*0.1+POW(Var28,1);
线:=IF(Var28>0.1,Var29,0)*5;
XG:cross( 线,0.001);
(0233){选股公式}
参数:n1 10 p1 3
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
上:=BBI+P1*STD(BBI,N1);
cross(c,上);
(0234){选股公式}
Var1:=REF(CLOSE,1);
Var2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
Var3:=(CLOSE-Var1)*Var2;
Var4:=SUM(Var3,0);
Var5:=SMA(Var4,10,1);
Var6:=SMA(Var4,20,1);
长线资金:=MA(Var5-Var6,10);
短线资金:=Var5-Var6;
cross(短线资金,长线资金);
(0235){选股公式}
VAR1A:=LLV(LOW,21);
VAR2A:=HHV(HIGH,21);
快1:=EMA((CLOSE-VAR1A)/(VAR2A-VAR1A)*100,5);
VAR3A:=EMA((CLOSE-VAR1A)/(VAR2A-VAR1A)*50,13);
VAR5A:=LLV(LOW,55);
VAR6A:=HHV(HIGH,34);
VAR7A:=EMA((CLOSE-VAR5A)/(VAR6A-VAR5A)*100,3);
VAR8A:=(VAR3A+VAR7A)/2;
VARAA:=EMA(VAR8A,5);
VARB:=EMA(0.667*REF(VARAA,1)+0.333*VARAA,2);
低点:CROSS(快1,VARB) AND VARB<30;
(0236){选股公式}
生命线:=MA(CLOSE,20);
取舍线:=MA(CLOSE,10);
CROSS(取舍线,生命线);
强于大盘:FILTER(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),30);
(0237){选股公式}
VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=EMA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK:=EMA(VAR6,2)*1.22;
AD:=EMA(AK,2);
红短线:CROSS(AK,AD);
(0239){选股公式}
K线出向上“红箭头”:
N:=13;
A:=HHV(HIGH,N)=HIGH AND HIGH>REF(HIGH,1);
A1:=FILTER(A,N-1);
TS1:=BARSLAST(A1);
箱顶:=REF(HIGH,TS1);
红箭头:CROSS(CLOSE,箱顶);
(0240){选股公式}
K线上穿“庄家成本”:
庄家成本:=LLV(LOW,120)*1.2;
CROSS(C,庄家成本);
(0241){选股公式}
K线上穿“支撑线”:
Var1:=REF(CLOSE,1);
Var3:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
Var5:=SMA(MAX(CLOSE-Var1,0),24,1)/SMA(ABS(CLOSE-Var1),24,1)*100;
Var9:=IF(CLOSE>=MA(CLOSE,20),50,20);
VarE:=IF(Var3>Var9 ANDREF(Var3,1)<=Var9,LLV(REF(LOW,1),BARSLAST(Var3<=Var9ANDREF(Var3,1)>Var9)-1),REF(LLV(REF(LOW,1),BARSLAST(Var3<=Var9ANDREF(Var3,1)>Var9)-1),BARSLAST(Var3>Var9AND REF(Var3,1))));
VarF:=IF(LOW<VarE,HIGH,REF(HIGH,BARSLAST(LOW<VarE)));
Var10:=IF(LOW<VarE,Var3,REF(Var3,BARSLAST(LOW<VarE)));
支撑线:=IF(LOW<VarF AND Var3>Var10 ANDVar3>Var5,LOW,REF(LOW,BARSLAST(LOW<VarFAND Var3>Var10 ANDVar3>Var5)));
CROSS(C,支撑线);
(0242){选股公式}
M1:=MA(CLOSE,3);
M2:=MA(CLOSE,5);
M3:=MA(CLOSE,8);
M4:=MA(CLOSE,13);
M5:=MA(CLOSE,21);
V1:=(M1-M2)/M1*1000;
V2:=(M1-M3)/M1*1000;
V3:=(M1-M4)/M1*1000;
V4:=(M1-M5)/M1*1000;
背离差:=(ABS(V1)+ABS(V2)+ABS(V3)+ABS(V4)-ABS(V1+V2+V3+V4))*(V1+V2+V3+V4)/ABS(V1+V2+V3+V4);
发散:=(V1+V2+V3+V4+背离差)/4;
发散趋势:=EMA(EMA(发散,3),3);
向上箭头:cross(发散,发散趋势) and 发散趋势<0;
(0243){选股公式}
VAR1aa:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
VAR2aa:=VOL;
上升价格线:=(SUM((VAR1aa)*(VAR2aa),8))/(SUM(VAR2aa,8));
下降价格线:=LLV(上升价格线,8);
XG:CROSS(上升价格线,下降价格线+0.01);
(0244){选股公式}
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY1:=REF(EMA(V1,3),1);
买:CROSS(CLOSE,HY1);
===========
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY1:=REF(EMA(V1,3),1);
卖:CROSS(HY1,CLOSE);
(0245){选股公式}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA<=0));
高位二次金叉:CROSS(DIFF,DEA) AND DEA>0 ANDCOUNT(JCCOUNT=2,21)=1;
============
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
低位二次金叉:CROSS(DIFF,DEA) AND DEA<0 ANDCOUNT(JCCOUNT=2,21)=1;
(0246){选股公式}
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
CROSS(X2,X3);
(0247){选股公式}
ema13:=ema(c,13);
ema21:=ema(c,21);
ema34:=ema(c,34);
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5));
gr2:=ema13>ema21 and ema21>ema34 andema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 andh=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
gr8:=gr6 and gr7;
LC := REF(CLOSE,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
换手:=100*v/capital;
filter(rsi6>95 and 换手>=7,3) orfilter(bias5>9,3) or gr8;
(0248){选股公式}
Var9:=SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,4,1);
Vara:=SMA((Var9-50)*2,3,1);
Var10:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);
Var11:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);
波浪线:=SMA((Var11-50)*2,3,1)+SMA((Var10-50)*2,3,1)/2;
Var13:=FILTER(波浪线>ref(波浪线,1)AND波浪线<-20,10);
Var14:=FILTER(波浪线<ref(波浪线,3)and波浪线>ref(波浪线,1)and 波浪线<-10,7);
Var17:=Var11<REF(Var11,3)ANDVar11>REF(Var11,2)AND Var11<30;
笑脸:FILTER(Var13 OR Var14 OR Var17,5)ANDVara>REF(Vara,1);
(0249){选股公式}
Var1:=(HIGH+LOW+CLOSE)/3;
Var2:=(Var1-MA(Var1,14))/(0.015*AVEDEV(Var1,14));
Var3:=(Var1-MA(Var1,70))/(0.015*AVEDEV(Var1,70));
Var5:=IF(Var2<=-150 AND Var2>-200 ANDVar3<=-150 AND Var3>-200,10,0);
Var10:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);
Var11:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);
地线:=IF(BARSCOUNT(CLOSE)<70,-120,IF(Var3<=-200AND Var2<=-150,15,Var5)-120);
波浪线:=SMA((Var11-50)*2,3,1)+SMA((Var10-50)*2,3,1)/2;
抄底:CROSS(波浪线,地线);
(0250){选股公式}
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) ANDVOL>REF(VOL,1) ANDCLOSE>REF(CLOSE,1);
庄家异动:VAR11 AND COUNT(VAR11,30)=1;
(0251){选股公式}
P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
CC:=(SUM(IF((P >REF(P,1)),(P)*(VOL),0),4))/(SUM(IF((P <REF(P,1)),(P)*(VOL),0),4));
DD:=REF(100 - (100)/(1 + CC),1);
A1:=HHV(P,15);
A2:=LLV(P,15);
A3:=A1-A2;
短风险:=(EMA((P - A2)/(A3),2))*(100);
B1:=HHV(P,60);
B2:=LLV(P,60);
B3:=B1-B2;
中风险:=(EMA((P - B2)/(B3),2))*(100);
C1:=HHV(P,240);
C2:=LLV(P,240);
C3:=C1-C2;
长风险:=(EMA((P - C2)/(C3),2))*(100);
D1:=(中风险 > REF(中风险,1)) AND (短风险 >REF(短风险,1)) AND (长风险 > REF(长风险,1)) AND (长风险< 8) AND (中风险 < 10) AND (短风险< 15);
D2:=CROSS(短风险,中风险) AND (中风险 < 8);
D3:=CROSS(短风险,长风险) AND (长风险 < 8) AND (中风险< 20);
FILTER(D1 OR D2 OR D3 AND (DD < 15) AND (CLOSE> REF(CLOSE,1)),5);
(0252){选股公式}
胜者选股1:
VAR1:=IF((((CLOSE AND (MA(VOL,5) / 240)) AND (CLOSE> (REF(CLOSE,1) * 1))) AND CLOSE),88,0);
VAR2:=IF(((((((CLOSE / REF(CLOSE,1)) > 1.06) AND(((VOL / CAPITAL) * 100) < 10)) AND (CLOSE< 17)) AND ((HIGH / CLOSE) < 1.01))AND (VAR1 > 0)),91,0);
(VAR2 > 90);
(0253){选股公式}
胜者选股2:
VAR1:=IF(((MA(VOL,5) / 240) AND (CLOSE >(REF(CLOSE,1) * 1))),8,0);
VAR2:=IF(((((((CLOSE / REF(CLOSE,1)) >= 1.07) AND(((VOL / CAPITAL) * 100) < 10)) AND (CLOSE< 18)) AND ((HIGH / CLOSE) < 1.01))AND (VAR1 > 0)),10,0);
VAR3:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR4:=((EMA(CLOSE,12) - EMA(CLOSE,26)) * 100);
FNZH:=((VAR4 < (0 - 50)) AND (VAR3 >7));
VAR2 > 9 OR FNZH;
(0254){选股公式}
胜者选股3:
Var1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(Var1,13)-EMA(Var1,73);
SD:= EMA(SK,2);
短线:(cross(sk,sd) and sk<-0.04 and(c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) andsk<=-0.14 ) or (cross(sk,sd) andsk<=0.05 and (v/ma(v,5)>2 orc/ref(c,1)>0.035));
(0255){选股公式}
胜者选股4:
jjc1:=EMA((HIGH+4*LOW+OPEN+CLOSE)/7,13);
jjc2:=EMA((HIGH+4*LOW+OPEN+CLOSE)/7,34);
jjc:=jjc1-jjc2;
ydjj:=EMA(jjc,5);
jc:=(jjc-ydjj)*5;
dsj2:=IF(jc<=(HIGH+4*LOW+OPEN+CLOSE)/7,(HIGH+4*LOW+OPEN+CLOSE)/7,jc);
dsj:=IF(jc>=1000,1000,dsj2);
看盘线:=(HIGH+4*LOW+OPEN+CLOSE)/7;
神奇线:=FORCAST(FORCAST(dsj,31),10);
CROSS(看盘线,神奇线);
(0256){选股公式}
胜者选股5:
★洗钱★:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * 1.2 *CLOSE;
★洗钱★A:=SMA(★洗钱★,13,1);
【洗钱】目的:=SMA(★洗钱★A,5.5,1.5);
★洗钱★B:=3 * ★洗钱★A - 2 * 【洗钱】目的;
CROSS(★洗钱★B,【洗钱】目的);
(0257){选股公式}
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
Y:=IF(CROSS(J,REF(J+0.01,1)) AND X ANDJ<20,30,0);
FILTER((CROSS(J,REF(J+0.01,1)) AND X ANDJ<20),5);
(0258){选股公式}
n:0 20 3
m:0 100 20
主力:=EMA( (CLOSE-MA(CLOSE,n))/MA(CLOSE,n)*4800,2);
散户:=EMA( (CLOSE-MA(CLOSE,m))/MA(CLOSE,m)*4800,7);
底:CROSS(主力,散户) AND 主力<0 AND 散户<0;
(0259){选股公式}
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
背离:CROSS(FF,MA15);
(0260){选股公式}
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) *100);
调:CROSS(88,RSI);
(0261){选股公式}
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
特殊会员专用:=3*Q3-2*Q4;
跨越:=EMA(Q3, 3);
★低买:REF(CROSS(特殊会员专用,跨越),1) AND 特殊会员专用>1.3*跨越;
(0262){选股公式}
VAR3aa:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4aa:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND((HIGH)/(CLOSE)<1.01) AND(VAR3aa>0),91,0);
加仓:FILTER((VAR4aa>90),34);
(0263){选股公式}
VARW:=(2*CLOSE+HIGH+LOW)/4;
VAR20:=LLV(LOW,23);
VAR21:=HHV(HIGH,23);
VAR22:=EMA((VARW-VAR20)/(VAR21-VAR20)*100,6);
VAR23:=EMA(0.667*REF(VAR22,1)+0.333*VAR22,4);
追买:IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3AND COUNT(VAR22>VAR23,3) AND REF(LOW,1)=LLV(LOW,120)AND CLOSE>OPEN,1,0);
(0264){选股公式}
VAR1:=MA(CLOSE,20);
高手多等待:=((100 * (CLOSE - VAR1)) / STD(CLOSE,20));
低手多无奈:=EMA(高手多等待,10);
蓝色变红色:CROSS(高手多等待,低手多无奈);
(0265){选股公式}
VAR1:=MA(CLOSE,20);
高手多等待:=((100 * (CLOSE - VAR1)) / STD(CLOSE,20));
低手多无奈:=EMA(高手多等待,10);
VAR2:=EMA(高手多等待,5);
VAR3:=EMA(低手多无奈,5);
蓝色变粉色:CROSS(VAR2,VAR3);
(0266){选股公式}
A1:=DYNAINFO(6);
A2:=IF(L>A1,0,IF(H<A1,1,(A1-L+0.01)/(H-L+0.01)));
A3:=V/WINNER(L);
A4:=REF(HHV(C,120),1);
A5:=REF(LLV(C,120),1);
A6:=100*(C-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
进场:IF(FILTER(A8,3),5,0);
(0267){选股公式}
AA:=WINNER(C+C*15/100)*100;
BB:=WINNER(C+C*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
EE:=CC<3 AND DD<0.5 ANDO<L;{>}
A1:=DYNAINFO(6);
A2:=IF(L>A1,0,IF(H<A1,1,(A1-L+0.01)/(H-L+0.01)));
A3:=V/WINNER(L);
A4:=REF(HHV(C,120),1);
A5:=REF(LLV(C,120),1);
A6:=100*(C-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
加仓:IF(FILTER(A10,3) OR EE,10,0);
(0268){选股公式}
x:=c-ref(ma(c,20),11);
lgl:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 andc/ref(c,1)>0.905 and c/ref(c,1)<1.05and VOL/CAPITAL*100<5,50,0);
wr1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*x;
wr2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
wr3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*x;
BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
s1:=(wr1+wr2+wr3+bias1+bias2+bias3)/6*x;
s3:=abs(bias1-bias3);
sx:=(s1+s3)/2;
lxl:=if(sx<0 and c=llV(c,5) andc/ref(c,1)>0.905 and c/ref(c,1)<1.05and VOL/CAPITAL*100<5,-50,0);
c0:=ref(c,2)*0.865;
c1:=ref(c,13)*0.772;
bot:=MIN(c0,c1);
hsl:=100*vol/capital*x;
cxc:=if((c-bot)/c<3/100 andsum(hsl,5)/5<1.8,1,0);
vmc:=if(cxc>0 and (lxl<0 orlgl>0),10,0);
满仓:if((vmc>0),60,0);
(0269){选股公式}
x:=c-ref(ma(c,20),11);
lgl:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 andc/ref(c,1)>0.905 and c/ref(c,1)<1.05and VOL/CAPITAL*100<5,50,0);
wr1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*x;
wr2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
wr3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*x;
BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
s1:=(wr1+wr2+wr3+bias1+bias2+bias3)/6*x;
s3:=abs(bias1-bias3);
sx:=(s1+s3)/2;
xc1:=(-1)*(ema(100*(1-WINNER(CLOSE)),1)-50)+50;
ccc:=xc1+sx;
zjz:=IF( lgl>0 andccc<0,200,0)*x;
lxl:=if(sx<0 and c=llV(c,5) andc/ref(c,1)>0.905 and c/ref(c,1)<1.05and VOL/CAPITAL*100<5,-50,0);
jbj:=if(ccc<0 and lxl=-50,100,0)*x;
c0:=ref(c,2)*0.865;
c1:=ref(c,13)*0.772;
bot:=MIN(c0,c1);
hsl:=100*vol/capital*x;
cxc:=if((c-bot)/c<3/100 andsum(hsl,5)/5<1.8,1,0);
v93:=(((zjz>0 and jbj>0 andSUM(VOL/CAPITAL*100,5)/5<1) or cxc>0)and (lxl<0 or lgl>0)) ;
v90:=((zjz>0 and jbj>0 andSUM(VOL/CAPITAL*100,5)/5<1) or (cxc>0and ref(c,1)/ref(c,2)>0.902));
买一点:if((v93 or v90),30,0);
(0270){选股公式}
Var2q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
神奇线:=MA((CLOSE-Var2q)/Var2q,1);
买二点:IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 and((c-ref(c,2))/c)>0.06,30,0);
(0271){选股公式}
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A1:=(EMA(CLOSE,2.7)+MA(CLOSE,6)+MA(CLOSE,10.8))/3;
A5:=(EMA(CLOSE,6.5)+MA(CLOSE,11.8)+MA(CLOSE,21))/3;
VarB:=OPEN<A1 OR OPEN<A5 OROPEN<BBI;
VarC:=CLOSE>MAX(A1,MAX(BBI,A5));
VarD:=VOL/MA(VOL,30)>1.2;
VarE:=CLOSE/REF(CLOSE,1)>1.03;
孤独出击:IF(VarB AND VarC AND VarD AND VarE ANDVOL/240>MA(VOL,5)/240 ANDREF(CLOSE,3)<MA(CLOSE,60),1,0);
(0272){选股公式}
VarA:=MA(CLOSE,80)-MA(CLOSE,10)/3;
抄底: IF(CLOSE<VarA ANDVOL/240>MA(VOL,5)/240 ANDCLOSE>REF(CLOSE,1)*1.08 ANDCLOSE<MA(CLOSE,13)*1.3,1,0);
(0273){选股公式}
var1:=1;
var5:=EMA(CLOSE,12)-EMA(CLOSE,26);
var6:=EMA(var5,9);
var7:=var1*CLOSE*1.236<MA(CLOSE,60);
var8:=CLOSE/REF(CLOSE,1)>1.021;
var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;
varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;
varB:=ABS(var5-var6);
varC:=STD(CLOSE,90)*10;
买:var1*var7 AND var8 AND var9 AND varC<25 ANDCLOSE<8 AND varA<114 ANDvarB<=0.23*40;
(0274){选股公式}
趋势线:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50);
买入:IF(CROSS(趋势线,21),50,18.5);
(0275){选股公式}
买进:ref(c,1)=llv(c,4) and c>=ref(c,2) orref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) andref(c,2)<ref(c,4) andc>=ref(c,1);
(0276){选股公式}
VAR2:=(MAX(EMA(CLOSE,4) - EMA(CLOSE,5),0))*(80);
★:=(MA(VAR2,6))*(20);
AA:=0.01;
短线1:(CROSS(★,AA))*(88);
(0277){选股公式}
买入:IF(CROSS((4)*(SMA(((CLOSE - LLV(LOW,25))/(HHV(HIGH,25) -LLV(LOW,25)))*(100),5,1)) - (3)*(SMA(SMA(((CLOSE -LLV(LOW,25))/(HHV(HIGH,25) -LLV(LOW,25)))*(100),5,1),3,1)),8),100,0);
(0278){选股公式}
Var326:=IF(CLOSE and MA(VOL, 5)/240 ANDCLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);
Var327:=IF(CLOSE/REF(CLOSE, 1)>1.050 ANDVOL/CAPITAL*100<10 AND CLOSE<17 ANDHIGH/CLOSE<1.010 AND Var326>0, 91,0);
杀庄:Var327>90;
(0279){选股公式}
趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底:=8;
小马出击:IF(CROSS(趋势,底),50,0);
(0280){选股公式}
Var2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var7:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
Var8:=(CLOSE-Var7)/Var7*100;
Var9:=REF(Var8,1)< -40 AND Var8>REF(Var8,1) AND REF(Var8,1)< REF(Var8,2) ANDVar8-REF(Var8,1)> 2.5;
VarA:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VarB:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VarC:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var11:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<-0.273;
Var12:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<-0.125;
Var13:=Var11 AND Var12;
Var14:=VarA>=-45 AND VarA<=-10 ANDVarB<=-15 AND VarC<=-20;
Var15:=COUNT(Var14,1)>=1;
Var16:=Var13 AND Var15;
Var17:=1;
Var1C:=EMA(CLOSE,34);
Var1E:=MA(Var1C*0.82,5);
Var20:=(MA(AMOUNT,5)*Var17/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<(-0.4)*Var17;
Var21:=HHV(HIGH,500);
Var22:=LLV(LOW,500);
Var23:=HHV(HIGH,250);
Var24:=LLV(LOW,250);
Var26:=LLV(LOW,125);
Var27:=MA((Var21*0.45+Var23*0.5+Var22+Var24+Var26)/5,35);
Var2C:=Var27;
Var31:=CLOSE-REF(MA(CLOSE,20),11)< -2;
Var43:=SMA(AMOUNT/VOL/100,13,1)*0.85;
Var44:=CLOSE-REF(MA(CLOSE,20),11);
Var45:=CLOSE< Var1E AND Var20 ANDCLOSE< Var43 OR CLOSE< Var1E ANDVar31 AND Var20 OR CLOSE< Var1E ANDCLOSE< Var43 OR CLOSE< Var1E ANDVar20 AND CLOSE< Var43 OR Var20 ANDCLOSE< Var2C OR Var20 AND Var31 ANDVar44< -1.5 OR Var20 AND CLOSE< Var1EOR Var20 AND Var44< -1.5 OR Var31 ANDCLOSE< Var43 OR CLOSE< Var2C ANDVar44< -1.5 OR CLOSE< Var1E ANDVar31;
Var4F:=Var11 AND Var12;
Var50:=Var2>=-45 AND Var2<=-7 ANDVar3<=-11 AND Var4<=-14;
Var51:=COUNT(Var50,1)>=1;
Var52:=Var4F AND Var51;
Var53:=Var20 AND CLOSE< Var1E AND Var31 ANDCLOSE< Var2C AND Var45 AND Var52;
Var54:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var55:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var56:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var57:=REF(CLOSE,1);
Var58:=SMA(MAX(CLOSE-Var57,0),5,1)/SMA(ABS(CLOSE-Var57),5,1)*100;
Var59:=(HIGH+LOW+CLOSE)/3;
Var5A:=(Var59-MA(Var59,14))/(0.015*AVEDEV(Var59,14));
Var5B:=Var54>=-15.8 AND Var54<=-12.2AND Var55<=-20.8 AND Var56<=-27.5 ANDVar58<=11.7 AND Var5A<=-145;
Var62:=REF(CLOSE,2)*0.865;
Var63:=REF(CLOSE,13)*0.772;
Var64:=MIN(Var62,Var63);
Var65:=100*VOL/CAPITAL;
猎鹰出击:IF(Var9 OR Var16 OR Var53 OR Var5B OR(CLOSE-Var64)/CLOSE< 0.03 ANDSUM(Var65,5)/5< 1.8,120,-20);
(0281){选股公式}
LC5:=REF(CLOSE,1);
VARB5:=SMA(MAX(CLOSE-LC5,0),7,1)/SMA(ABS(CLOSE-LC5),7,1)*100;
VARC5:=SMA(MAX(CLOSE-LC5,0),13,1)/SMA(ABS(CLOSE-LC5),13,1)*100;
VARD5:=BARSCOUNT(CLOSE);
底部雷达:=(VARB5< 20 AND VARC5< 25 ANDVARD5> 50)*30;
主力:=EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2);
CROSS(主力,底部雷达);
(0282){选股公式}
HH2:=XMA(CLOSE,14);
HH3:=MEMA(CLOSE,4);
红箭头:LONGCROSS(HH2,HH3,1);
(0283){选股公式}
五量上拐:CROSS(MA(V,5),REF(MA(V,5),1));
十量上拐:CROSS(MA(V,10),REF(MA(V,10),1));
同时上拐:(CROSS(MA(V,5),REF(MA(V,5),1))) AND(CROSS(MA(V,10),REF(MA(V,10),1)));
3个公式,单独使用。
(0284){选股公式}
5天均线上拐:ma(c,5)>ref(ma(c,5),1) and ref(ma(c,5),1)<ref(ma(c,5),2);
13天均线上拐:ma(c,13)>ref(ma(c,13),1) and ref(ma(c,13),1)<ref(ma(c,13),2);
5天和13天同时上拐:ma(c,5)>ref(ma(c,5),1) and ref(ma(c,5),1)<ref(ma(c,5),2) andma(c,13)>ref(ma(c,13),1) and ref(ma(c,13),1)<ref(ma(c,13),2);
(0285){选股公式}
a1:=dynainfo(6);
a2:=if(l>a1,0,if(h<a1,1,(a1-l+0.01)/(h-l+0.01)));
a3:=v/winner(l);
a4:=ref(hhv(c,120),1);
a5:=ref(llv(c,120),1);
a6:=100*(c-a5)/(a4-a5);
a7:=a2>0 or a2=1;
a8:=a7 and a3/ref(a3,3)>=3 and a6<80;
a9:=ref(a8,1) or ref(a8,2) or ref(a8,3) or ref(a8,4);
a10:=a8 and a9;
进场:=if(filter(a8,3),5,0);
加仓:=if(filter(a10,3) or ee,10,0);
xg:进场 or 加仓;
(0286){选股公式}
VAR7:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
VAR8:=SMA(VAR7,20,1);
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
关注均线金叉: CROSS(CLOSE,MA1)AND CROSS(CLOSE,MA2) AND CROSS(VAR7,VAR8)AND CLOSE>OPEN;
(0287){选股公式}
蛟龙:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
买入信号:IF(CROSS(蛟龙,10),45,0);
(0288){选股公式}
var1:=1;
varE:=SLOPE(CLOSE,40);
varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);
var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;
var11:=var1*STD(CLOSE,63)*10;
var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);
var13:=var1*MA((CLOSE-var12)/var12,1);
买:var1*IF(CROSS(var13,-0.008) AND varE>-0.618 ANDvar10<114 AND var11<23.6 ANDvarF<8 AND LOW/REF(HIGH,1)<1.145 ORREF(var13,2)=LLV(var13,20) AND REF(var13,2)<0.042AND varF<8 ANDREF(var13,2)<REF(var13,1) ANDNOT(REF(LOW,1)>REF(HIGH,2) ANDLOW>REF(HIGH,1)) AND var13>-0.368 ANDCLOSE>REF(CLOSE,1),68,0);
(0289){选股公式}
趋势线:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50);
买入:IF(CROSS(趋势线,21),50,18.5);
(0290){选股公式}
N:=30;
RSV:=(CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
买进:if(d<25 and CROSS(k,d) ,40,0);
(0291){选股公式}
K:="KDJ.K#DAY"(100,5,5);
D:="KDJ.D#DAY"(100,5,6);
CROSS(K,D);
(0292){选股公式}
a:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
a1:=ma(a,2);
买入:CROSS(a,a1);
a:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
a2:=ma(a,3);
卖出:CROSS(a2,a);
(0293){选股公式}
A:=(VOL * CLOSE);
B:=(SUM(A,1) / SUM(VOL,1));
B1:=EMA(B,17);
资金:=(((B - B1) * 100) / B);
买入:IF(CROSS(资金,(0 - 8.3)),73,0);
(0294){选股公式}
五均上拐:CROSS(ma(c,5),ref(ma(c,5),1));
十三均拐:CROSS(ma(c,13),ref(ma(c,13),1));
两拐:CROSS(ma(c,5),ref(ma(c,5),1)) andCROSS(ma(c,13),ref(ma(c,13),1));
(0295){选股公式}
趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
全仓买入:趋势线<10 AND 判断底>0;
(0296){选股公式}
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
超买:REF(XL1,1)<XL2 AND REF(XL1,1)<XL1AND REF(XL1,1)<REF(XL1,2);
(0297){选股公式}
va10:=100*(c-cost(10))/cost(10);
va1:=(close-llv(low,28))/(hhv(high,28)-llv(low,28))*100;
va2:=sma(va1,4,1);
va3:=sma(va2,2,1);
主力建仓:va3<8.5 and va2<11;
(0298){选股公式}
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1))>= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
绝对底部:CROSS(XL2,(0 - 20));
(0299){选股公式}
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,30);
VAR5:=MA(CLOSE,60);
F1:=VAR1>REF(VAR1,1);
F2:=VAR2>REF(VAR2,1);
F3:=VAR2>REF(VAR2,1);
F4:=VAR2>REF(VAR2,1);
F5:=VAR2>REF(VAR2,1);
x1:=EMA(C,7);
短进:filter(var3 and var2 andcount(x1<ref(x1,1),5)>2 andx1>ref(x1,1),3);
(0300){选股公式}
Var2:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
Var3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
异动:((Var2+Var3)/AMOUNT*VOL*100*50)>5;