diff:=ema(close,6)-ema(close,10);dea:=ema(diff,5);macd:=2*(diff-dea);金叉信号1:=cross(close,ma(close,34)) and cross(ma(close,3),ma(close,8));a1:=diff<ref(diff,1) and diff<0;a2:=barslast(a1) and macd...
{此信号是zig转向未来函数,忽悠人的,慎用哦}买:(zig(3,6)>=ref(zig(3,6),1)) and (ref(zig(3,6),1)<=ref(zig(3,6),2)) and (ref(zig(3,6),2)<=ref(zig(3,6),3))and (ref(zig(3,6),3)<=ref(zig(3,6),4));