Trivial re-organization of property attributes

This commit is contained in:
moshferatu 2024-09-11 06:05:00 -07:00
parent 3ca8294f8c
commit 8eecf4a852

View File

@ -59,17 +59,17 @@ namespace NinjaTrader.NinjaScript.Indicators
#region Properties #region Properties
[NinjaScriptProperty] [NinjaScriptProperty]
[Range(1, int.MaxValue)] [Range(1, int.MaxValue)]
[Display(Name = "RSI Period", Description = "The period for the RSI calculation", Order = 1, GroupName = "Cumulative RSI")] [Display(Name = "RSI Period", Description = "The period for the RSI calculation", GroupName = "Cumulative RSI", Order = 1)]
public int RSIPeriod { get; set; } public int RSIPeriod { get; set; }
[NinjaScriptProperty] [NinjaScriptProperty]
[Range(1, int.MaxValue)] [Range(1, int.MaxValue)]
[Display(Name = "RSI Smoothing", Description = "The smoothing used for the RSI calculation", Order = 2, GroupName = "Cumulative RSI")] [Display(Name = "RSI Smoothing", Description = "The smoothing used for the RSI calculation", GroupName = "Cumulative RSI", Order = 2)]
public int RSISmoothing { get; set; } public int RSISmoothing { get; set; }
[NinjaScriptProperty] [NinjaScriptProperty]
[Range(1, int.MaxValue)] [Range(1, int.MaxValue)]
[Display(Name = "Cumulative Period", Description = "The number of RSI values to add together", Order = 3, GroupName = "Cumulative RSI")] [Display(Name = "Cumulative Period", Description = "The number of RSI values to add together", GroupName = "Cumulative RSI", Order = 3)]
public int CumulativePeriod { get; set; } public int CumulativePeriod { get; set; }
#endregion #endregion
} }