Trivial hyphenation of name property in 2-Period RSI strategy
This commit is contained in:
parent
509177df16
commit
58bb4634ab
@ -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; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user