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 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
        39 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        63 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