Иванов Андрей, хех)
вот вам) на сишке норм работает.
Period1 = 13;
Period2 = 21;
FastMA = MA(C, Period1);
SlowMA = MA(C, Period2);
Buy = Cross(FastMA, SlowMA);
Sell = Cross(SlowMA, FastMA);
Short = Sell;
Cover = Buy;
SetPositionSize(1, spsShares );
PlotShapes(Buy *shapeUpArrow, colordarkgreen, 0, L, Offset = -20);
PlotShapes(Sell *shapeHollowDownArrow, colororange, 0, H, Offset = -10);
PlotShapes(Short *shapeDownArrow, colororange, 0, H, Offset = -20);
PlotShapes(Cover *shapeHollowUpArrow, colordarkgreen, 0, L, Offset = -10);