Multiple partial closes
-
Hello,
sorry for opening the partial close topic for the 1000th time, but I didn't find anything describing my exact problem on this forum.
This is my project: https://fxdreema.com/shared/ZXvRuKAvdAs you can see, I created 2 loops for partial closes - 1 for when the trade is 10 pips in profit and 1 for 5 pips in loss. The problem is that the loop for the loss situation also has an effect on the profit situation, so the trade closes partially when 5 pips in profit. But I want the EA to only close partially when 10 pips in profit and 5 pips in loss.
Using the block 'pips away from stop-loss' instead of 'pips away from open price' seems not to work.Thank you for any advice!
-
when you give this in block for lossable trade: pips away from open-price (Trading model instead of Double-sided, because double sided is absolute value)? and than in input parameters change value partial_stop_pips to negative, like partial_stop_pips=-5

-
That's it, thank you very much! Didn't know negative numbers are allowed. Cool...