MqlTick with no ask nor bid values
I run the SAME CODE on WDO$D again today and the EA works fine now! The bid and ask values was filled.
I really don't know what was happened 2 days ago... It's very odd... :/
I really don't know what was happened 2 days ago... It's very odd... :/
Rafael Caetano Pinto:
I run the SAME CODE on WDO$D again today and the EA works fine now! The bid and ask values was filled.
I really don't know what was happened 2 days ago... It's very odd... :/
SymbolInfoTick() is a function, which returns a value. Always check this value. Please read the documentation.
I run the SAME CODE on WDO$D again today and the EA works fine now! The bid and ask values was filled.
I really don't know what was happened 2 days ago... It's very odd... :/
I'm running a EA on WDO$D and when I try to get ask or bid values, to open position, both are zero!
The value variable is zero when I use SymbolInfoDouble and SymbolInfoTick.
On the code above, symbol = WDO$D and tick instance value is:
Why this is happening? I did something wrong?