Hi :)
I have a question about code optimization in MQL4.
I want check in my expert if MACD main line is over/below some levels - lets say levels of average H-L of bars.
Should I create indicator and call it from the expert or put this code into the expert?
What does work faster?
I want create at least twenty of such indicators, so the question is important. I remember big problems with efficiency in previous version of MQL considering to many indicators, especially in strategy tester.
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.
I have a question about code optimization in MQL4.
I want check in my expert if MACD main line is over/below some levels - lets say levels of average H-L of bars.
Should I create indicator and call it from the expert or put this code into the expert?
What does work faster?
I want create at least twenty of such indicators, so the question is important. I remember big problems with efficiency in previous version of MQL considering to many indicators, especially in strategy tester.
Thanks in advance for all the answers!
Rafael