上面这个是底背离,下面是顶背离,参数自己加吧,如果不会加的话就追问,直接给你坐进去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...
diff:=ema(c,12)-ema(c,26);dea:=ema(diff,9);macd:=2*(diff-dea);天数:=barslast(ref(cross(macd,ref(macd,1)) and macd<0,1));xg:cross(macd,ref(macd,1)) and ref(c,1)<ref(c,天数+2) and ref(macd,1)>ref(m...