DocumentationMQL5 ReferenceStandard LibraryScientific ChartsCCurveXMaxXMaxXMaxReturns the maximum value of the X function (real numbers only).double XMax()Return Value Maximum real number among all the function arguments.Last updated on 2026-07-24ColorXMin