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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          68 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          36 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          61 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          62 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X