选股小公式(五)
(0401){选股公式}
Var1:=SMA(O*AMOUNT/10000000,10,1);
MA5:=EMA(Var1,5);
MA34:=EMA(Var1,23);
个股生命线:=EMA(Var1,10);
CROSS(MA5,MA34) AND CROSS(MA5,个股生命线);
(0402){选股公式}
VAR1:=EMA(AMOUNT/VOL/100,3);
低吸伏击:=EMA(VAR1,88)*0.85;
走势铁底:=低吸伏击*0.87;
VAR2:=LOW<=走势铁底 ANDCLOSE>REF(CLOSE,1)*1.02;
笑脸:FILTER(VAR2,6);
(0403){选股公式}
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;
(0404){选股公式}
MA1:=(H+L+C+O)/4;
MA5:=MA(MA1,5);
PL:=(MA1/MA5-1)*100;
XG:(PL<-13);
(0405){选股公式}
{庄家抬轿--有庄控盘(红柱)且红柱大于2 }
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
A10:=CROSS(控盘,0);
有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;
VAR2:=100*WINNER(CLOSE*0.95);
高度控盘:=VAR2>50 AND COST(85)<CLOSE AND控盘>0;
主力出货:=控盘<REF(控盘,1) AND 控盘>0;
有庄控盘 and not(高度控盘) and not(主力出货) and 控盘>2;
(0406){选股公式}
{MACD入于0.2}
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
MACD>0.2;
(0407){选股公式}
A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
主力:=MA(A,4);
游资:=MA(A,8);
大户:=MA(A,16);
散户:=MA(A,32);
cross(主力>散户 or 游资>散户 or大户>散户 ,0.5);
(0408){选股公式}
n1:=6;
n2:=12;
q1:=(close*vol)/sum(vol,100);
a1:=ma(q1,n1);
zm1:=sma(a1,n1,1);
zm2:=sma(a1,n2,1);
zmf:=(zm1-zm2)*10000;
fm:=sma(zmf,3,1);
t1:=if(c>ma(close,13),1,0);
t2:=if(c<ma(close,13),1,0);
t3:=count(if(zmf>0 andzmf>ref(zmf,1),1,0),4)>=4;
t4:=count(if(zmf<0,1,0),5)>=5;
t5:filter(t1 and t4,20);
(0409){选股公式}
c>MA(CLOSE,20);
(0410){选股公式}
A8:=(REF(CLOSE,1)) / CLOSE;
A9:=MIN((MA(((AMOUNT / VOL) / 100),15)),(EMA(((AMOUNT / VOL) /100),15)));
A10:=((1 - ((SMA(((LOW * A8) - (A8 / 10)),6,1)) / (EMA(((AMOUNT /VOL) / 100),15)))) * 100) - (100 / 10);
A11:=((((1 - ((MA((LOW - (A8 / 10)),6)) / A9)) * (DMA(CLOSE,(VOL /CAPITAL)))) / (MA(LOW,6))) * 100) - (100 / 10);
A12:=(A10 + (A11 / 10)) > 0 AND ((COUNT((((1 -(CLOSE / (REF(CLOSE,1)))) > 0.099)
AND ((1 - ((REF(CLOSE,1)) / (REF(CLOSE,2)))) >0.099)),20)) < 3);
A13:=(((((A10 + (A11 / 10)) > -3.688) AND ((CLOSE /(REF(CLOSE,1))) > 1.02))
AND ((COUNT((((1 - (CLOSE / (REF(CLOSE,1)))) >0.099) AND ((1 - ((REF(CLOSE,1)) / (REF(CLOSE,2))))> 0.099)),20)) < 3))
AND (((REF(CLOSE,1)) / (REF(CLOSE,2))) < 0.95)) AND((CLOSE / (HHV(HIGH,20))) < 0.855);
:((IF((((A10 + (A11 / 10)) > 0)),(A12 = 1),(A13 =1))) * 18);
(0411){选股公式}
A14:=EMA(CLOSE,8);
A15:=EMA(A14,20);
A16:=CROSS(A14,A15);
A17:=A14 < (EMA(CLOSE,120));
起步:((A16 AND A17) * 18);
(0412){选股公式}
MA1:=EMA(CLOSE,17);
带量穿:CROSS(C,MA1) AND (V > MA(V,5));
=============================
MA1:=EMA(CLOSE,17);
范围:BETWEEN(C,MA1,(MA1*1.03));
(0413){选股公式}
极品绝底:C-O>=0 AND O/L>1.05 ANDL<=LLV(L,30);
(0414){选股公式}
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
上升:FILTER(BB13>1 ANDEMA(X1,13)>REF(EMA(X1,8),1),10);
(0415){选股公式}
ZF:=(C/REF(C,1)-1)*100;
AA:=SUM(ZF,4);
涨:AA>=18;
========================
ZF:=(C/REF(C,1)-1)*100;
AA:=SUM(ZF,4);
暴:COUNT(AA<-20,3)=2 AND CROSS(AA,-20);
(0416){选股公式}
K5:EMA(C,15);
短组红:CROSS(k5,ref(k5,3));
===================
K11:=EMA(C,60);
长组红:CROSS(k11,ref(k11,3));
(0417){选股公式}
DB:=1;
主动买入:=(SUM(BUYVOL,0)*DB);
主动卖出:=SUM(SELLVOL,0);
LB:=(((SUM(VOL,0)*240)/DYNAINFO(38))/BARSCOUNT(CLOSE));
PK:=IF((TIME>=93100),BUYVOL,0);
A1:=(CLOSE>=REF(HHV(HIGH,100),1));
A2:=((BUYVOL>260) AND(SUM(BUYVOL,6)>3600));
A3:=((TIME>94000) AND(TIME<145000));
A4:=(((CLOSE/REF(LLV(LOW,1200),1))<=1.07) AND(CLOSE>=OPEN));
A5:=((BUYVOL>REF(HHV(PK,100),1))*DB);
A6:=((主动买入>(主动卖出*1.18)) AND(CAPITAL<3000000));
红箭头:(((((((LB<3) AND A1) AND A2) AND A3) AND A4) ANDA5) AND A6);
(0418){选股公式}
JJ :=(C*2+H+L)/4;
SKK :=( EMA(JJ,13) - EMA(JJ,21))*180;
SDD := EMA(SKK,2);
多方:=(SKK-SDD)*0.000000001;
空方:=-1*(SKK-SDD)*0.000000001;
黄色出现:CROSS(多方,空方);
(0419){选股公式}
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
HJX21:=(21*A+20*REF(A,1)+19*REF(A,2)+18*REF(A,3)+17*REF(A,4)+16*REF(A,5)+
15*REF(A,6)+14*REF(A,7)+13*REF(A,8)+12*REF(A,9)+11*REF(A,10)+
10*REF(A,11)+9*REF(A,12)+8*REF(A,13)+7*REF(A,14)+6*REF(A,15)+
5*REF(A,16)+4*REF(A,17)+3*REF(A,18)+2*REF(A,19)+
REF(A,21))/231;
HJX3:=(3*A+2*REF(A,1)+REF(A,2))/6;
DC1:=EMA(HJX3,4);
DC2:=EMA(DC1,3);
DC3:=EMA(DC1,7);
DC4:=EMA(HJX21,6);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
XG0:=CROSS(MACD,0);
叠彩:CROSS(CLOSE,DC1) AND CROSS(CLOSE,DC2) AND CROSS(CLOSE,DC3) ANDBARSLAST(XG0)<=5 AND CLOSE<DC4;
(0420){选股公式}
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4);
C2:=EMA(((0.667*REF(C1,1))+(0.333*C1)),2);
条件:CROSS(C1,C2) AND C1<40;
(0421){选股公式}
K1:=EMA(CLOSE,3);
K2:=EMA(K1,3);
K3:=EMA(K2,3);
K4:=EMA(K3,3);
K5:=EMA(K4,3);
K6:=EMA(K5,3);
K7:=EMA(K6,3);
K8:=EMA(K7,3);
K9:=EMA(K8,3);
K10:=EMA(K9,3);
K11:=EMA(K10,3);
K250:=EMA(C,250);
买:CROSS((K5+K4+K3+K2+K1)/5,(K11+K10+K9+K8+K7+K6)/6) ANDC>K250;
(0422){选股公式}
N:=9;M1:=3;
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
慢线:=SMA(快线,M1,1);
CROSS(快线,慢线);
(0423){选股公式}
BIAS :=(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;
BIASMA :=MA(BIAS,M);
买:CROSS(BIAS,BIASMA);
BIAS:=(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;
BIASMA :=MA(BIAS,M);
卖:CROSS(BIASMA,BIAS);
(0424){选股公式}
上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
买入易涨:CROSS(上线,下线);
(0425){选股公式}
N:=30;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走势:=CEILING(SMA(AA5,13,8));
FILTER(J>REF(J,1) AND 走势>=REF(走势,1)AND 走势<25 ,5);
(0426){选股公式}
RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) *100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
短期底部:=LLV(OPEN,30);
历史大底:FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) <0.08)) AND (LOW <= 短期底部)) AND (CLOSE> 短期底部)) AND (J < 80)) AND ((CLOSE /OPEN) > 1.08)),20);
(0427){选股公式}
VARF:=TROUGHBARS(3,15,1)<4;
抄底:FILTER(VARF=1,3);
(0428){选股公式}
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;
VAR4:=(1.1)*CLOSE;
VAR5:=(0.9)*CLOSE;
VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));
S1:=EMA(100-VAR6,1);
S2:=EMA(S1,9);
(YJD < -80) AND (S1 > S2);
(0429){选股公式}
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;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
抄底选股:= IF(VAR5<-8,38,0);
VUR2:=(SMA(AMOUNT,8,1)/1000);
VUR3:=EMA((C+L)/2*3,3);
VUR4:=(VUR2*(C+L)/2*3/VUR3)/10;
VUR5:=(VUR2*(O+L)/2*3/VUR3)/10;
VUR6:=(VUR2*(H+C)/2*3/VUR3)/10;
VUR7:=(VUR2*L*3/VUR3)/10;
VUR8:=(2*VUR5+VUR6+VUR7+3*VUR4)/7;
耶稣抄底:VUR8=LLV(VUR8,20) AND 抄底选股;
(0430){选股公式}
VAR81:=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));
VAR82:=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));
VAR83:=(VAR81 < REF(VAR82,1)) and (VOL> REF(VOL,1)) and (CLOSE >REF(CLOSE,1));
底部:VAR83 and (COUNT(VAR83,30) = 1);
(0431){选股公式}
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));
(0432){选股公式}
追涨:CLOSE/REF(CLOSE,1)>1.050 ANDHIGH/CLOSE<1.010 ANDIF(CLOSE>REF(CLOSE,1),88,0)>0;
(0433){选股公式}
均线:=EMA(C,18);
红升:CROSS(均线,REF(均线,1));
(0434){选股公式}
趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
见底信号:((REF(趋势线,1)<REF(趋势线,2) AND趋势线<-20 AND 趋势线>-25)
AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) ANDCROSS(趋势线,-20));
==================================
趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
莫错失机会:((REF(趋势线,1)<REF(趋势线,2) AND趋势线<-25 AND 趋势线>-30)
AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-25,趋势线),1) ANDCROSS(趋势线,-25));
================================
趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
砸锅卖田买:((REF(趋势线,1)<REF(趋势线,2) AND趋势线<-30) AND 趋势线>=REF(趋势线,1))
OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;
(0435){选股公式}
RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) *100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
短期底部:=LLV(OPEN,30);
历史大底:FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) <0.08)) AND (LOW <= 短期底部))
AND (CLOSE > 短期底部)) AND (J < 80)) AND((CLOSE / OPEN) > 1.08)),20);
(0436){选股公式}
qs1:=IF(C>MA(C,5),1,0);
qs2:=IF(C<MA(C,5),-1,0);
qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
qs4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
qs:=qs1+qs2+qs3+qs4;
白:qs=0 and c<o;
(0437){选股公式}
qs1:=IF(C>MA(C,5),1,0);
qs2:=IF(C<MA(C,5),-1,0);
qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
qs4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
qs:=qs1+qs2+qs3+qs4;
黄:qs=0 and c>o;
(0438){选股公式}
qs1:=IF(C>MA(C,5),1,0);
qs2:=IF(C<MA(C,5),-1,0);
qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
qs4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
qs:=qs1+qs2+qs3+qs4;
晶红:qs=2 and c<o;
(0439){选股公式}
input.:u(88,1,300);
VAR1:=EMA(AMOUNT/VOL/100,3);
低吸伏击:=EMA(VAR1,u)*0.85;
破低吸:CROSS(低吸伏击,C);
(0440){选股公式}
input.:u(88,1,300);
VAR1:=EMA(AMOUNT/VOL/100,3);
低吸伏击:=EMA(VAR1,u)*0.85;
走势铁底:=低吸伏击*0.87;
破铁底:CROSS(走势铁底,C);
(0441){选股公式}
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);
VAR3:=SMA((CLOSE-VAR2),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100;
VAR4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VAR5:=EMA(0.667*REF(VAR4,1)+0.333*VAR4,5);
VAR6:=IF(VOL>=1.3*MA(VOL,5) ANDCOUNT(VAR4>=VAR5 AND VAR4<-17,3) ANDREF(LOW,1)=LLV(LOW,120),1,0);
VAR8:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;
VAR9:=IF(COUNT(VAR8<20,5)>=1 ANDCOUNT(VAR1=LLV(VAR1,10),10)>=1 ANDCLOSE>=OPEN*1.038 ANDVOL>MA(VOL,5)*1.2,1,0);
注意买入:FILTER(VAR9 OR VAR6,5);
(0442){选股公式}
Var4:=EMA(C,3);
红箭头:COUNT(REF(Var4,1)<REF(Var4,2),5)=5 ANDVar4>REF(Var4,1);
(0443){选股公式}
Var5:=LLV(HIGH,240);
Var6:=100*(CLOSE-Var5)/Var5;
VarF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;
笑脸:FILTER(COUNT(Var6<0,5)AND CROSS(Var6,0)ANDVarF>REF(VarF,1)AND C>O,3);
(0444){选股公式}
ZY3:=REF(HIGH,1)*11;
ZY4:=HIGH*1.1;
ZY5:=(ZY4*VOL+ZY3*(CAPITAL-VOL))/CAPITAL;
ZY6:=REF(LOW,1)*0.9;
ZY7:=LOW*0.9;
ZY8:=(ZY7*VOL+ZY6*(CAPITAL-VOL))/CAPITAL;
ZY9:=EMA(ZY8,30);
ZYA:=EMA(ZY5,30);
ZYB:=ZYA-2;
ZYC:=IF(CLOSE<=ZY9,ZYB,ZYA);
出手:ZYC-ZYB=0 ANDCROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))
/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))
/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M));
(0445){选股公式}
VAR1:=EMA(AMOUNT/VOL/100,3);
低吸伏击:=EMA(VAR1,M)*0.85;
走势铁底:=低吸伏击*0.87;
VAR2:=LOW<=走势铁底 ANDCLOSE>REF(CLOSE,1)*1.02;
笑脸:FILTER(VAR2,N1);
(0446){选股公式}
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;
====================
ZDF:=(C-REF(C,1))/REF(C,1)*100;
红K线:ZDF>9.8;
(0447){选股公式}
Var11:=EMA(HHV(HIGH,500),21);
Var2:=EMA(HHV(HIGH,250),21);
Var3:=EMA(HHV(HIGH,90),21);
Var4:=EMA(LLV(LOW,500),21);
Var5:=EMA(LLV(LOW,250),21);
Var6:=EMA(LLV(LOW,90),21);
Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var11*0.558+Var2*0.558+Var3*0.558)/6,21);
Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var11*0.55+Var2*0.55+Var3*0.65)/6,21);
Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var11*0.68+Var2*0.68+Var3*0.68)/6,21);
VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);
VarB:=REF(LOW,1);
VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;
VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);
VarE:=LLV(LOW,30);
VarF:=HHV(VarD,30);
Var10:=IF(MA(CLOSE,58),1,0);
aa3:=(EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10);
bb:=aa3>ref(HHV(aa3,60),1);
cc:=hhv(aa3,60);
大底:=FILTER(aa3>10 ,1) ;
大底>0 and c<o;
(0448){选股公式}
参数:{n: 1, 100, 3}
VAR1:=MA(HHV(HIGH,485),17);
VAR2:=MA(HHV(HIGH,222),17);
VAR3:=MA(HHV(HIGH,96),17);
VAR4:=MA(LLV(LOW,485),17);
VAR5:=MA(LLV(LOW,222),17);
VAR6:=MA(LLV(LOW,96),17);
VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,17);
VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17);
VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17);
VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17);
VARC:=LOW;
VARD:=REF(LOW,1);
VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),N,1)*100;
VARF:=MA(IF(CLOSE*1.35<=VARA,VARE*10,VARE/10),N);
VAR10:=LLV(LOW,30);
VAR11:=HHV(VARF,30);
绝佳买点:=MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),N);
倾家荡产买:绝佳买点>30000;
(0449){选股公式}
X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X2:=EMA(X1,10);
RCK:=(SMA(LOW,21,2) * 0.95);
趋势线:=SMA(LOW,5,1);
大胆买入:((CROSS(趋势线,RCK) AND (LOW <= X2)) AND ((X2 -REF(X2,1)) > 0));
(0450){选股公式}
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势: IF(VAR6>45,VAR6-45,0);
出现紫色:CROSS(趋势,REF(趋势,1));
(0451){选股公式}
F1:=ZIG(3,15);
F3:=IF((F1> REF(F1,1)),0,90);
CROSS(F1,REF(F1,1));
(0452){选股公式}
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
CROSS(价位线,0.3);
(0453){选股公式}
tt:=BARSCOUNT(CLOSE);
均线:=SUM(AMOUNT,0)/SUM(VOL*100,0);
上均:=均线 + AVEDEV(C,tt)*2;
时长:=if(HOUR>=13 AND HOUR<15,1,0);
涨幅:=(CLOSE>DYNAINFO(3))>1.02;
跌幅:=(CLOSE/DYNAINFO(3))<0.98;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<0.03;
yy:=SMA(VOL,30,1);
放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0.92;
涨跌幅:=涨幅 OR 跌幅;
横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and CROSS(C,上均);
上涨:CROSS(横涨,0);
(0454){选股公式}
tt:=BARSCOUNT(CLOSE);
均线:=SUM(AMOUNT,0)/SUM(VOL*100,0);
上均:=均线 + AVEDEV(C,tt)*2;
时长:=if(HOUR>=13 AND HOUR<15,1,0);
涨幅:=(CLOSE>DYNAINFO(3))>1.02;
跌幅:=(CLOSE/DYNAINFO(3))<0.98;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<0.03;
yy:=SMA(VOL,30,1);
放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0.92;
涨跌幅:=涨幅 OR 跌幅;
横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and CROSS(C,上均);
突破:FILTER(横涨,100) ;
(0455){选股公式}
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
D1:=EMA(C,3)-EMA(C,8);
红色箭头:CROSS(D1,DIFF) AND DIFF<-0.05;
(0456){选股公式}
ss1:=(LOW+HIGH+CLOSE*2)/4;
ss2:= MA(ss1,4);
ss3:=HHV(ss2,10);
ss4:=ma(ss3,3);
ss5:=1.25*ss4-0.25*ss3;
xkkj:=if(ss5>ss3,ss3,ss5);
ff1:=LLV(ss2,10);
ff2:=ma(ff1,3);
ff3:=1.25*ff2-0.25*ff1;
dkkj:=if(ff3<ff1,ff1,ff3);
ma13:=ma(c,13);
zdhm:=cross(c,dkkj) and cross(c,ma13) and cross(c,xkkj);
zhm:=cross(c,ma13) and cross(c,xkkj);
大 :zdhm or zhm;
(0457){选股公式}
E12:=EMA(CLOSE,12);
E50:=EMA(CLOSE,50);
E250:=EMA(CLOSE,250);
MA5:=EMA(C,5);
MA10:=EMA(C,10);
MV5:=EMA(V,5);
MV10:=EMA(V,10);
K:="KDJ.K"(9,3,3);
D:="KDJ.D"(9,3,3);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD1:=DIF>REF(DIF,1) ANDDEA>=REF(DEA,1) AND DIF>DEA;
V1:=MA5>REF(MA5,1) ANDMA10>REF(MA10,1) AND C>REF(C,1) ANDC/O>1.01;
VV1:=MV5>REF(MV5,1) ANDMV10>=REF(MV10,1) AND V>REF(V,1)*1.2AND MV5>MV10;
KD1:=K>REF(K,1) ANDD>=REF(D,1);
VA:=COUNT(CROSS(K,D),4)>=1 ANDCOUNT(CROSS(MA5,MA10),4)>=1 ANDCOUNT(CROSS(MV5,MV10),4)>=1 ANDCOUNT(CROSS(DIF,DEA),4)>=1;
五金叉:CROSS(E12,E50) AND VV1 AND KD1 AND MACD1 AND VA ANDE50<E250;
(0458){选股公式}
操盘线:=MA(C,4);
安全线:=MA(C,19);;
B买入:CROSS(操盘线,安全线);
(0459){选股公式}
持股:=HHV(MA(C,17),2);
持币:IF(MA(C,5)<持股,(MA(C,5)-(持股-MA(C,5))),持股);
持股线:MA(C,17);
粘合:(REF(持币,1) > REF(持股线,1) OR REF(持币,1)< REF(持股线,1)) AND (持币=持股线);
(0460){选股公式}
菩提:=XMA(H,20);
般:=XMA(CLOSE,7);
若:=MEMA(CLOSE,3);
红箭头:LONGCROSS(般,若,0.25) AND 菩提>H;
=====================
涅磐:=EMA(SLOPE(C,21)*20+C,42);
宝瓶:=EMA(C,2.5);
菩提:=XMA(H,20);
B买入:CROSS(宝瓶,涅磐) AND H>涅磐 AND 菩提>宝瓶AND H<菩提;
======================
CSAR:=SAR(10,2,20);
持股:=IF(CSAR<=L,CSAR,0);
涅磐:=EMA(SLOPE(C,21)*20+C,42);
般若:=EMA(C,5);
菩提:=XMA(H,20);
开悟:=般若>=REF(般若,1);
笑脸:CROSS(L,CSAR) AND 开悟>0 AND H<菩提AND 持股>0 AND H>涅磐;
(0461){选股公式}
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
波:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100, 13);
段:=EMA(0.667*REF(波,1)+0.333*波,4);
抄底:CROSS(波,段) AND 波<20;
(0462){选股公式}
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
波:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100, 13);
段:=EMA(0.667*REF(波,1)+0.333*波,4);
红穿黄:CROSS(波,段);
(0463){选股公式}
VAR1:=(2*CLOSE+HIGH+LOW)/3;{可将3该为4,信号少点}
VAR2:=EMA(EMA(EMA(VAR1,3),3),3);{可将3该为4,信号少点}
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
买:cross(k,D);
(0464){选股公式}
Var2:=(2*CLOSE+HIGH+LOW)/4;
Var4:=LLV(LOW,5);
Var5:=HHV(HIGH,4);
散户:=EMA((Var2-Var4)/(Var5-Var4)*100,4);
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
短进:CROSS(散户,庄家) AND 散户<50 AND29<散户;
(0465){选股公式}
Var2:=(2*CLOSE+HIGH+LOW)/4;
Var4:=LLV(LOW,5);
Var5:=HHV(HIGH,4);
散户:=EMA((Var2-Var4)/(Var5-Var4)*100,4);
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
逢低吸:CROSS(散户,庄家) AND 散户<30;
(0466){选股公式}
MAV:=(C*2+H+L)/4;
SK:=EMA(MAV,13) - EMA(MAV,34);
SD:=EMA(SK,5);
空方主力:=(-2*(SK-SD))*3.8;
多方主力:=2*(SK-SD)*3.8;
交叉:CROSS(空方主力,多方主力);
(0467){选股公式}
Var3:=(2*CLOSE+HIGH+LOW)/4;
Var4:=LLV(LOW,34);
Var5:=HHV(HIGH,34);
主力:=EMA((Var3-Var4)/(Var5-Var4)*100,13);
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);
起动:CROSS(主力,散户) AND 主力<22;
(0468){选股公式}
Var3:=(2*CLOSE+HIGH+LOW)/4;
Var4:=LLV(LOW,34);
Var5:=HHV(HIGH,34);
主力:=EMA((Var3-Var4)/(Var5-Var4)*100,13);
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);
买入脉冲:CROSS(主力,散户) AND 主力<35;
(0469){选股公式}
趋势线:=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(10,趋势线);
(0470){选股公式}
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR1,13)-EMA(VAR1,21);
SD:=EMA(SK,2);
多方能量:=2*(SK-SD)*3.8;
空方能量:=(-2)*(SK-SD)*3.8;
CROSS(多方能量,空方能量);
(0471){选股公式}
VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
阻力线:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20);
突破线:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
CROSS(突破线,阻力线);
(0472){选股公式}
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4);
C2:=EMA(((0.667*REF(C1,1))+(0.333*C1)),2);
条件:CROSS(C1,C2) AND C1<40;
(0473){选股公式}
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) and sk<=0.05 and(v/ma(v,5)>2 orc/ref(c,1)>0.035));
(0474){选股公式}
tt:=BARSCOUNT(CLOSE);;
均线:=SUM(AMOUNT,0)/SUM(VOL*100,0);
下均:=均线 - AVEDEV(C,tt)*2;
CROSS(下均,C);
(0475){选股公式}
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,10);
DWN:=BBI-3*STD(BBI,10);
var56:=(UPR-DWN)/UPR>0.18;
var57:=(MA(CLOSE,60)-MA(CLOSE,5))/MA(CLOSE,60)>0.15;
乖离太大:var57 and var56 and CLOSE>OPEN;
(0476){选股公式}
跌动力减:(LLV(L,20)=L) AND(NOT(COUNT("ROC.ROC"<REF("ROC.ROC",1),30)>18AND (COUNT("ROC.ROC"<REF("ROC.ROC",1),3)=3)));
(0477){选股公式}
Var2:=MA(CLOSE,30);
Var42:="RSI#WEEK"(12,12,12);
Var43:="RSI#WEEK"(55,55,55);
加仓:CROSS(Var42,Var43) AND Var42<=60;
(0478){选股公式}
M:=88;
N1:=6;
VAR1:=EMA(AMOUNT/VOL/100,3);
低吸伏击:=EMA(VAR1,M)*0.85;
走势铁底:=低吸伏击*0.87;
VAR2:=LOW<=走势铁底 ANDCLOSE>REF(CLOSE,1)*1.02;
FILTER(VAR2,N1);
(0479){选股公式}
M_C1:=EMA(C,5)/EMA(EMA(C,9),16)<=0.85 andc/ref(c,1)<1.05 and c/ref(c,1)>0.905and V/CAPITAL*100<5;
M_C2:=MIN(ref(C,2)*0.865,ref(c,13)*0.772);
M_C3:=(C-M_C2)/C<0.03;
满仓:M_C1 and M_C3;
(0480){选股公式}
多头线:=(SUM((((2)*(CLOSE-CLOSE*0.2)+(OPEN-OPEN*0.2)+(HIGH-HIGH*0.2)+(LOW-LOW*0.2))/(5))*(VOL),8))/(SUM(VOL,8));
空头线:=LLV(多头线,8);
VARB:=C-C*0.2;
CROSS(VARB,空头线);
(0481){选股公式}
趋势线:=SMA(EMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,3),7,1)-(13);
FILTER(趋势线>=REF(趋势线,1)AND趋势线<0,15);
(0482){选股公式}
{DDX}
JJ:=(OPEN+HIGH+LOW+CLOSE)/4;
AA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0);
BB:=IF(BETWEEN(C,JJ,L),VOL,0);
CC:=IF(AA AND BB,0,VOL/3);
DDX:=10*(AA-(BB+CC))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);
DDX1:=EMA(DDX,60)*60;
DDX2:=MA(DDX1,5);
DDX3:=MA(DDX2,10);
预警:DDX>0 AND CROSS(DDX1,DDX2) AND(CLOSE/REF(CLOSE,1)-1)*100>=3;
(0483){选股公式}
{DDY}
AA:=IF(BETWEEN(C,REF(C,1),H),VOL,0);
BB:=IF(BETWEEN(C,REF(C,1),L),VOL,0);
CC:=IF(AA AND BB,0,VOL/3);
DDY:=3*(AA-(BB+CC))/IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL);
DDY1:=EMA(DDY,60)*60;
DDY2:=MA(DDY1,5);
DDY3:=MA(DDY1,10);
预警:DDY>0 AND CROSS(DDY1,DDY3) AND(CLOSE/REF(CLOSE,1)-1)*100>3;
(0484){选股公式}
A:=(PEAKBARS(3,52,1)=1);
底部吸筹指标:=(((CLOSE-MA(CLOSE,40))/MA(CLOSE,40))*100);
趋势线:=((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(趋势线,10) OR CROSS(底部吸筹指标,-24));
((条件 AND (LLV(LOW,5)<(REF(HIGH,BARSLAST(A))*0.52)))AND (BARSLAST(A)<70));
--------------
公式含未来函数。
(0485){选股公式}
M8:= EMA(C,8);
M13:= EMA(M8,13);
CROSS(C,M13);
(0486){选股公式}
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
CROSS(X2,X3);
(0487){选股公式}
{散户操盘}
指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
界:=MA(CLOSE,27);
CROSS(指导,界);
(0488){选股公式}
{买卖频谱}
买线:=EMA(C,3);
卖线:=EMA(SLOPE(C,21)*20+C,55);
CROSS(买线,卖线);
(0489){选股公式}
AA05:=MA(C,5);
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
AA10:=MA(C,10);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
AA30:=MA(C,30);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
强势狙击:FILTER(BB30>30 AND BB10>45 ANDCROSS(BB05,60),10);
(0490){选股公式}
AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
AA30:=MA(C,30);
三拾日乖离率:=(C-AA30)/AA30*100;
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND三拾日乖离率>REF(三拾日乖离率,1) ANDAA05>REF(AA05,1) AND(C/REF(C,1)-1)*100>5 ANDREF(C,1)<AA30;
买入:FILTER(MR,10);
(0491){选股公式}
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K0:=SMA(RSV,3,1);
D:=SMA(K0,2,1);
J1:=(3*K0-2*D);
J2:=MA(J1,2);
CROSS(J1,J2) AND J2<15;
(0992){选股公式}
pi:=3.1415926;
ma5:=ma(c,5);
ma13:=ma(c,13);
ma60:=ma(c,60);
ma120:=ma(c,120);
ma250:=ma(c,250);
A:=ma5-ref(ma5,1);
B:=ma13-ref(ma13,1);
ta:=abs((B-A)/(1+A*B));
MA60>MA120 andMA120>MA250> ANDatan(ta)>pi/6 and atan(ta)<pi/5 andcross(ma5,ma13);
(0493){选股公式}
input.:LONG(26,26 ,26 ),SHORT(12,12 ,12), MID(9,9, 9 );
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,MID);
红点:CROSS(DIFF,DEA);
(0494){选股公式}
input.:LONG(26,26 ,26 ),SHORT(12,12 ,12), MID(9,9, 9 );
红三角:CROSS("MACD.DIFF#WEEK"(LONG,SHORT,MID),"MACD.DEA#WEEK"(LONG,SHORT,MID));
(0495){选股公式}
底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,color00ff00;
抄底:CROSS(底部吸筹指标,-24);
(0496){选股公式}
M1:=MA(CLOSE,5);
M2:=MA(CLOSE,10);
M3:=MA(CLOSE,20);
HH2:=REF(ma(c,14),1);
HH3:=EMA(CLOSE,4);
VAR1:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,7,1);
VAR3:=SMA(VAR2,5,1);
NH:=CROSS(m1,m2) and COUNT(m2>m3,3)=3;
星:NH or CROSS(VAR2,VAR3) AND VAR2<20 ANDHH2>HH3;
(0497){选股公式}
趋势:=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(趋势,10);
(0498){选股公式}
BU:=BARSLAST((CLOSE = HHV(CLOSE,150)));
SE:=BARSLAST((CLOSE = LLV(CLOSE,150)));
XG:CROSS(SE,BU);
(0499){选股公式}
参数:m(1,100,14);
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,M);
XG:CROSS(OBV,MAOBV);
(0500){选股公式}
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) ANDVAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
XG:VAR05 AND COUNT(VAR05,5)=1;