It might be a stupid question, I'm running a strategy that makes use of IOrders, I declaire the following variables in the script:
private IOrder entryOrderLong = null; private IOrder stopOrderLong = null private IOrder takeProfitOrderLong = null;
However now I have the need to use also an Exit Strategy at Market, usually I would use
ExitLong(0,stopOrderLong.Quantity,"ExitLong","Long");
Do I need to declare a variable such as exitOrderLong = null; and then use:
ExitLong(0,stopOrderLong.Quantity,"ExitLong","Long ");
or isn't this necessary because it doesn't make sense?

Comment