MARTIN EA

 
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.

D.
 
I'm not an expert in these matters . . but it looks like decompiled code to me . . . is it ?
 
RaptorUK:
...but it looks like decompiled code to me . . . is it ?


It was - now gone

-BB-

 
Diki:
Hi guys,
I’m fiddling with this EA these days....


Do not post decompiled code

-BB-