加到macd指标: sum(between(macd,-0.001,0.01),2)=2;macd红柱连续2天在-0.001~0.01范围内。sum(between(dif,m,abs(m)),n)=n-1 and sum(between(dea,m,abs(m)),n)=n-1;m=-0.03范围:-0.5~0}。macd:称为指数平滑异同移动平均线,是从双移动平均线发展而来的,由快的移动平均线减去慢的移动平均线,... 20210311
dif:=ema(close,12)-ema(close,26); dea:=ema(dif,9);dea>ref(dea,1) and dea>=0.5 and dea<=0.8;or(dea<ref(dea,1) and dea>=0.5 and dea<=0.8);两个选股条件合并为一个公式了,要分为两个的话分别取1,2,3行和1,2,5行