diff:ema(c,12)-ema(c,26);dea:ema(diff,9);macd:2*(diff-dea),colorstick,linethick2;a1:=barslast(ref(cross(diff,dea),1));底背离:=ref(c,a1+1)>c and diff>ref(diff,a1... 20210311
dif:=ema(close,12)-ema(close,26); dea:=ema(dif,9); macd:=(dif-dea)*2; 选股:count(macd<ref(macd,1),7)>=5 and count(macd>0,7)=7 and macd>ref(macd,1) and ref(macd,1)<=0.3; macd称为指数平滑异同平均...