fs:=ma(close,17)+ma(close,17)-ref(ma(close,17),1);趋势:=if(ma(close,17)<fs,fs,ma(close,17));年线:=ema(c,250);反线:=ema((年线-(ema(c,3)-年线)),5);x1:=反线-趋势;x2:=趋势*0.15;x:反线>趋势 and x1<x2;
操盘:=xma(xma(l,25),25)-(xma(xma(h,25),25)-xma(xma(l,25),25))*1;趋势:=ema(操盘,25);黄金坑:=if(low<操盘,1,0);x:黄金坑 and 操盘>趋势;公式给你做了,但是要警告你:这个公式用了未来函数,调用了未来12天的走势,所以看似准确,实则坑人,最好别用。