lc:=ref(close,1);rsi1:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;rsi2:=sma(max(close-lc,0),12,1)/sma(abs(close-lc),12,1)*100;count(rsi1>rsi2,3)=3 and dyna**(17)>0;公式已测试通过!希望能够帮助你!
ma1:=ma(c,60);二日缩量下跌:=every(c<ref(c,1) and v<ref(v,1),2);三日缩量下跌:=every(c<ref(c,1) and v<ref(v,1),3);均线上涨:=ma1>ref(ma1,1);xg:(二日缩量下跌 or 三日缩量下跌) and 均线上涨;均线暂设置为60日均线,请自己设置.