求大智慧选股公式
发布网友
发布时间:2022-04-22 00:51
我来回答
共3个回答
热心网友
时间:2023-05-19 06:43
MA(C,250)<REF(MA(C,250),1);
----这就是今天的250日均线比昨天的250日均线低的意思,
你试试,看是不是你说的250日均线向下走
********************************************
请问,公式中最后的那个“1”是不是1天的意思,如果是5天就把“1”改成“5”,对吗?谢谢!
---------------------------------
1就是今天与昨天比较,如果是5就是与5天前比较
热心网友
时间:2023-05-19 06:43
(1){选股公式}
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:=2*EMA(100-VAR6,1);
S2:=EMA(S1,9);
YJD<-80 and S1>S2 and s2>10 ;
(2){选股公式}
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:=2*EMA(100-VAR6,1);
S2:=EMA(S1,9);
YJD<-80 and S1>S2 and s2>10 ;
(3){MACD柱线由绿转红可买选股公式}
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
CROSS(MACD,0);{macd>0}
(4){选股公式}
N:=14;M:=6;
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);
PDI: DMP*100/TR;
MDI: DMM*100/TR;
ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=(ADX+REF(ADX,M))/2;
TJ1:MDI>50 AND ADX>58;
(5){选股公式}
Var12:=VOL/CAPITAL*100;
Var13:=LLVBARS(LOW, 50);
Var14:=SUM(VOL, Var13);
Var15:=HHVBARS(HIGH, 50);
Var17:=(CLOSE-REF(OPEN, Var15))/REF(OPEN, Var15)*100;
Var19:=(CLOSE-REF(OPEN, Var13))/REF(OPEN, Var13)*100;Var20:=Var14/CAPITAL*100;
Var22:=REF(CLOSE, 2)*0.865;
Var23:=REF(CLOSE, 13)*0.772;
Var24:=MIN(Var22, Var23);
Var25:=MA(CLOSE, 13);
cg1:=IF((CLOSE-Var24)/CLOSE<0.030 AND Var17<(-35) AND SUM(Var12,5)/5<1.800, 1, 0);
Var26:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Var27:=(EMA(CLOSE, 12)-EMA(CLOSE, 26))*100;
Var28:=EMA(Var27, 9);
Var29:=2*(Var27-Var28);
cg2:=IF(Var27<(-50) AND Var26>7 AND Var27<Var28,-1,0);
cg:cg1 OR cg2,stick3d;
(6){选股公式}
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:=2*EMA(100-VAR6,1);
S2:=EMA(S1,9);
YJD<-80 and S1>S2 and s2>10 ;
(7){选股公式}
Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
Var9:=(Var3+Var4+Var5+Var6+Var7+Var8)/6;
VarA:=EMA(Var9,3);
VarB:=ABS(Var6-Var8);
VarC:=(Var9+VarB)/2;
VarD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
VarE:=VarD+VarC;
VarF:=IF(Var2>0 AND VarE<0,200,0);
Var10:=IF(VarC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
Var11:=IF(VarE<0 AND Var10=-50,100,0);
Var12:=MA(CLOSE,3);
Var13:=REF(CLOSE,2)*0.865;
Var14:=REF(CLOSE,13)*0.772;
Var15:=MIN(Var13,Var14);
Var16:=100*VOL/CAPITAL;
Var17:=MA(CLOSE,13);
Var18:=IF((CLOSE-Var15)/CLOSE<0.03 AND SUM(Var16,5)/5<1.8,1,0);
Var19:=IF(Var18>0 AND (Var10<0 OR Var2>0),100,0);
Var1A:=Var19;
Var1B:=IF(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0) AND Var19<10,50,0);
Var1C:=(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0);
Var1D:=VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
Var1E:=Var1C OR Var1D;
g:=MA(CLOSE,80)-MA(CLOSE,10)/3;
aaa:=Var1A and CLOSE<g;
Var2a:=1;
Var3a:=Var2a*(CLOSE-MA(CLOSE,33))/MA(CLOSE,33)*100;
bbb:=HHV(CLOSE,13)/CLOSE>1.15 AND HIGH/LOW>1.08 AND CROSS(-30,Var3);
Var1bb:=INDEXC;
Var2b:=MA(Var1bb,6);
Var3b:=MA(Var1bb,24);
Var4b:=MA(Var1bb,32);
Var5b:=MA(Var1bb,62);
Var6b:=MA(Var1bb,105);
Var7b:=Var5b<REF(Var5b,1) AND Var6b<REF(Var6b,1) AND Var5b<Var6b*0.98;
Var8b:=Var4b>Var2b*1.11 AND Var3b>Var2b*1.095;
Var9b:=Var2b>Var1bb*0.95;
ccc:=Var7b AND Var8b AND Var9b AND CLOSE/COST(8)<=0.8 AND
(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR
REF(CLOSE,1)<REF(OPEN,1));
Var1cc:=DMA(CLOSE,VOL/MA(VOL,4)/4);
Var2c:=DMA(CLOSE,VOL/MA(VOL,33)/33);
Var3c:=(CLOSE-Var1cc)/Var1cc*100<-11;
Var4c:=(Var1cc-Var2c)/Var2c*100<-22.3;
Var5c:=Var3c AND Var4c;
ddd:=Var5c AND (OPEN>CLOSE OR OPEN<CLOSE) AND
(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND
(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND
(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND
(REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND
(REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND
(REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND
(REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND
(REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7)) ;
A1:=INDEXC;
A2:=MA(A1,5);
A3:=MA(A1,20);
A4:=MA(A1,30);
B1:=A4>A2*1.08 AND A3>A2*1.055;
B2:=A2>A1*1.03;
B3:=B1 AND B2;
M1:=MA(C,5);
M2:=MA(C,10);
M3:=M1<M2;
N1:=(M1-C)/C>(9/100);
N2:=(M2-M1)/M1>0.05;
N3:=(H>L*1.07) AND COUNT(H>L*1.04,5)>2;
N4:=COUNT(M3,7)>=7;
N5:=N1 AND N2 AND N3 AND N4;
eee:=B3 AND N5;
ff:=(ref(c,32)-close)/ref(c,32)>=0.385;
fff:=ccc and ff;
Xar1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
Xar2:=(CLOSE-xar1)/xar1*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;
Xar3:=(CLOSE-ref(CLOSE,5))/CLOSE*100<-9;
当前获利:=WINNER(CLOSE);
大盘涨跌:=ema((INDEXC-ma(INDEXC,10))/INDEXC*100,14)<-4.9;
换手率:=(ma(v,5)-VOL)/CAPITAL*100<0.8;
量能变化:=(vol-MA(vol,21))/vol*100;
买入信号:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND
换手率 AND 量能变化>18;
gg1:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND
换手率 AND 量能变化>18;
ggg:=aaa and gg1;
(aaa and bbb) or (aaa and ccc) or (aaa and ddd) or (aaa and eee)
or fff or ggg;
(8){选股公式}
A01:=DYNAINFO(7);
A02:=MA(((AMOUNT / VOL) / 100),(VOL / CAPITAL));
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
A05:=IF((A03 > 20),A04,0);
A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
A07:=(DMA(A06,(VOL / CAPITAL)) * 100);
A08:=IF((A02 > A01),(100 - A07),A07);
A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);
(HHV(H,5)/LLV(L,5)<1.02 OR REF(C,5)>C) AND SUM(A09>REF(A09,1),5)=5;
(9){选股公式}
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
CROSS(买线,卖线);
(10){选股公式}
N:=9;
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
TJ:= IF(RSV<5,0,RSV);
投机:= IF(TJ>95,100,TJ);
投机<10 AND 投机>0;
(11){选股公式}
龙盘Ⅰ:=EMA(C,250);
龙盘Ⅱ:=EMA(C,120);
cross(龙盘Ⅱ,龙盘Ⅰ) and 龙盘Ⅰ>ref(龙盘Ⅰ,1) and 龙盘Ⅱ>ref(龙盘Ⅱ,1) and v>ref(v,1) and v<ma(v,5)*1.5;
(12){选股公式}
龙盘Ⅱ:=EMA(C,120);
虎踞Ⅱ:=EMA(C,18);
cross(虎踞Ⅱ,龙盘Ⅱ) and atan((龙盘Ⅱ/ref(龙盘Ⅱ,1)-1)*100)*180/3.14159<20 and v>ref(v,1) and ref(v,1)>ref(v,2) and v/ref(v,1)<1.3 and ref(v,1)/ref(v,2)<1.3;
(13){选股公式}
Var22:=CROSS(MA(CLOSE,5),MA(CLOSE,30));
少量买:=Var22 AND CLOSE>MA(CLOSE,250);
全仓买:=Var22 AND CLOSE<MA(CLOSE,60);
xg:少量买 or 全仓买;
(14){选股公式}
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K1:=SMA(RSV1,3,1);
D1:=SMA(k1,3,1);
K:=SMA(RSV2,3,1);
D:=SMA(K,3,1);
J:=3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1);
k>5 and ref(k,1)<10 and cross(k,d) and cross(j,ref(k,1)) and j>ref(j,1);
(15){选股公式}
vaar1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
Vaar2:=REF(Vaar1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar3:=REF(Vaar2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar4:=REF(Vaar3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar5:=REF(Vaar4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar6:=REF(Vaar5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar7:=REF(Vaar6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar8:=REF(Vaar7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar9:=REF(Vaar8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarA:=REF(Vaar9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VaarB:=REF(VaarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarC:=REF(VaarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VaarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VaarE:=REF(VaarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarF:=REF(VaarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar10:=REF(VaarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar11:=REF(Vaar10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar12:=REF(Vaar11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar13:=REF(Vaar12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar14:=REF(Vaar13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar15:=REF(Vaar14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar16:=REF(Vaar15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar17:=REF(Vaar16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar18:=REF(Vaar17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
REF(VaarD OR VaarE OR VaarF OR Vaar10 OR Vaar11 OR Vaar12 OR Vaar13 OR
Vaar14 OR Vaar15 OR Vaar16 OR Vaar17 OR Vaar18,1) AND Vaar1;
(16){选股公式}
VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,5,1);
K:=SMA(VAR3,3,1);
D:=SMA(K,3,1);
CROSS(K,D) and (D < 18) ;
(17){选股公式}
涅磐:=EMA(SLOPE(C,21)*20+C,42);
菩提:=MA(H,20);
般:=MA(CLOSE,7);
若:=EMA(CLOSE,3);
LONGCROSS(般,若,0.25) AND 菩提>H;
(18){选股公式}
n1:=21;n2:=8;
VAR8:=(2*C+H+L)/4;
VAR9:=LLV(LOW,N1);
VAR10:=HHV(HIGH,N2);
波段:=EMA((VAR8-VAR9)/(VAR10-VAR9)*100,9);
CROSS(波段,20);
(19){选股公式}
涅磐:=EMA(SLOPE(C,21)*20+C,42);
菩提:=MA(H,20);
般:MA(CLOSE,7);
若:=EMA(CLOSE,3);
LONGCROSS(若,般,0.25) AND C>涅磐 AND H>菩提;
(20){选股公式}
AAE:= WINNER(CLOSE+CLOSE*15/100)*100;
BBE:= WINNER(CLOSE+CLOSE*0/100)*100;
CCE:= AAE-BBE;
DDE:= (WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
EEE:= CCE<3 AND DDE<0.5 ;
AE1:= DYNAINFO(6);
AE2:= IF(LOW>AE1,0,IF(HIGH<AE1,1,(AE1-LOW+0.01)/(HIGH-LOW+0.01)));
AE3:= VOL/WINNER(LOW);
AE4:= REF(HHV(CLOSE,120),1);
AE5:= REF(LLV(CLOSE,120),1);
AE6:= 100*(CLOSE-AE5)/(AE4-AE5);
AE7:= AE2>0 OR AE2=1;
AE8:= AE7 AND AE3/REF(AE3,3)>=3 AND AE6<80;
AE9:= REF(AE8,1) OR REF(AE8,2) OR REF(AE8,3) OR REF(AE8,4);
AE10:= AE8 AND AE9;
AE11:= IF(FILTER(AE8,3),5,0);
FILTER(IF(FILTER(AE10,3) OR EEE,10,0),3);
(21){选股公式}
Var1:=REF(CLOSE,1);
Var2:=MA(CLOSE,5);
Var3:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
Var4:=SMA(MAX(CLOSE-Var1,0),12,1)/SMA(ABS(CLOSE-Var1),12,1)*100;
Var5:=SMA(MAX(CLOSE-Var1,0),24,1)/SMA(ABS(CLOSE-Var1),24,1)*100;
Var6:=IF(CROSS(Var3,Var5),LOW,REF(LOW,BARSLAST(CROSS(Var3,Var5))));
Var7:=IF(CROSS(Var5,Var3),HIGH,REF(HIGH,BARSLAST(CROSS(Var5,Var3))));
Var8:=IF(CLOSE>=MA(CLOSE,20),80,50);
Var9:=IF(CLOSE>=MA(CLOSE,20),50,20);
VarA:=IF(Var3<Var8 AND REF(Var3,1)>=Var8,HHV(REF(HIGH,1),BARSLAST(Var3>=Var8 AND REF(Var3,1)<Var8)-1),REF(HHV(REF(HIGH,1),BARSLAST(Var3>=Var8 AND REF(Var3,1)<Var8)-1),BARSLAST(Var3<Var8 AND REF(Var3,1))));
VarB:=IF(HIGH>VarA,LOW,REF(LOW,BARSLAST(HIGH>VarA)));
VarC:=IF(HIGH>VarA,Var3,REF(Var3,BARSLAST(HIGH>VarA)));
VarD:=IF(HIGH>VarB AND Var3<VarC AND Var3<Var5,HIGH,REF(HIGH,BARSLAST(HIGH>VarB AND Var3<VarC AND Var3<Var5)));
VarE:=IF(Var3>Var9 AND REF(Var3,1)<=Var9,LLV(REF(LOW,1),BARSLAST(Var3<=Var9 AND REF(Var3,1)>Var9)-1),REF(LLV(REF(LOW,1),BARSLAST(Var3<=Var9 AND REF(Var3,1)>Var9)-1),BARSLAST(Var3>Var9 AND REF(Var3,1))));
VarF:=IF(LOW<VarE,HIGH,REF(HIGH,BARSLAST(LOW<VarE)));
Var10:=IF(LOW<VarE,Var3,REF(Var3,BARSLAST(LOW<VarE)));
Var11:=IF(LOW<VarF AND Var3>Var10 AND Var3>Var5,LOW,REF(LOW,BARSLAST(LOW<VarF AND Var3>Var10 AND Var3>Var5)));
ref(sum(Var11=ref(Var11,1),2)=2,1) and Var11>ref(Var11,1);
(22){选股公式}
庄家成本:=LLV(LOW,120)*1.2;
ref(sum(庄家成本=ref(庄家成本,1),2)=2,1) and 庄家成本>ref(庄家成本,1);
(23){选股公式}
RSI1:=(SMA(MAX(INDEXC-REF(INDEXC,1),0),6,1))/(SMA(ABS(INDEXC-REF(INDEXC,1)),6,1))*100;
DA1:=(3*INDEXC+INDEXL+INDEXO+INDEXH)/6;
DB:=(20*DA1+19*REF(DA1,1)+18*REF(DA1,2)+17*REF(DA1,3)+16*REF(DA1,4)+15*REF(DA1,5)+14*REF(DA1,6)+13*REF(DA1,7)+12*REF(DA1,8)+11*REF(DA1,9)+10*REF(DA1,10)+9*REF(DA1,11)+8*REF(DA1,12)+7*REF(DA1,13)+6*REF(DA1,14)+5*REF(DA1,15)+4*REF(DA1,16)+3*REF(DA1,17)+2*REF(DA1,18)+REF(DA1,20))/210;
B1:=MA(DB,3);
B2:=MA(DB,5);
B3:=MA(DB,21);
B4:=MA(DB,34);
S:=IF(DATE>960101,1,1);
VARQS21:=LLV(INDEXC,24)*1.056;
VARQS22:=(COUNT(MA(INDEXC,5)>REF(MA(INDEXC,5),1),17))/17*100;
CROSS(INDEXC,VARQS21) AND LLV(INDEXC,24)=LLV(INDEXC,60) AND COUNT(CROSS(INDEXC,VARQS21),13)<=1 AND B3<B4 OR CROSS(INDEXC,VARQS21) AND LLV(INDEXC,24)=LLV(INDEXC,60) AND INDEXC<MIN(B1,MIN(B2,MIN(B3,B4))) AND COUNT(CROSS(INDEXC,VARQS21),13)<=1 OR CROSS(INDEXC,VARQS21) AND INDEXC>REF(INDEXC,1)*1.056 AND INDEXC<MIN(B1,MIN(B2,MIN(B3,B4))) AND COUNT(CROSS(INDEXC,VARQS21),13)<=1 OR CROSS(INDEXC,VARQS21) AND INDEXC>MAX(B1,MAX(B2,MAX(B3,B4))) AND MAX(B1,B2)<MAX(B3,B4) AND B3<B4 AND COUNT(CROSS(INDEXC,VARQS21),13)<=1 OR CROSS(INDEXC,VARQS21) AND INDEXC>MAX(B1,MAX(B2,MAX(B3,B4))) AND MAX(B1,B2)<MIN(B3,B4) AND B3>B4 AND COUNT(CROSS(INDEXC,VARQS21),13)<=1;
(24){选股公式}
n:=23;
VAR1CC:= DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR2C:= DMA(CLOSE,VOL/MA(VOL,33)/33);
XG:=(VAR1CC-VAR2C)/VAR2C*100<(-N);
cross(xg,0.5);
(25){选股公式}
{n:=5;n1:=10;n2:=15;}
H1:=EMA(CLOSE,n);
H2:=EMA(H1,n1);
cross(H1,H2);
热心网友
时间:2023-05-19 06:44
工具--条件选股--条件选股--6.形态特征选股--KTPL均线空头排列,上面有四个周期空格可选,全部选择250即可。