MQL5参考标准程序库指标基准类CPriceSeriesMaxValue BufferResizeGetDataRefreshMinIndexMinValueMaxIndexMaxValue MaxValue 获取指定范围最大元素值和索引。 virtual double MaxValue( const int start, // 开始索引 const int count, // 扫描的元素数量 int& index // 索引变量的引用 ) const 参数 start [输入] 开始索引。 count [输入] 处理元素的数量。 index [输出] 整数类型变量的引用。 返回值 指定范围指定缓存区的最大元素值, 或者错误时 EMPTY_VALUE。 注释 最大元素的索引保存在索引变量中。 MaxIndex CIndicator