diff --git a/indicators/IndexTopN.cs b/indicators/IndexTopN.cs index 16aa169..ccdf893 100644 --- a/indicators/IndexTopN.cs +++ b/indicators/IndexTopN.cs @@ -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