DocumentationMQL5 ReferenceStandard LibraryTrade ClassesCTradeSetDeviationInPointsSetDeviationInPointsSetDeviationInPointsSets the allowed deviation.void SetDeviationInPoints( ulong deviation // deviation )Parameters deviation[in] Allowed deviation in points.Return Value None.Last updated on 2026-07-24SetExpertMagicNumberSetTypeFilling