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.
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        41 views
        0 likes
        Last Post futtrader  
        Started by Option Whisperer, Today, 09:55 AM
        1 response
        11 views
        0 likes
        Last Post bltdavid  
        Started by port119, Today, 02:43 PM
        0 responses
        3 views
        0 likes
        Last Post port119
        by port119
         
        Started by Philippe56140, Today, 02:35 PM
        0 responses
        4 views
        0 likes
        Last Post Philippe56140  
        Started by 00nevest, Today, 02:27 PM
        0 responses
        2 views
        0 likes
        Last Post 00nevest  
        Working...
        X