Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add bug?

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

    Add bug?

    I have an indicator in which I use

    Add(Instrument.FullName,PeriodType.Tick,1,MarketDa taType.Last);

    When this line in present (In Initialize) and loaded on to a 1 minute ES chart, NT7 hangs and eventually is shutdown by XP. The log and trace files have no relevant entries.

    Commenting out the Add statement allows the indicator to load and process the real time component correctly. I have also commented out all logic associated with processing the added series - so it seems it is just the Add itself which is causing the problem.

    I have tried the same code as a 6.5 Strategy and it works fine.

    Is this a possible bug or have I miss-used Add?

    #2
    This works for me however, it does take 20 seconds to load the 1 tick series.

    Some questions:

    - How many days back do you have on the primary series you are adding the indicator to?
    - Are you connected to someone, if yes who?
    RayNinjaTrader Customer Service

    Comment


      #3
      I tried 5 days down to 250 bars (for a 1 ES minute chart).

      Connected to e-Signal..

      Comment


        #4
        I would think downloading 5 days of tick data from eSignal for ES just would take a while.

        You could try by downloading in Tools->Historical data manager to get a feeling...

        Comment


          #5
          Hi Dierk,

          Its not the load time that is the problem, but that NT7 is closed down by XP with the standard XP error message - NinjaTrader has encountered a problem and needs to close etc etc. This happens after approx 2 minutes.

          The Task Manager shows NT using about 134k of memory with 0-2% CPU.

          I didnt import the indicator as I knew there would be errors - so I copied edited then compiled as suggestion.

          I will rewrite the indicator from scratch in case something else odd is happening.

          Comment


            #6
            I see.

            Can you please send your log and trace files to support, subject "for Josh" and refer to this thread. Thanks

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            628 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            359 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            562 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            568 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X