Display ATR Trailing Stop indicator behind the bars on the chart

This commit is contained in:
moshferatu 2024-07-26 14:56:44 -07:00
parent 95a49f1d87
commit e7778324b5

View File

@ -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()