unable to resolve EA Critical Error
-
I am getting the following error when running the tester:
2021.03.25 22:49:42 trial EURUSD,M15: zero divide in 'trial.mq4' (2866,24)The 2866 line of code is :
if (size==EMPTY_VALUE) {size=0;}Can anyone help me resolve this.
-
@jlakins can you share the project?
-
@miki certainly. Please note I am brand new to robots.!
0_1619606288643_Screenshot (2).png !
0_1619606299411_Screenshot (1).png
0_1619606315684_trial.mq4 .Here is the message I am receiving. Tried changing lot sizes and other items with no success. I am calling my broker today as well for more info.
-
@jlakins testing it, i haven't any error. Error in question refers when you use fixed ratio by Ryan Jones in money management, have you used this method in buy now block?
Ps:sensitive information better hide it.
-
@miki NO I havent . As stated I have never built or traded with a bot. This will be my first so wanted to use something simple to familiarize myself with EA, strategy tester, ect. Is Ryan Jones written into the code?
-
I See the "Ryan Jones" text. This was straight from the platform. I don't know how or what it is exactly.
-
@jlakins I don't know what to tell you, I don't have that error