From dd81bd61780c21e3f8732ba2502db30b5ba15b70 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Thu, 2 Jan 2025 08:54:25 -0800 Subject: [PATCH] Remove unnecessary parameters from 2-Period RSI strategy --- strategies/2-period-rsi/TwoPeriodRSI.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/strategies/2-period-rsi/TwoPeriodRSI.cs b/strategies/2-period-rsi/TwoPeriodRSI.cs index ed1a062..c4d1292 100644 --- a/strategies/2-period-rsi/TwoPeriodRSI.cs +++ b/strategies/2-period-rsi/TwoPeriodRSI.cs @@ -21,19 +21,6 @@ namespace NinjaTrader.NinjaScript.Strategies Name = "2 Period RSI"; 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; - IsInstantiatedOnEachOptimizationIteration = true; RSIPeriod = 2; RSISmoothing = 1;