Remove resource type from property display attributes

This commit is contained in:
moshferatu 2024-09-26 05:43:57 -07:00
parent 2af4eb3011
commit c904240a69

View File

@ -67,13 +67,13 @@ namespace NinjaTrader.NinjaScript.Indicators
[Browsable(true)]
[Range(1, int.MaxValue)]
[NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name = "Moving Average Period", GroupName = "Bollinger Bands", Order = 1)]
[Display(Name = "Moving Average Period", GroupName = "Bollinger Bands", Order = 1)]
public int Period { get; set; }
[Browsable(true)]
[Range(0.1, double.MaxValue)]
[NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name = "Standard Deviations", GroupName = "Bollinger Bands", Order = 2)]
[Display(Name = "Standard Deviations", GroupName = "Bollinger Bands", Order = 2)]
public double StandardDeviations { get; set; }
[NinjaScriptProperty]