Can anybody help me: Why price of XAUUSD is 1093.09 but digits=0 and point=0.00 from MarketInfo?
Thanks, a lot.
It could be that your terminal wasn't connected or was about to connect?
Did you had the function call in OnInit()?
To me it looks like a 'thread-race' and OnInit() is executed while from the server the information is still not available.
Try to put things like MrketInfo(..) OnTick()..
Can anybody help me: Why price of XAUUSD is 1093.09 but digits=0 and point=0.00 from MarketInfo?
Thanks, a lot.
It could be that your terminal wasn't connected or was about to connect?
Did you had the function call in OnInit()?
To me it looks like a 'thread-race' and OnInit() is executed while from the server the information is still not available.
Try to put things like MrketInfo(..) OnTick()..
Make sure it is definitely added into your symbols list. Sometimes not all info is available if they are not. Hope this helps...
From my experience, some brokers (sometimes) don't provide right data for MarketInfo.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Can anybody help me: Why price of XAUUSD is 1093.09 but digits=0 and point=0.00 from MarketInfo?
Thanks, a lot.