dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a1:=count(macd<ref(macd,1),5)=5;a2:=count(macd<0,6)>0;count(a1,3)>0 and a2 and macd>0 and macd>ref(macd,1) and dif&...
上面这个是底背离,下面是顶背离,参数自己加吧,如果不会加的话就追问,直接给你坐进去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...