Though I'd love to see that MA line's sneaky move at my command, anyone who knows MQL4 will be sad that in MQL5 we really can't call and change any indicator parameter on the-the-fly.
In MQL5 once it's handle initialized, the indicator is fixed - dead to it's parameter. I can't no longer scan price movement with different Period, because indicator's Period is already fixed.
In MQL4, we can call indicator right inside start(), and change it's parameter as many as we like.
No wonder, Integer wrote so many ...OnArray libraries in code base.
:(
Thanks for sharing such a application which it is pushing the brain to go further and further
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
New article Event handling in MQL5: Changing MA period on-the-fly is published:
Author: Sceptic Philozoff