t0mbfunk:
You don't, if you want to show a MA you code an Indicator, and if you want more than one MA you sue more than one buffer. Take a look in the Code Base for some good, bad and average examples.
Hello!
How do I code an EA so it would show a moving average,or several of them (with predefined range) when I drop it to the chart( I am guessing the code should be in init() func.
Please Help.
t0mbfunk: How do I code an EA so it would show a moving average,or several of them
You can have the EA draw line(s) with my polyline code but adding an indicator is easier.

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
Hello!
How do I code an EA so it would show a moving average,or several of them (with predefined range) when I drop it to the chart( I am guessing the code should be in init() func.
Please Help.