if (BarsInProgress == 0 && Position.MarketPosition == MarketPosition.Flat) { EnterShort(0, 4, "Short"); EnterLong(1, 2, "Long"); }
My problem is that testing in real-time the strategy waits till the close of a bar in the primary series and then enters both positions simultaneously.
I put calculateonbarclose= true in the initialize, and set it to true in the strategy tab settings. Still when live the orders go in simultaneously.
Comment