Trivial formatting changes to SuperSmoother indicator

This commit is contained in:
moshferatu 2025-01-06 10:25:27 -08:00
parent f87f48cb19
commit 8a8b6abd19

View File

@ -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
}
}