DocumentationMQL5 ReferenceStandard LibraryScientific ChartsCCurveYMaxYMaxYMaxReturns the maximum value of the Y function (real numbers only).double YMax()Return Value Maximum value of the Y function (real numbers only).Last updated on 2026-07-24XMinYMin