From c904240a69ca422650decaab75af7c8bbe80e088 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Thu, 26 Sep 2024 05:43:57 -0700 Subject: [PATCH] Remove resource type from property display attributes --- indicators/%b/PercentB.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indicators/%b/PercentB.cs b/indicators/%b/PercentB.cs index abc4722..df797ed 100644 --- a/indicators/%b/PercentB.cs +++ b/indicators/%b/PercentB.cs @@ -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]