rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;xg:j<60 and j>45 and cross(k,d)and c>o and v>ref(v,1); 20210311
n:=20;d:=5;boll:=ma(close,n);ub:=boll+2*std(close,n);lb:=boll-2*std(close,n);xg:count(range(c,lb,boll)=1,d) and lb>ref(lb,1) and ref(lb,1)<ref(lb,2);{d:为收盘价在中轨和下轨间运行天数(我设为5天,自己可改),下轨第一天转头向上时进行选股...
drawicon(cross(ema(c,3),ema(c,5))and c>o and c>ref(c,1)and c/ref(c,1)>=1.018 or cross(ema(c,3),ema(c,12))and c>o and c>ref(c,1)and c/ref(c,1)>=1.018 or cross...