Hi
Seems sometimes my EA freezes because broker returns zero for tickvalue.
Do you have any workaround ?
Ideally the EA shouldn't be slowed down as it id to be fast, it is a newstrader EA.
Thank you!
- MT4 Bug ?
- divide zero error
- SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE) sometimes zero
zyrt: Seems sometimes my EA freezes because broker returns zero for tickvalue. Do you have any workaround? Ideally the EA shouldn't be slowed down as it id to be fast, it is a newstrader EA.Thank you!
Then you should have your EA check for that condition. Usually it happens when the connection to the trade server is temporarily lost.
However, there are also certain symbols which have it permanently set that way. Have your EA detect that and warn the user so that they can provide the value manually via an input parameter.

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