Adding a Moving Average to a chart using code

Mervyn Guest
233
Mervyn Guest  

Daft entry level question I guess.

How do I add a moving average to a chart using code?

Alain Verleyen
40864
Alain Verleyen  
What have you tried before asking ?
Ahmet Metin Yilmaz
6142
Ahmet Metin Yilmaz  
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.

cidand1
27
cidand1  
52002651:

Daft entry level question I guess.

How do I add a moving average to a chart using code?

I guess if it is for an existing code, MQL4: Use the iMA( ) function. To learn how to use it with all the parameters, type in meta editor , then highlight and press f1