CX:=MAX(C,AMOUNT/(100*vol)); B:=(CX-MA(CX,30))/MA(CX,30)*100; 横盘:=B>-7 AND B<20; 横盘天数:BArslAST(横盘=0);