zt:=(c-ref(c,1))/ref(c,1)*100>9.96;a1:=ex**t(zt,30);xg:=hhv(h,120)=h;a2:=ex**t(xg,10);a3:=(ref(hhv(max(c,o),5),1)-ref(min(o,c),1))/ref(min(o,c),1)*100>5 and ref(o,1)>=ref(c,1);a5:=finance(7)*...
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天,自己可改),下轨第一天转头向上时进行选股...
神仙大趋势h1:=ema(close,6),colorwhite; h2:=ema(神仙大趋势h1,18),colorgreen; h3:=ema(close,108),coloryellow;cross(神仙大趋势h1,max(h2,h3)) or (神仙大趋势h1>max(h2,h3) and ref(c,1)<ref(c,2) and c>ref(max(c,o),1));