你的公式出现“买”的条件是靠未来函数“zig”实现的。可以做趋势参考,不赞成选股操作。买:(zig(3,6)>=ref(zig(3,6),1)) and (ref(zig(3,6),1)<=ref(zig(3,6),2)) and (ref(zig(3,6),2)<=ref(zig(3,6),3))and (ref(zig(3,6),3)<=ref(zig(3,6),4))...
超长趋势线:=3*sma((close-llv(low,120))/(hhv(high,120)-llv(low,120))*100,5,1)-2*sma(sma((close-llv(low,120))/(hhv(high,120)-llv(low,120))*100,5,1),3,1);选股:超长趋势线>90 or cross(超长趋势线,90);根据你的本意,上面的公式是选出的是接近于顶部的...