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; {卖出}
看股 吧公式 www.kang uba.com