MQL5 ReferenceStandard LibraryGeneric Data CollectionsCRedBlackTree<T>FindMax AddCountRootContainsComparerTryGetMinTryGetMaxCopyToClearRemoveRemoveMinRemoveMaxFindFindMinFindMax FindMax Searches 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. FindMin CSortedMap<TKey, TValue>