Display ATR Trailing Stop indicator behind the bars on the chart
This commit is contained in:
parent
95a49f1d87
commit
e7778324b5
@ -41,6 +41,10 @@ namespace NinjaTrader.NinjaScript.Indicators
|
||||
|
||||
atrHighs = new Series<double>(this);
|
||||
}
|
||||
else if (State == State.Historical)
|
||||
{
|
||||
SetZOrder(-1); // Display behind bars on chart.
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnBarUpdate()
|
||||
|
Loading…
Reference in New Issue
Block a user