aud4xtrader:
The Documentation can be a little obscure in the way it is organised . . . there is a function though that will do just what you want . . . MarketInfo() used with MODE_BID
Hi
I want to know if there is a way of displaying either via an indicator or EA current prices of other symbols other than the one the indicator or EA is attached to.
I have not been able to find anything to assist in the online documentation either....
https://docs.mql4.com/common/MarketInfo
double Ask_AUDUSD = MarketInfo ("AUDUSD",MODE_ASK); double Bid_AUDUSD = MarketInfo ("AUDUSD",MODE_BID);

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
Hi
I want to know if there is a way of displaying either via an indicator or EA current prices of other symbols other than the one the indicator or EA is attached to.
I have not been able to find anything to assist in the online documentation either....
currentprice=Ask(symbol(AUSUSD));
Is what i am looking for.....
Regards Phillip