来源:Internet,编辑:股旁网,2013-01-13
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 and ref(s,1),1,0),colorff00ff,stick; {卖出}