网友求助:
(1 ) 将 指标: t:=FINANCE2(37)/10000;
ST:=STRFIND(stkname,'ST',1)>0;
S:=STRFIND(stkname,'S',1)>0;
t<2 and c<15 and not(ST) and not(S);添加一个每股收益大于0.05. (2)指标:(N 缺省1最小0.1最大10步长1;N1 缺省2最小1最大10步长1;N2 缺省13最小1最大1000步长1;N3 缺省2最小1最大100步长1.) A:= (C-REF(C,1))/REF(C,1)>=(N/100) ;
SUM(VOL,N1)/CAPITAL>=(N2/100)
AND COUNT(VOL>REF(VOL,1),N3)=N3 AND COUNT(A,N3)=N3; 将指标(1)和指标(2)合并为预警公式
解答如下:
A:= (C-REF(C,1))/REF(C,1)>=(1/100) ;
T:=FINANCE2(37)/10000;
ST:=STRFIND(STKNAME,'ST',1)>0;
S:=STRFIND(STKNAME,'S',1)>0;
T<2 AND C<15 AND NOT(ST) AND NOT(S) AND FINANCE2(3)>0.05 AND SUM(VOL,2)/CAPITAL>=(13/100) AND COUNT(VOL>REF(VOL,1),2)=2 AND COUNT(A,2)=2;