Display the chosen index name on the chart
This commit is contained in:
parent
2b5f974f55
commit
6df1d0d857
@ -136,7 +136,10 @@ namespace NinjaTrader.NinjaScript.Indicators
|
||||
|
||||
public override string DisplayName
|
||||
{
|
||||
get { return "Index Top " + NumComponents; }
|
||||
get {
|
||||
string indexName = (TrackingIndex == MarketIndex.NASDAQ) ? "NASDAQ" : "S&P 500";
|
||||
return indexName + " Top " + NumComponents;
|
||||
}
|
||||
}
|
||||
|
||||
#region Plots
|
||||
|
Loading…
Reference in New Issue
Block a user