Download MetaTrader 5

Script: How to access last price?

To add comments, please log in or register
omidh
9
omidh  

Hello,

I was writing a simple script which its job is to send market data to external program but I have an issue.

I don't know how to access Last Price, Ask price and Bid price in script

How can I solve this? 

Osama Shaban
1468
Osama Shaban  
You just read Ask and Bid using MarketInfo( ) ... That's all.
To add comments, please log in or register