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 CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        24 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        122 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        92 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        136 views
        0 likes
        Last Post cmoran13  
        Working...
        X