Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem with run multiple charts&instruments with same Indicator

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

    Problem with run multiple charts&instruments with same Indicator

    I have an Indicator which works fine and clean. If I open a second chart with different instrument and add the same indicator, the data of both instruments get confused.

    Same thing happen when I use strategy which call Indicator. If I add multiple instances of the same strategy, with a different instrument, I get rejected, with values which are clearly from the other instruments.

    It looks to me like there is a problem in running multiple instances of Indicator/Strategy.

    For example, I run my strategy of the ES and another of the FDAX and I'll get error on order of price stop long order of 9087.0 which its above ES price.

    I can send my code to your email on request.
    Last edited by Shai Samuel; 11-13-2013, 09:26 PM.

    #2
    Hi Shai, this should not happen if you are operating within the documented NinjaScript framework, if any global statics are implemented for example I would not be surprised of such potential side effects seen. If you could forward us a sample to inspect to support at ninjatrader dot com we could comment better. Thanks.

    Comment


      #3
      Thank you so much Bertrand. I know this should need to happen, and that I must do something wrong. The files were sent.

      Comment


        #4
        Thanks Shai for sending those in, we will look into matters and be back in touch.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        85 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        47 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        67 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X