Download MetaTrader 5
To add comments, please log in or register
Add the thread to Favorites. Track the changes even faster!
njboys808
11
njboys808 2013.11.23 18:23 

Hello Everyone, I'm new to MT4 and was trying to figure out how to apply the Moving Average indicator (exponential) to the lowest asking price. I see options for High, Low, Open, Close, etc., But I don't see asking price as an option. Maybe I'm not understanding it correctly. Any help offered would be greatly appreciated.

Simon Gniadkowski
Moderator
17989
Simon Gniadkowski 2013.11.23 18:58  
njboys808:

Hello Everyone, I'm new to MT4 and was trying to figure out how to apply the Moving Average indicator (exponential) to the lowest asking price. I see options for High, Low, Open, Close, etc., But I don't see asking price as an option. Maybe I'm not understanding it correctly. Any help offered would be greatly appreciated.

You cannot, the Ask price is not stored only the Bid.
Ian Venner
2583
Ian Venner 2013.11.25 00:28  

You would have to modify the EMA code to make it calculate on price+spread.

whroeder1
14199
whroeder1 2013.11.25 02:20  
SDC: You would have to modify the EMA code to make it calculate on price+spread.
That won't work with variable spread brokers as previous spread isn't stored anymore than Ask is.
Ian Venner
2583
Ian Venner 2013.11.25 02:28  

That is true for historical chart data. It would be accurate on the live price feed though.

Simon Gniadkowski
Moderator
17989
Simon Gniadkowski 2013.11.25 08:47  
SDC:

That is true for historical chart data. It would be accurate on the live price feed though.

There is no need to do it on the live price feed . . . live Ask is available so there is no need to calculate it.
Ian Venner
2583
Ian Venner 2013.11.25 14:53  

Live ask is available yes, but EMA of Ask prices isn't until you calculate it.

Zoltan Laszlo Ferenci
28
Zoltan Laszlo Ferenci 2013.11.25 16:33  

It's possible to create offline chart from the ask price, then the EMA can be applied on that offline chart.

This software can make offline chart based on the ask price: http://metatraderprogrammer.com/microtimeframe

/
To add comments, please log in or register