Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

**NT** Error on calling 'OnBarUpdate' method for strategy X: Item has already been ad

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

    **NT** Error on calling 'OnBarUpdate' method for strategy X: Item has already been ad

    Sometimes I receive this error as well, it is not 100% reproducible

    **NT** Error on calling 'OnBarUpdate' method for strategy 'X': Item has already been added. Key in dictionary: '..#Ratio' Key being added: '..#Ratio'

    The call occurs in OnBarUpdate:

    DrawTextFixed("..#Ratio", s, TextPosition.TopLeft);

    #2
    Hello alex.nt,

    Thanks for your post.

    This message is not something that we have been able to have a reproducible scenario however this information will be helpful for us to test and look into this further.
    After receiving this message it would be required to reset your database which will remove all historical trade information.
    To do this you will need to disconnect and go to Tools> Options> Data> ResetDB

    I will include this information further in our testing.

    Comment


      #3
      By the way, is it allowed to copy historical data from one machine to another (they can be in different time zones)?

      Is it allowed to copy Replay data from one machine to another (they can also be in different time zones)?

      Could that be a trigger for the mentioned error?

      Comment


        #4
        Hello alex.nt,

        Thanks for your reply.

        Transferring Market Replay data from one computer to another, even from different time zones, shouldn't cause any issues.
        Historical data should not either however I would recommend to use the Import and Export feature of the Historical Data Manager to ensure it get's converted correctly. I will try test these also however.
        Below I have provided a link to the Historical Data Manager section of our help guide.

        Comment

        Latest Posts

        Collapse

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