Why this error is coming ?
-
Hello Everyone,
I am getting this annoying error as popup on chart whenever there is a situation of opening a new trade after initial 3 trades in a martingale system, Balance is sufficient and it is working perfect in backtesting too but in real market it showing this.

-
@l-andorrà @roar @fxDreema @jstap Can you please look into it
-
The error message itself has told you the problem
-
May be I didn't understand that, please let me aware about it what I have done wrong. as it working correct in backtesting
-
Can you please share the link to the project?
-
-
@forexbob-0
You lot size is 0, that's why you get this message. Check you lot size. -
@sktsec it is opening initial positions quite well,
I set initial lot as 0.01, it is opening few initial trades correct as i need but it start showing this popup after few positions -
The only way to confirm what would have happened is to print out the value of the variable for the lot size. Obviously, your lot size variable has become zero, that's up to your algo
-
@sktsec in which part of project it can be checked