大智慧选股公式改成通达信选股公式,谢谢!
input:N1(10,1,100),N2(30,1,100),N3(56,1,100);ST:=STRFIND(stkname,'ST',1)>0;S:=STRFIND...
input: N1(10,1,100),N2(30,1,100),N3(56,1,100);
ST:=STRFIND(stkname,'ST',1)>0;
S:=STRFIND(stkname,'S',1)>0;
停牌:=(DYNAINFO(4)=0);
ZF:=(c-ref(c,1))/ref(c,1)*100;
LL:=LLV(L,N1);
HH:=HHV(H,2*N1);
H0:=REF(HHV(H,N3),N1+N2);
选股:6*(HH=HHV(H,N2+N1+N3) and LL>H0 and LL/HH<0.95) AND (ref(C,N1)-C)/C*100>15 AND not (ST) and not(停牌) and not(S) and not(S); 展开
ST:=STRFIND(stkname,'ST',1)>0;
S:=STRFIND(stkname,'S',1)>0;
停牌:=(DYNAINFO(4)=0);
ZF:=(c-ref(c,1))/ref(c,1)*100;
LL:=LLV(L,N1);
HH:=HHV(H,2*N1);
H0:=REF(HHV(H,N3),N1+N2);
选股:6*(HH=HHV(H,N2+N1+N3) and LL>H0 and LL/HH<0.95) AND (ref(C,N1)-C)/C*100>15 AND not (ST) and not(停牌) and not(S) and not(S); 展开
1个回答
展开全部
N1:=10;
N2:=30;
N3:=56;
ST:=NAMELIKE('ST');
S:=NAMELIKE('S');
停牌:=(DYNAINFO(4)=0);
ZF:=(C-REF(C,1))/REF(C,1)*100;
LL:=LLV(L,N1);
HH:=HHV(H,2*N1);
H0:=REF(HHV(H,N3),N1+N2);
选股:6*(HH=HHV(H,N2+N1+N3) AND LL>H0 AND LL/HH<0.95) AND (REF(C,N1)-C)/C*100>15 AND NOT (ST) AND NOT(S) AND NOT(停牌) ;
N2:=30;
N3:=56;
ST:=NAMELIKE('ST');
S:=NAMELIKE('S');
停牌:=(DYNAINFO(4)=0);
ZF:=(C-REF(C,1))/REF(C,1)*100;
LL:=LLV(L,N1);
HH:=HHV(H,2*N1);
H0:=REF(HHV(H,N3),N1+N2);
选股:6*(HH=HHV(H,N2+N1+N3) AND LL>H0 AND LL/HH<0.95) AND (REF(C,N1)-C)/C*100>15 AND NOT (ST) AND NOT(S) AND NOT(停牌) ;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询