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.
      Paul H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Shansen, 08-30-2019, 10:18 PM
      24 responses
      940 views
      0 likes
      Last Post spwizard  
      Started by Max238, Today, 01:28 AM
      0 responses
      9 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by rocketman7, Today, 01:00 AM
      0 responses
      4 views
      0 likes
      Last Post rocketman7  
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      28 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 02-22-2024, 01:11 AM
      5 responses
      33 views
      0 likes
      Last Post wzgy0920  
      Working...
      X