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 nleitman, Yesterday, 11:46 AM
      16 responses
      42 views
      0 likes
      Last Post nleitman  
      Started by MSerag, Yesterday, 11:52 PM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by dcriador, Yesterday, 01:43 AM
      6 responses
      27 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by James650, Today, 08:25 AM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by Rogers101, 05-05-2024, 11:30 AM
      14 responses
      40 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X