Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninja adding strategy to a chart

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

    Ninja adding strategy to a chart

    Scenario:

    I have a user testing a .dll. Machine has 2 GIGS of memory. User experience: the strategy stops plotting (it does the drawing). Every time he sees it stop plotting and he looks and it has added a second strategy of the same settings and name , so he removes the duplicate and it starts to plot correctly again.

    I have 4 gigs on my machine and I can't duplicate it. Any comment?

    #2
    Not sure. Please have them check Control Center logs for errors.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      John

      Thanks. Will do.

      Cliff

      Comment


        #4
        Josh

        here is what i have from his log: (gsfibs is my strategy)

        Date Category Message
        6/9/2009 11:34 Strategy Error on calling 'OnBarUpdate' method for strategy 'GSFibs': b[barsAgo]: barsAgo must be greater/equal 0 but was -11
        6/9/2009 11:34 Strategy Error on calling 'OnBarUpdate' method for strategy 'GSFibs': b[barsAgo]: barsAgo must be greater/equal 0 but was -11
        6/9/2009 11:27 Strategy Error on calling 'OnBarUpdate' method for strategy 'GSFibs': b[barsAgo]: barsAgo must be greater/equal 0 but was -11
        6/9/2009 11:26 Strategy Error on calling 'OnBarUpdate' method for strategy 'GSFibs': b[barsAgo]: barsAgo must be greater/equal 0 but was -11
        6/9/2009 11:25 Strategy Error on calling 'OnBarUpdate' method for strategy 'GSFibs': b[barsAgo]: barsAgo must be greater/equal 0 but was -11
        6/9/2009 11:24 Strategy Error on calling 'OnBarUpdate' method for strategy 'GSFibs': b[barsAgo]: barsAgo must be greater/equal 0 but was -11
        6/9/2009 11:23 Strategy Error on calling 'OnBarUpdate' method for strategy 'GSFibs': b.Update(): CurrentBar out of valid range 0 through -1 was 0.

        Cliff

        Comment


          #5
          ct,

          You will need to try and address those issues in your code then. Unfortunately I would not be able to help you reproduce the issues your user is having.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          670 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          379 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          111 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
          582 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X