下面这个是通达信的macd顶底背离指标代码,请高手把它改到博弈**里使用。diff:ema(dclose,12)-ema(dclose,26);dea:ema(diff,9),colorffff00;macd:(diff-dea)*2;stickline(macd>=0 and macd>=ref(macd,1),0,macd,1,0),colorred;stickline(macd>=0 and macd(macd,1),0,macd,1,0),colorgreen;... 20210311
以下代码是博易**的xg1:=ref(h=hhv(h,4) and v=hhv(v,4),1) and v<ref(v,1)*0.4 and sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100>70;xg2:=ref(h=hhv(h,4) and v=hhv(v,4),1) and v<r...