MQL5 ReferenceStandard LibraryIndicatorsBase classesCPriceSeriesMaxIndex BufferResizeGetDataRefreshMinIndexMinValueMaxIndexMaxValue MaxIndex Gets the index of maximal value in the specified range. virtual int MaxIndex( const int start, // index const int count // number ) const Parameters start [in] Search range initial index. count [in] Search range size (number of elements). Return Value The index of the maximal value of the series buffer in the specified range, or -1. MinValue MaxValue