Money management
-
Hi everyone
. I have a question . Think about a certain situation and we want to open a buy position by managing risk % of equity capital with a loss of 30 pips for example and by increasing the loss by 10 pips, how can we increase the internal volume of the transaction by increasing the loss let's raise -
Not sure I fully understand. Do you mean doing the calculation before the trade is open? If so you can store the value of lot size into a variable as soon as the trade is open and then apply a linear projection of any future SL distance from that initial value.
-
@l-andorrà Hi my friend
"We have one open trade, and after that trade, there is a predetermined stop-loss with a specified risk. If we want to trail the stop-loss of that trade as the price moves upwards (for profit), how can we increase the risk of that trade?Meaning, at the same time that the stop-loss is trailing, the volume of that trade (lot size) should also increase. I am having trouble implementing this code."
I hope this helps! If you need further assistance or have any other questions, feel free to ask.