EA freezes because tickvalue is zero
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
- FREEZE OF THE CHART
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.