DocumentationMQL5 ReferenceStandard LibraryGeneric Data CollectionsCRedBlackTree<T>FindMaxFindMaxFindMaxSearches for an element with the maximum value in a red–black tree.CRedBlackTreeNode<T>* FindMax();Return Value Returns a pointer to the node containing the maximum value on success, or NULL otherwise.Last updated on 2026-07-24FindMin