DocumentationMQL5 ReferenceStandard LibraryStrategy ModulesTrailing Stop ClassesCTrailingMAShiftShiftShiftSets shift of a moving average.void Shift( int shift // parameter )Parameters shift[in] Shift of a moving average.Last updated on 2026-07-24PeriodMethod