From 58bb4634abf6d60a8984c378db5d6013a81f725a Mon Sep 17 00:00:00 2001 From: moshferatu Date: Thu, 2 Jan 2025 08:56:47 -0800 Subject: [PATCH] Trivial hyphenation of name property in 2-Period RSI strategy --- strategies/2-period-rsi/TwoPeriodRSI.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/strategies/2-period-rsi/TwoPeriodRSI.cs b/strategies/2-period-rsi/TwoPeriodRSI.cs index f405ac5..a896b14 100644 --- a/strategies/2-period-rsi/TwoPeriodRSI.cs +++ b/strategies/2-period-rsi/TwoPeriodRSI.cs @@ -17,7 +17,7 @@ namespace NinjaTrader.NinjaScript.Strategies { if (State == State.SetDefaults) { - Name = "2 Period RSI"; + Name = "2-Period RSI"; Description = @"Taken from chapter 9 of Short Term Trading Strategies That Work"; Calculate = Calculate.OnBarClose; EntriesPerDirection = 1; @@ -74,39 +74,39 @@ namespace NinjaTrader.NinjaScript.Strategies } [NinjaScriptProperty] - [Display(Name = "RSI Period", GroupName = "2 Period RSI", Order = 1)] + [Display(Name = "RSI Period", GroupName = "2-Period RSI", Order = 1)] public int RSIPeriod { get; set; } [NinjaScriptProperty] - [Display(Name = "RSI Smoothing", GroupName = "2 Period RSI", Order = 2)] + [Display(Name = "RSI Smoothing", GroupName = "2-Period RSI", Order = 2)] public int RSISmoothing { get; set; } [NinjaScriptProperty] - [Display(Name = "Long Entry Threshold", GroupName = "2 Period RSI", Order = 3)] + [Display(Name = "Long Entry Threshold", GroupName = "2-Period RSI", Order = 3)] public int LongEntryThreshold { get; set; } [NinjaScriptProperty] - [Display(Name = "Short Entry Threshold", GroupName = "2 Period RSI", Order = 4)] + [Display(Name = "Short Entry Threshold", GroupName = "2-Period RSI", Order = 4)] public int ShortEntryThreshold { get; set; } [NinjaScriptProperty] - [Display(Name = "Long Term Trend Period", GroupName = "2 Period RSI", Order = 5)] + [Display(Name = "Long Term Trend Period", GroupName = "2-Period RSI", Order = 5)] public int LongTermTrendPeriod { get; set; } [NinjaScriptProperty] - [Display(Name = "Short Term Trend Period", GroupName = "2 Period RSI", Order = 6)] + [Display(Name = "Short Term Trend Period", GroupName = "2-Period RSI", Order = 6)] public int ShortTermTrendPeriod { get; set; } [NinjaScriptProperty] - [Display(Name = "Use Fixed Position Sizing", GroupName = "2 Period RSI", Order = 7)] + [Display(Name = "Use Fixed Position Sizing", GroupName = "2-Period RSI", Order = 7)] public bool UseFixedPositionSizing { get; set; } [NinjaScriptProperty] - [Display(Name = "Fixed Position Size", GroupName = "2 Period RSI", Order = 8)] + [Display(Name = "Fixed Position Size", GroupName = "2-Period RSI", Order = 8)] public int FixedPositionSize { get; set; } [NinjaScriptProperty] - [Display(Name = "Long Only", GroupName = "2 Period RSI", Order = 9)] + [Display(Name = "Long Only", GroupName = "2-Period RSI", Order = 9)] public bool LongOnly { get; set; } } }