Is there a way to “if a trade is open” add another position and create and new stop loss for the 2nd position and keep the current take profit and so on for the 3rd and possibly 4th positions?
Here’s a visual of what I’m wanting to accomplish....

Is there a way to “if a trade is open” add another position and create and new stop loss for the 2nd position and keep the current take profit and so on for the 3rd and possibly 4th positions?
Here’s a visual of what I’m wanting to accomplish....

@l-andorrà actually its still acting a bit funny can you take a second look and see if you spot any flaws?
@l-andorrà that wasn't it but thank you for your response I fiddled with it a bit and looked at others that needed help with fibs and got it figured out... it was very difficult but its now working properly. It was the draw fib block and the first thing was a yes or no i had it marked as "yes" when it needed to be a "no"
Thanks again
somethingin the code has a critical error and ea doesnt run not sure why any help would be appreciated thanks @fxdreema @L'ANDORRÀ
@l-andorrà say ea makes 2 sells one hits tp the other has no tp (i refer to this as “the runner) so tp is hit the runner moves to breakeven. Now the ea takes another trade (2 sells) so now i have 3 sells total... now sell #3 hits tp and sell#4 (another runner) moves to breakeven. now this is where im having trouble... i want the sl at breakeven on sell#2 to move to the new current runner sell#4 breakeven sl, i cant for the life of me figure this out
any help would be great
thanks in advance
@fxDreema how can this be achieved?
so really the main thing is that when my trade hit tp the 2nd trade moves to break even, this i got working but all the other trades are at their break even and i want those stop losses to move to the new break even
thats actually what i am stuck on have no idea on how to make this happen... i tired the for each trade then modify stops but thats not what i want im gonna try to make a variable that controls this function but im just stuck if that doesnt work @seb-0
How do I modify stops of previous(running) trades to my new positions stop loss?
So i was able to figure the way to do it, put a grid indicator and draws lines and ea uses them as reference points... works well now i need to put some type of filter like adx. I made the filters but logic is off because it goes crazy with deleting and adding! @fxdreema would you have any guidance?
https://fxdreema.com/shared/cVNMAThib
The series thats turned off is the adx filter stuff thats not right ... when adx is above 25 ea only has buy/sell stop orders if below 25 ea has buy/sell stop and limits per object (horizontal line).
Anyone else have ideas?