{n--参数自己设置。通达信已通过测试}typ:=(high+low+close)/3;cci:=(typ-ma(typ,n))/(0.015***edev(typ,n));aa2:=ref(cci,3)=llv(cci,2*3+1);bb2:=backset(aa2,3+1);cc2:=filter(bb2,3) and cci=llv(cci,3+1);aa2a:=barslast(ref(cc2,1));cci底背离:ref(c,aa2a+1)>close and ref(cci,aa2a+1)<cci and cc2; 20210311
{通达信测试通过}{红柱买选股}varc:(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig(3,5),2)<=ref(zig(3,5),3));--------------------------------------------------{绿柱卖选股}vard:(zi...