I need to combine two Moving Averages indicators so it will draw two lines with different set of parameters.
Really appreciate help from MQL4 gurus to achieve my goal in learning to program MQL4 indicator.
Please, how can I correct the above attached indicator file to make it right.
Thanks in advance.
Regards,
d4d4ng
you should read the https://book.mql4.com// and learn about creating indicators, there is no need to try and modify the moving average indicator, look up and read about the mql4 function, iMA()
Hi SDC,
Thanks for your suggestion :)
Being a newbie, I should have learned the MQL4 tutorial to improve my understanding in programming.
But sometimes, when I observed the indicator's behavior, I just thought how I can plot the indicator with several parameter sets in one instance.
Yes, I will try to start my learning curve to understand programming in MQL4.
Regards,
d4d4ng
did you look in the code base for a multiple moving average indicator ?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi All,
I am new to MQL4 programming and like to merge 2 Moving Averages indicators to display lines for two set of parameters.
I have tried to combine two set of parameters into one indicators, but i can't see the lines although no error reported when I compiled it.
Below I attached the combined file. Please be kind to look at it to point me to the right syntax to make it operable.
Thank you in advance.