How to find out if a two dimensional array has a certain pair of values
-
The array is not sorted, you can't use Bsearch.
-
Go through the array and linearly search for your match. Remember, doubles are rarely equal. Understand the links in:
The == operand. - MQL4 programming forum #2 (2013)You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
No free help (2017)
I've read about ArrayBsearch but from docs I don't know whether it can be used to search for an element in a two dimensional array.
I have the following array:
How can I search through each of the contained double pairs to determine if (upperVal, lowerVal) is in the array using MQL5?