how to set a variable that = 1% of balance
-
please .. i want to make a take profit variable depend on current balance so ..
how to set a variable that = 1% of balance ? -
Try this:

-
@l-andorrà
thanks ,, it is worked -
These functions are also very easy to use - AccountEquity() and AccountBalance() - so you can use them directly in some input field. For example AccountBalance() * 0.01 or AccountBalance() * 1 / 100
-
@fxdreema Is there a list with the available functions? Thank you
-
@ajmd97fx you can use any MQL function.
So here's the list, I guess
https://docs.mql4.com/
https://www.mql5.com/en/docs -
@roar thx