Hello,
With the MarketInfo function you should be able to check the Price of other sybmols. For better readability i would use MODE_ASK/MODE_BID ... and not the integer value.
Also make sure your Broker doesn't add a letter to symbols.
Thanks for your comment.
What really puzzles me is that the command MarketInfo("EURUSD",10) executed in a EURUSD chart delivers a correct result but
MarketInfo("GBPUSD",10) executed in the same chart does NOT.
So you suggest MarketInfo("GBPUSD",10) should deliver also a correct result.
Do you know how to check if the broker is adding letters to symbols? Do I have to contact my broker or do I have a possibility to check that myself?
Thanks for your help.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everybody,
I'm writing a program to calculate the Pip Value in the Account currency.
MarketInfo() command seems to deliver only information related to the chart it is attached to.
For example:
Account currency = USD
Trading chart = EURGBP
The Price pair needed for Cross Currency calculation is GBPUSD.
Using MarketInfo("GBPUSD",10) does not deliver any results.
The above command doesn't seem to access Marked Watch information.
Any idea how to overcome this issue?
Your help is appreciated
.