Upon entry conditions I have 3 entries in the same direction. I have a defined target and stop for each based on the size of the current candle.
Upon the first target being hit, I would like to move the other 2 stops to break even.
When a target is hit I want to remove the associated stop order.
If the stops are hit I want to remove the targets.
I cant do this in an ATM because I want to make the targets and stops based on the size of the candle, so it is different each time.
Price may move to the first target in the middle of a candle, so I want to move the stops right then.
Do I need to use an unmanaged approach?
I can get 3 orders to be placed with a stop and a target but I am having trouble moving the stops to BE after the the first target is hit once they are set.
I am having trouble identifying individual orders to move intra-bar even though have given them specific names..
Is there a better way or a sample of code you could offer to help guide me?

Comment