MQL5参考标准程序库通用数据集CSortedSet<T>GetViewBetween AddCountContainsComparerTryGetMinTryGetMaxCopyToClearRemoveExceptWithIntersectWithSymmetricExceptWithUnionWithIsProperSubsetOfIsProperSupersetOfIsSubsetOfIsSupersetOfOverlapsSetEqualsGetViewBetweenGetReverse GetViewBetween 从当前已排序集合获取根据最小和最大值指定的子集 bool GetViewBetween( T& array[], // 用于编写的数组 T lower_value, // 最小值 T upper_value // 最大值 ); 参数 &array[] [out] 用于编写子集的数组。 lower_value [in] 范围的最小值。 upper_value [in] 范围的最大值。 返回值 成功返回true,否则返回false。 SetEquals GetReverse