2 Take Profit Levels for one trade
-
Hello all,
I am trying to set up a loop that allows me to have two take profit levels for one trade. Currently, I have the stop loss and the last take profit level in the sell order box.
I'm trying to build a loop that will close 50% of my position when price is 15 pips in my favor. Then once price hit my final TP the remaining 50% would close. I also want the remaining 50% of the trade to have the stop be modified to break even when price hits 15 pips.
I have tested the link below and sometimes it works exactly how I want. Other times, no position is exited at 15 pips or the opposite and there are multiple exits after 15 pips.
I won't have multiple trades on the same pair going on at once. Only one trade per pair at a time.
Here is a link to what I currently have. I know it is broken but thought it would help everyone see what I'm doing.
https://fxdreema.com/shared/OiIe3pwMd
For testing purposes, I have been using a sell order but I would also like it to work with a buy order as well.
-
@tfulls12 Remove block Id 4.
-
I'andorra, Thank you for the feedback. I'll remove block ID 6. I was digging into the forums and I wanted to ask you if you had any knowledge on how to handle ID block 6. should the open price belong to the parent trade or the current partial trade.
From what I saw in the forum a lot had it set to the current partial trade. Do you know the correct answer?
-
@tfulls12 No, do not remove block Id 6. Its current settings are correct. That is exactly the way to find the distance at which the partial close is expected to happen.