Trivial formatting changes to SuperSmoother indicator
This commit is contained in:
parent
f87f48cb19
commit
8a8b6abd19
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user