How to add Moving Average Indicator on EA price chart

Back to topics list To post a new topic, please log in or register
avatar
19
TheLobos 2016.04.14 11:46
 

I'm trying to add a standard moving average indicator ( iMA() ) to the price chart of an EA. I've googled quite a bit but all I've found explained is how to add a custom MA to a price chart. 

Does a simple 1-line command exist which allows me to add a standard MA to a price chart or do I have to go the route of using buffers? A link to a canonical explanation of this would be highly appreciated.

Thanks in advance. 

avatar
Moderator
3423
GumRai 2016.04.14 12:44 #
 

Just drag the MA onto the chart, same as any chart.

Or do you mean that you want to use the values in the EA.

It is not clear what you want.

avatar
19
TheLobos 2016.04.14 12:53 #
 
I'm aware of this possiblity, but I don't want to drag the MA onto the chart, I want the MA to be placed on the chart by the EA based on the MA timeframe chosen in the MA setup/config. 
avatar
Moderator
3423
GumRai 2016.04.14 13:02 #
 
I don't think that is possible, but maybe somebody else knows better
avatar
Moderator
3206
angevoyageur 2016.04.14 14:44 #
 
GumRai:
I don't think that is possible, but maybe somebody else knows better
Possible only with WinAPI.
avatar
19
TheLobos 2016.04.14 15:45 #
 
Do you by any chance have a link handy where the use of WinAPI for such purposes are explained?
avatar
Moderator
3206
angevoyageur 2016.04.14 17:56 #
 
TheLobos:
Do you by any chance have a link handy where the use of WinAPI for such purposes are explained?

https://www.mql5.com/en/forum/73391

 

Back to topics list  

To add comments, please log in or register