dif:=ema(close,9)-ema(close,150);dea:=ema(dif,12);macd0:=2*(dif-dea);xg:macd0<0 andmacd0>ref(macd0,1)and ref(macd0,1)(macd0,2) and ref(macd0,2)(macd0,3) and ref(macd0,3)(macd0,4);
ma1:=ma(close,m1);ma2:=ma(close,m2);ma3:=ma(close,m3);ma4:=ma(close,m4);(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig(3,5),2)<=ref(zig(3,5),3));{已测试,复制可直接引用,m...