I have created a strategy that includes Stoploss and Takeprofit.
I have put the lines in the OnStateChange() state.
Everything works fine, but I have a question.
I want to move the SL and TP once the trade is open.
I see that if I do it automatically returns to the initial values as soon as it updates the bar.
How can I do to be able to move those levels when the operation is already open?
Thanks for your help and have a nice day.
Comment