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.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.