Hide max patterns property from indicator settings as it is only meant to be used during strategy backtesting

This commit is contained in:
moshferatu 2024-07-17 11:10:06 -07:00
parent 85ca05edd8
commit d15166af5b

View File

@ -2,6 +2,7 @@
using NinjaTrader.Gui;
using NinjaTrader.Gui.Chart;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Windows.Media;
using System.Xml.Serialization;
@ -184,6 +185,7 @@ namespace NinjaTrader.NinjaScript.Indicators
[Display(Name = "Bearish Level", Description = "Stroke for bearish level drawn on chart", Order = 3, GroupName = "3CR")]
public Stroke BearishLevelStroke { get; set; }
[Browsable(false)]
[Range(0, int.MaxValue)]
public int MaxPatterns { get; set; }
}