Download MetaTrader 5

OnCalculate - which price passed

To add comments, please log in or register
Your broker does not support mobile MetaTrader 5? Ask him to buy them!
chinaski
890
chinaski 2014.07.08 20:03 

Hello,

anyone can say what price is passed to the OnCalculate function: bid, ask or last ?

Found nothing about in the documentation. 

Alain Verleyen
Moderator
30752
Alain Verleyen 2014.07.08 20:31  
chinaski:

Hello,

anyone can say what price is passed to the OnCalculate function: bid, ask or last ?

Found nothing about in the documentation. 

All prices passed with OnCalculate are base on bid.
chinaski
890
chinaski 2014.07.08 21:15  
Thank you angevoyageur, the good angel of this forum
Alain Verleyen
Moderator
30752
Alain Verleyen 2014.07.08 22:54  
chinaski:
Thank you angevoyageur, the good angel of this forum
You are welcome.
To add comments, please log in or register