Reset lotsize after all trades close
-
Hi
Can some one help me please.
I would like to know how to reset the lotsize.
i will have trade when every a condition is reach, the first trade will be 0,01 adding 0.01 (0.01, 0.02, 0.03, 0.04......) each trade will have its fixed TP and SL. some times they can be more than -+ 5 trade at a time, but when the last trade close on profit. I want to reset lotsize back to 0.01.
please assist -
Hi @LALI ,
Check the link below. I think "Custom Sequence" will work for you.
-
@lali You can do it with a variable, of course. But that will depend on your current project's structure.
-
sHARE URL fxdreema.com
-
hi this is the project
https://fxdreema.com/shared/rUEer0oP -
@lali You will need a 'modify variables' block inwich your 'actual_lot' variable should be reinitialized to 0 connected immediately below the corresponding 'close trade' block. However, I'm not sure if the will work in your case because I don't see wich conditions are those defining when the lot size increasing is over.
-
At some point all the trade will close , when we have a trend.
once they all close, the last to close will be a win, then I want to reset after the last win. there will be no trade running. -
@lali Then you need to connect the 'modify variables' block at the bottom of the 'For each closed tree' branch.
-
hi, lándorra'.
Thanks a lot I got it right now. -
@lali You're welcome.