n1:=6;n:=20;lc:=ref(close,1);rsi:=sma(max(close-lc,0),n1,1)/sma(abs(close-lc),n1,1)*100;count("kdj.j",3)=3 and count(rsi,3)=3;建议选股时不要用底背离,选出kdj的j值连续三天0以下,rsi值连续三天20以下的股后,收到筛选macd 底背离的股票,因为macd背离一种趋势。 20210311
p:=(high + low + close)/3;cci:=(p-ma(p,n))*100/(1.5***edev(p,n)),colorwhite;-100,pointdot,color00aa00;100,pointdot,color00aa00;select:count(c<ref(c,1),5) and ref(count(cci<-100,3),3) and cross...
n:=9;m1:=3;m2:=3;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;a1:=barslast(ref(cross(k,d),1));底背离:ref(close,a1+1)>close and k>ref(k,a1+1)and cr...
ma98:=ma(close,98);cross(c,ma98) ;========================ma14:=ma(close,14);ma18:=ma(close,18);ma98:=ma(close,98); cross(ma14,ma98) and cross(ma18,ma98);==========================ma63:=ma(close,63);m...