Modify Stop Loss when pending order is triggered
-
For example, I send a Buy Stop pending order. After some time, a candle executes that pending order and open a Buy order. when this candle finishes, I want to put the Stop Loss on the low of his previous candle. The problem is I don't know what candle will touch the pending order, so I don't know how to do the appropiate function to put the Stop Loss in his previous candle low in future.
-
@alavarte You don't need that. What you need is a 'For each trade' block on top of a structure searching for that low prie AFTER the trade is open, not before.