Trivial hyphenation of long-term and short-term trend period parameters for 2-Period RSI strategy

This commit is contained in:
moshferatu 2025-01-10 08:52:21 -08:00
parent cf67dae5f6
commit 3c4a91f8da
2 changed files with 4 additions and 4 deletions

View File

@ -23,9 +23,9 @@ For taking short positions, invert the above conditions and use a 2-period RSI r
**Short Entry Threshold**: The RSI value above which to allow entering a short position. (Default: 95)
**Long Term Trend Period**: The period to use for the simple moving average used to define the long term trend. (Default: 200)
**Long-Term Trend Period**: The period to use for the simple moving average used to define the long term trend. (Default: 200)
**Short Term Trend Period**: The period to use for the simple moving average used to define the short term trend. (Default: 5)
**Short-Term Trend Period**: The period to use for the simple moving average used to define the short term trend. (Default: 5)
**Use Fixed Position Sizing**: Whether to use the same position size for every trade in order to neutralize the effect of lower historical prices. (Default: false)

View File

@ -90,11 +90,11 @@ namespace NinjaTrader.NinjaScript.Strategies
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]