天数:=barslast(ref(cross(rsi.rsi1,ref(rsi.rsi1,1)),1));aa:=cross(rsi.rsi1,ref(rsi.rsi1,1)) and rsi.rsi1<30 and ref(rsi.rsi1,1)>ref(rsi.rsi1,天数+2);bb:=ref(c,1)<ref(c,天数+2);xg:aa and bb and 天数<...
{macd}dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;wr2:=100*(hhv(high,6)-close)/(hhv(high,6)-llv(low,6));:wr2>80 and macd>0;{我达信花试}