SymbolInfoDouble returns SYMBOL_LAST propert of a symbol just for one time
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.
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.