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... :/

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
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?