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;
|
PaintPriceMarkers = true;
|
||||||
ScaleJustification = ScaleJustification.Right;
|
ScaleJustification = ScaleJustification.Right;
|
||||||
IsSuspendedWhileInactive = true;
|
IsSuspendedWhileInactive = true;
|
||||||
|
|
||||||
Period = 10;
|
Period = 10;
|
||||||
|
|
||||||
AddPlot(new Stroke(Brushes.Yellow, DashStyleHelper.Solid, 2), PlotStyle.Line, "SuperSmoother");
|
AddPlot(new Stroke(Brushes.Yellow, DashStyleHelper.Solid, 2), PlotStyle.Line, "SuperSmoother");
|
||||||
}
|
}
|
||||||
else if (State == State.Configure)
|
else if (State == State.Configure)
|
||||||
@ -67,9 +69,11 @@ namespace NinjaTrader.NinjaScript.Indicators
|
|||||||
}
|
}
|
||||||
|
|
||||||
#region Properties
|
#region Properties
|
||||||
|
|
||||||
[Range(1, int.MaxValue), NinjaScriptProperty]
|
[Range(1, int.MaxValue), NinjaScriptProperty]
|
||||||
[Display(Name = "Period", Order = 1, GroupName = "SuperSmoother")]
|
[Display(Name = "Period", Order = 1, GroupName = "SuperSmoother")]
|
||||||
public int Period { get; set; }
|
public int Period { get; set; }
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user