{小波段底选股}源码KSD:=IF(O>C,O,C); XG1:=IF(TROUGHBARS(KSD,10,1)=1,1,0); N:=13; A:=CCI(N); A1:=CROSS(A,-100); XG:XG1 AND A1;