qb:="kdj.j"-ref("kdj.j",1)>30 and c/ref(c,1)>1.043 and"macd.macd">0 and"macd.dea">0;ls:=c/ref(c,1)>1.048 and c=h and between(forcast(v,4),0.2*forcast(v,12),2.1*forcast(v,12));lq:=filter...
{4背离}n:=60;k值:=kdj.k;dd:=c=llv(c,n);ddsj:=barslast(ref(dd,1));ddgj:=ref(close,ddsj+1)>close;kdzb:=ref(k值,ddsj+1)<k值;k底背离:=ddgj and kdzb;{macd指标趋势}macd:=macd.macd;mdzb:=ref(macd,ddsj+1)<macd;m...
n:=13;m:=3;psy:=count(close>ref(close,1),n)/n*100;pa:=ma(psy,m);jj:=dyna**(11) ;tj4:=filter((c-jj)/jj<-0.02 and pa<16,13);tj5:=filter((c-jj)/jj<-0.04 and pa<16,13);tj4 or tj5;
{绿线买}lc:=ref(close,1);操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;震仓线:=45;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;涨停:=if(ref(c,1)...