Based on the references of the forum and in the instruction manual I have successfully created a strategy that puts pending orders via "Unmanaged Approach"
So far so good.
But the problem is in the duration of the pending orders, the orders last a time determined by
protected override void Initialize () } Add (PeriodType.Minute, 5); }
Entry order is
myIOrder = SubmitOrder (0, OrderAction.Sell, OrderType.Stop, contracts, 0, GetCurrentBid () - 10 * TickSize, "", "Entry Short")
I want the order to stay active regardless of the timeframe
thank you very much
Comment