Open[], High[], .. Volume[] equivalent in MQL5 - page 2

 
Alain Verleyen:
So what is the problem ? I don't get it.

I try to keep the 'cost of execution' low. To get the minimum and the maximum means either (ArrayMinimum() and ArrayMaximum()) two loops through the same array or one loop by me searching for may and min in the same loop.

For a single EA or indicator the difference of the execution time might not matter but to me it's a kind of principle or style.

 
Carl Schreiber:

I try to keep the 'cost of execution' low. To get the minimum and the maximum means either (ArrayMinimum() and ArrayMaximum()) two loops through the same array or one loop by me searching for may and min in the same loop.

For a single EA or indicator the difference of the execution time might not matter but to me it's a kind of principle or style.

Why aren't you checking and tell us ?