How to find out if a two dimensional array has a certain pair of values

 

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:


double sZones[][2];

double upperVal = 0.2312;
double upperVal = 0.2303;


How can I search through each of the contained double pairs to determine if  (upperVal, lowerVal) is in the array using MQL5?

 
  1. The array is not sorted, you can't use Bsearch.

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