diff --git a/indicators/super-smoother/SuperSmoother.cs b/indicators/super-smoother/SuperSmoother.cs index dbba05f..db3cbe9 100644 --- a/indicators/super-smoother/SuperSmoother.cs +++ b/indicators/super-smoother/SuperSmoother.cs @@ -33,7 +33,9 @@ namespace NinjaTrader.NinjaScript.Indicators PaintPriceMarkers = true; ScaleJustification = ScaleJustification.Right; IsSuspendedWhileInactive = true; + Period = 10; + AddPlot(new Stroke(Brushes.Yellow, DashStyleHelper.Solid, 2), PlotStyle.Line, "SuperSmoother"); } else if (State == State.Configure) @@ -67,9 +69,11 @@ namespace NinjaTrader.NinjaScript.Indicators } #region Properties + [Range(1, int.MaxValue), NinjaScriptProperty] [Display(Name = "Period", Order = 1, GroupName = "SuperSmoother")] public int Period { get; set; } + #endregion } }