c119**整理公式如下:count(close>0,0)>n && (hhv(close,n)-llv(close,n))/llv(close,n)<=(n1/100);意思是:统计上市超过30天,并且 (30日内收盘价的最高值-30日内收盘价的最低值)/30日内收盘价的最低值<=(5/100)。根据要求,改编的公式如下:t1:=abs(close-open)/ref(close,1)<0.05;t2:=count(t1,5)=5;t3:=(h-l)/ref(close,1)<0.1;t4:=count(t3,5)=5;xg:count(close>0,0)>30 and t2 and t4 and (hhv(close,30)-llv(close,30))/llv(close,30)<=(5/100);由于有最佳答案,请采纳,谢谢。 20210311
rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:=sma(rsv,m1,1);d:=sma(k,m2,1);j:=3*k-2*d;aa:=j-ref(j,1)<0 and ref(j,1)-ref(j,2)<0;bb:=c-ref(c,1)>0 and ref(c,1)-ref(c,2)>0;aa and bb;...
{ok.测试通过}n:=8;aa1:=ref(l,n)=llv(l,2*n+1);bb1:=backset(aa1,n+1);cc1:=filter(bb1,n) and l=llv(l,n+1);m:=intpart(3*n/5);aa2:=ref(l,m)=llv(l,2*m+1);bb2:=backset(aa2,m+1);cc2:=filter(bb2,m) and l=llv(l,m+1...
wy1001:=(2*close+high+low)/4;wy1002:=ema(wy1001,4);wy1003:=ema(wy1002,4);wy1004:=ema(wy1003,4);xys0:=(wy1004-ref(wy1004,1))/ref(wy1004,1)*100;xys1:=ma(xys0,2);xys2:=ma(xys0,1);红箭:cross(xys2,xys1) and ...