dif:ema(close,12)-ema(close,26);dea:ema(dif,9);macd:(dif-dea)*2,colorstick;第一红:barslastcount(macd>0)=1;短后长:macd>0 and macd>ref(macd,1) and ref(macd,1)<ref(macd,2);试试吧。测试过了。 20210311
上面这个是底背离,下面是顶背离,参数自己加吧,如果不会加的话就追问,直接给你坐进去dif:=ema(close,short)-ema(close,long);dea:=ema(dif,mid);macd:=(dif-dea)*2,colorstick;底背离:c<=llv(c,60) and macd>=ref(macd,1);这个只是根据红绿柱背离做的,你试试吧 别忘了把参数加上,s...