From 8997f3f63d36c0f88efb2f93ac1f29d71ec64bba Mon Sep 17 00:00:00 2001 From: moshferatu Date: Sat, 16 Nov 2024 06:44:18 -0800 Subject: [PATCH] Remove unnecessary parameters from Internal Bar Strength Band strategy --- .../InternalBarStrengthBandBot.cs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/strategies/internal-bar-strength-band/InternalBarStrengthBandBot.cs b/strategies/internal-bar-strength-band/InternalBarStrengthBandBot.cs index 3a1f024..e871d77 100644 --- a/strategies/internal-bar-strength-band/InternalBarStrengthBandBot.cs +++ b/strategies/internal-bar-strength-band/InternalBarStrengthBandBot.cs @@ -19,24 +19,10 @@ namespace NinjaTrader.NinjaScript.Strategies { if (State == State.SetDefaults) { - Description = @"Long only bot which bases trades on internal bar strength and lower band condition"; Name = "Internal Bar Strength Band Bot"; + Description = @"Long only bot which bases trades on internal bar strength and lower band condition"; 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; LowerBandMultiplier = 2.5; IBSEntryThreshold = 0.3;