On my strategy I use code like this to exit trades
if (BarsInProgress == 0 && (Position.GetUnrealizedProfitLoss(PerformanceUnit.Currency, Close[0]) <= 350) { ExitShortLimit((Position.AveragePrice + (600 * TickSize)), "Profit300", "Short"); }
How do I make it so it doesn't start a new trade right away after my exit condition, it should only start a trade when my entry condition is true.
Comment