BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
EBBI:(MA(CLOSE,6)+MA(CLOSE,18)+MA(CLOSE,54)+MA(CLOSE,162))/4;
XG:=COUNT(BBI,30)=1 AND EBBI AND FILTER(EBBI,10);
DRAWTEXT(XG,L*0.98,'★入锅买'),coloryellow;
DRAWTEXT(CROSS(CLOSE,MA(CLOSE,30)),L*0.98,'买');
【箱顶】:PEAK(CLOSE,10,1)*0.98;
【箱底】:TROUGH(CLOSE,10,1)*1.02;
【箱高】:100*(【箱顶】-【箱底】)/【箱底】,NODRAW;