What is causing this error?
-

Happens on multiple currencies - is one of my indicators incorrectly configured?
-
@specialfx Yes, that's a logical error in some function. Check that line 6099 from your .mq4 code.
-
@specialfx That's usually the case if you do a division especially with variables and the divisor (is that called like this in English?) is zero. This is not defined in mathematics and hence an error.
example://
double dont_do_that = 0;
double result = 12345 / dont_do_that;
//You can avoid it by testing if in this case "dont-do-that" variable is not zero.
For your EA that means, that it stops working from that point on after the error message.
-
@trader-philipps That's pretty irritating, kinda of messes up indicators which revolve a zero-line cross doesn't it?
In this case however I checked the line of code as roar suggested and apparently this error was caused by me risking an invalid % of equity in buy / sell orders