-
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)

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?