Check your variable values. By default we tend to set, or reset variable values to zero, when they should be something other than zero, then later in the EA the we use that variable to divide something with that variable; that is typically were the problem occurs.
Therefore, check the locations where you reset your variable values. Since your EA is launching only one trade, you must have some variable value that was reset to zero after the first trade launched. Place your entire EA in a text editor and search for all occurrences of "=0" and make sure you agree with that variable setting.
Check your variable values. By default we tend to set, or reset variable values to zero, when they should be something other than zero, then later in the EA the we use that variable to divide something with that variable; that is typically were the problem occurs.
Therefore, check the locations where you reset your variable values. Since your EA is launching only one trade, you must have some variable value that was reset to zero after the first trade launched. Place your entire EA in a text editor and search for all occurrences of "=0" and make sure you agree with that variable setting.
Than you I will do that, thanx for the help
Thanx ronaldosim, appreciate your tireless help.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys...can some one please tell me what it means when i do a back test and in the journal it says zero divide.
It then only takes 1 trade but no more...I have used normalizedouble so dont think its got to do with the ordersend values...
Thanks