aobv:="obv.obv";amacd:="macd.macd";adif:="macd.dif";adea:="macd.dea";aa1:=h=hhv(aobv,120);aa2:=amacd>0 and adif>adea;aa3:=ma(c,5)>ma(c,10)>ma(c,20) ...
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天,自己可改),下轨第一天转头向上时进行选股...
a1:=hhv(c,1800)>llv(c,1800)*1.6 and llv(c,1800)*2<hhv(c,1800) and count(c/ref(c,1)>0.098,100)>=1 and barscount(close)>600 ; a2:= (c-ma(c,200))/ma(c,200)<0.2 { 相对于200天线正乖离小于20% };a3:=...