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.
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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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.
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 ?