Lot Size = Percentage of Balance in Martingale
-
Hi all,
Is there a way to use the "% of Balance => Lots" as a the "Initial Volume" if the "Money Management" option is "Betting: Martingale / Paroli"?
(Maybe by defining a Constant, but I can't figure how...)
Thank you!
-
@bogdaiki Hi,
you can insert you balance anywhere by using the mql4 function balance().
This uses 1 lot for every 10000 in balance, adjust the factor to your liking.

-
@roar Thank you for the answer. It looks like I'm missing something - when saving the .ex4 I get this error: 'Balance' - function not defined. Do I have to first define 'Balance' somewhere?
Thank a lot!

-
@bogdaiki Try AccountBalance() instead of Balance!
-
@bogdaiki ^^ that's right, my bad!
-
Fantastic, works like a dream, thank you all for your help!
-
work with mql5?