Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can't plot 1st AddDataSeries("DX 12-15"...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't plot 1st AddDataSeries("DX 12-15"...

    Strange. In my custom NT8 indicator I added 3 data series. The first (as well as the others) were coded like this:
    AddDataSeries("DX 12-15", Data.BarsPeriodType.Minute, 1, Data.MarketDataType.Last);

    When I reference them in the code for plotting, the second and third added series plot fine but the first (DX) doesn't plot at all. I reference it like this:
    MTNhighs[0] = (Highs[1][0]);
    When I reference the 2nd and 3rd added series as Highs[2][0] and Highs [3][0] respectively they plot fine. I tried adding the symbol as DXE 12-15 instead of DX 12-15 at ampclearing's suggestion from a non-programmer in chat support there since the data is from CQG and it originates as DXE at CQG according to him, but it didn't work. DX 12-15 plots on my chart fine so I assume the code for the added symbol should be "DX 12-15"

    If I place another symbol in the 1st added symbol position in my code that symbol plots fine still using "Highs[1][0]". Not so with DX, which doesn't plot regardless of position

    I even tried connection to another datafeed (Rithmic) thinking maybe it was a symbol issue but no bananas.

    Any clues why I can chart the symbol DX fine but not refer to it by the same name in an indicator and have it plot
    Last edited by ProfitPilgrim; 12-02-2015, 06:39 PM.

    #2
    Fixed by closing and reopening Ninjatrader 8

    Don't know why but the problem was fixed by closing and reopening Ninjatrader 8.

    Comment


      #3
      Hello ProfitPilgrim,

      Thanks for your posts, I understand the issue is unexpectedly resolved.

      If going forward it should reoccur, please send your code in along with your log and trace files to Platformsupport[at]NinjaTrader[dot]com. For the subject line include a link to this thread and Atten: Paul.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      666 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      376 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      110 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      575 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      580 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X