bbi:=(ema(c,3)+ema(c,6)+ema(c,12)+ema(c,24))/4;
b:=cross(c,bbi);
s:=cross(bbi,c);
买入xg:if(c>bbi and ref(b,1),1,0),colorffffff,stick; {买入}
卖出xg:if(c
bbi:=(ema(c,3)+ema(c,6)+ema(c,12)+ema(c,24))/4;
b:=cross(c,bbi);
s:=cross(bbi,c);
买入xg:if(c>bbi and ref(b,1),1,0),colorffffff,stick; {买入}
卖出xg:if(c