markog:
Is there any function to get a price from different currency symbol, not from the one which I have opened.
If EURUSD is opened: 'ask' gets EURUSD price.
Is there any function like ask("EURGBP)?
MarketInfo() is the function you're looking for.
eg.
dAsk = NormalizeDouble(MarketInfo("EURGBP",MODE_ASK),4);
dBid = NormalizeDouble(MarketInfo("EURGBP",MODE_BID),4);
cloudbreaker:
MarketInfo() is the function you're looking for.
eg.
dAsk = NormalizeDouble(MarketInfo("EURGBP",MODE_ASK),4);
dBid = NormalizeDouble(MarketInfo("EURGBP",MODE_BID),4);
Yes. Thank you very much.
Very good!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Is there any function to get a price from different currency symbol, not from the one which I have opened.
If EURUSD is opened: 'ask' gets EURUSD price.
Is there any function like ask("EURGBP)?