diff --git a/strategies/bearish-engulfing/BearishEngulfingBot.cs b/strategies/bearish-engulfing/BearishEngulfingBot.cs index a57b78f..ecd819a 100644 --- a/strategies/bearish-engulfing/BearishEngulfingBot.cs +++ b/strategies/bearish-engulfing/BearishEngulfingBot.cs @@ -1,6 +1,5 @@ #region Using declarations using NinjaTrader.Cbi; -using System; #endregion namespace NinjaTrader.NinjaScript.Strategies @@ -11,24 +10,10 @@ namespace NinjaTrader.NinjaScript.Strategies { if (State == State.SetDefaults) { - Description = @""; Name = "Bearish Engulfing Bot"; + Description = @"Simple strategy based on the bearish engulfing candle pattern"; Calculate = Calculate.OnBarClose; EntriesPerDirection = 1; - EntryHandling = EntryHandling.AllEntries; - IsExitOnSessionCloseStrategy = true; - ExitOnSessionCloseSeconds = 30; - IsFillLimitOnTouch = false; - MaximumBarsLookBack = MaximumBarsLookBack.TwoHundredFiftySix; - OrderFillResolution = OrderFillResolution.Standard; - Slippage = 0; - StartBehavior = StartBehavior.WaitUntilFlat; - TimeInForce = TimeInForce.Gtc; - TraceOrders = false; - RealtimeErrorHandling = RealtimeErrorHandling.StopCancelClose; - StopTargetHandling = StopTargetHandling.PerEntryExecution; - BarsRequiredToTrade = 20; - IsInstantiatedOnEachOptimizationIteration = true; } else if (State == State.Configure) {