MQL5 ReferenceStandard LibraryScientific ChartsCCurveYMax TypeNameColorXMaxXMinYMaxYMinSizePointsSizePointsFillPointsColorGetXGetYLinesStyleLinesIsSmoothLinesSmoothTensionLinesSmoothStepLinesEndStyleLinesWidthHistogramWidthCustomPlotCBDataCustomPlotFunctionPointsTypeStepsDimensionTrendLineCoefficientsTrendLineColorTrendLineVisibleUpdateVisible YMax Returns the maximum value of the Y function (real numbers only). double YMax() Return Value Maximum value of the Y function (real numbers only). XMin YMin