MQL5参考标准程序库指标基准类CPriceSeriesMaxIndex BufferResizeGetDataRefreshMinIndexMinValueMaxIndexMaxValue MaxIndex 获取指定范围最大元素索引。 virtual int MaxIndex( const int start, // 开始索引 const int count // 扫描的元素数量 ) const 参数 start [输入] 开始索引。 count [输入] 处理元素的数量。 返回值 指定范围最大元素索引, 或者在出错时 -1。 MinValue MaxValue