For the StopLoss for a Long position I would use the Exit order ExitLongStopMarket. This is working correctly.
Now I have the need to submit a Target Profit along with the StopLoss order. For a Long position, I am planning to use the ExitLongLimit order type.
How can I submit this two orders as OCO order when working with Strategies?
Is my only solution using the SetStopLoss and SetProfitTarget orders using the OnStateChange method?
Thanks,
Comment