Hi guys,
I’m fiddling with this EA these days but there seems to be a part in the code thats been giving me troubles. When plotted to a chart the EA delivers the following error : invalid lots amount for FreeMarginCheck function.
I suspect that the problem occurs at 5 digit brokers since it’s working fine with 4 digit quotes (from what I have tested). I have tried to mod it for 5digit brokers but since my coding skill is bellow rudimentary level so that didn’t work too. It might be something else though.
I would appreciate if anyone gives it a look and fix this issue. Thanks in advance and I'm looking forward to your input.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I’m fiddling with this EA these days but there seems to be a part in the code thats been giving me troubles. When plotted to a chart the EA delivers the following error : invalid lots amount for FreeMarginCheck function.
I suspect that the problem occurs at 5 digit brokers since it’s working fine with 4 digit quotes (from what I have tested). I have tried to mod it for 5digit brokers but since my coding skill is bellow rudimentary level so that didn’t work too. It might be something else though.
I would appreciate if anyone gives it a look and fix this issue. Thanks in advance and I'm looking forward to your input.
D.