Display VWAP indicator behind the bars on the chart
This commit is contained in:
parent
b168fe31b7
commit
cc5244cfce
@ -68,6 +68,10 @@ namespace NinjaTrader.NinjaScript.Indicators
|
||||
{
|
||||
ResetVWAP();
|
||||
}
|
||||
else if (State == State.Historical)
|
||||
{
|
||||
SetZOrder(-1); // Display behind bars on chart.
|
||||
}
|
||||
}
|
||||
|
||||
private double GetPrice(int bars, int index = 0)
|
||||
|
Loading…
Reference in New Issue
Block a user