Put code in to check/print your variable values
extern bool DEBUGGING = true
...
if(DEBUGGING && variableName == 0) Print("CodePoint 1 -- This variable is now ", variableName);
... more code
if(DEBUGGING && variableName == 0) Print("CodePoint 2 -- This variable is now ", variableName);
... more code
if(DEBUGGING && variableName == 0) Print("CodePoint 3 -- This variable is now ", variableName);
...
You'll find it.
Put code in to check/print your variable values
extern bool DEBUGGING = true
...
if(DEBUGGING && variableName == 0) Print("CodePoint 1 -- This variable is now ", variableName);
... more code
if(DEBUGGING && variableName == 0) Print("CodePoint 2 -- This variable is now ", variableName);
... more code
if(DEBUGGING && variableName == 0) Print("CodePoint 3 -- This variable is now ", variableName);
...
You'll find it.
The example is above
put in your own names of the variables that are the divisor, and print BEFORE the division occurs

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have built a very basic reversion ea but have a zero divide error can anyone see where i might have gone wrong. I have been looking at this for days trying to spot the error.
Any help in spotting the error would be greatly appriciated.
Thanks