aa:close;m5:ma(c,5);m10:ma(c,10);m24:ma(c,24);drawicon(cross(aa,m5) and cross(aa,m10) and cross(aa,m24),l,1);drawicon(cross(m5,aa) and cross(m10,aa) and cross(m24,aa),h,2);{选股公式}aa:=close;m5:=ma(c,5);...
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背离一种趋势。