Download MetaTrader 5

OnCalculate - which price passed

To add comments, please log in or register
chinaski
922
chinaski  

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
33611
Alain Verleyen  
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
922
chinaski  
Thank you angevoyageur, the good angel of this forum
Alain Verleyen
Moderator
33611
Alain Verleyen  
chinaski:
Thank you angevoyageur, the good angel of this forum
You are welcome.
To add comments, please log in or register