How can the trades in the EA below have common stoploss as the parent trades after closing partially
-
-
@od From what I know the close partial uses the parent trade SL.
-
@jstap https://fxdreema.com/shared/hPiWDlPQc In this EA the parent trade stop loss is a custom price level . How can the current partial trade have the same custom price level as stop loss of the parent trade after closing partially.
-
@od Have you tried to see if this is the level used? As far as I am aware this is how it works.
-
@jstap Yeah it did not work that way
-
@od It says it uses the original attributes:

-
@jstap ive removed the stop loss and take profit right now it only closes trades but not opening new ones.https://fxdreema.com/shared/gol6TL8eb
-
@od If a partial trade is closed then an original group is still open, you will need to add a condition so when a trade is partially closed it all allows another group you've set up to than take trades.
-
@jstap I thought it should open the other trades automatically. But what sort of conditions are these after the close partially block.
-
@od Something like a flag under partial close, a separate tree with a different group, when there is not a trade running flag is set back to off.
-
@jstap Must we use groups since the full ea has many other trades and orders. Is there another way possible?
-
@od Remove the no trade block and put some logic in tree to replace the no trade blocks.
-
@jstap I've added blocks 9-11 which delete block 1-3 but still it does not close partially. What could be wrong.
-
@jstap The block 5 below should not work like this but as it is it solves my current issue.https://fxdreema.com/shared/UvXXV6X5c
-
@od That's fine if it works as needed.