What have you tried before asking ?
52002651 :
Daft entry level question I guess.
How do I add a moving average to a chart using code?
If you want to add a moving average to a chart, you need to use moving average custom indicator from metatrader platform. Not need to codes.

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
Daft entry level question I guess.
How do I add a moving average to a chart using code?