Remove unnecessary parameters from ConnorsRSI strategy

This commit is contained in:
moshferatu 2025-01-09 07:58:45 -08:00
parent 92c08fbc7a
commit 9d8e5974b8

View File

@ -17,24 +17,10 @@ namespace NinjaTrader.NinjaScript.Strategies
{
if (State == State.SetDefaults)
{
Description = @"Strategy based on the ConnorsRSI indicator developed by Larry Connors";
Name = "Connors RSI Bot";
Description = @"Strategy based on the ConnorsRSI indicator developed by Larry Connors";
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;
RSIPeriod = 3;
StreakRSIPeriod = 2;