control partial close, Trail stop and break even simultaneously
-
Hi guys,
I just want to have options of partial close at percent of tp, break even at percent of sl and trailing option for my manual trades. i have done this block connections:
https://fxdreema.com/shared/LXCYvHbdd
it's not working properly. each of them works correctly standalone. but not simultaneously.
For example if the condition for partial close and trail is true. it will partial close at the moment that i set the tp. it is not waiting for the condition to become true.
-
You can remove the 'pass' block. It is unnecessary. In order for those options to be working together you need to design their settings in a way that don't conflict each other. For example, your breakeven and your trailing stop are overlapping. You need to adjust them so that trailing does not move until break even is executed, for example.
-
Thanks andora, Yes I understand that ,and becuase of that i added boolean condition to enable and disable them. but what about partial close, it is not overlaping with others. I define constant percent of TP for it but when i set the tp, partial close execute and do close without considiring the percent of tp condition.