In case you get a 0 value, use GetLastError() to see why. Read documentation of SymbolInfoDouble.
Documentation on MQL5: Checkup / GetLastError
- www.mql5.com
Checkup / GetLastError - Documentation on MQL5
angevoyageur:
In case you get a 0 value, use GetLastError() to see why. Read documentation of SymbolInfoDouble.
In case you get a 0 value, use GetLastError() to see why. Read documentation of SymbolInfoDouble.
The error code is 4301 which is "Unknown Symbol".
but the same symbol works for SYMBOL_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
Hello everyone,
I need help with SYMBOL_LAST property in SymbolInfoDouble() function
I need to get the last price of a symbol in my code, but the function just returns the last price just for one time.
why?
thank you.