calculations on variable and constants
-
Hey team, can we perform math calculation on variables and constant directly in the value, without using formula block?
-
Not sure what you mean, a constant is fixed and changed in inputs, and a variable can be changed, including using a constant in many different ways. To see exactly add a shared link and say what you are trying to achieve.
-
@jstap what I wanna achieve is to set stoploss by percentage of equity. E.g When a position is opened, the EA should set stop loss to 2% of the equity
-
I take it 5 of price is no good, If you are talking about value at risk set this in the money management box.

-
@jstap so basically, % of price sets stop loss at the percentage of the equity?
-
No that sets it at a % from the open price, money management will set the lot to a relevant size to the money risked