Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

One strategie on two charts (other symbols)

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

    One strategie on two charts (other symbols)

    Hi,

    I have one strategie running on two charts (NQ and YM) in the M5-timeframe.
    The entry and exit names of my orders are the same.

    Will there be one instance per strategy per chart?

    Are there any known issues which could lead to errors with this setup?
    The only thing I have seen ist plotting some stop-loss-dots.
    The dots from one chart are seen in the other chart, that is not nice, is there a way to solve this?

    Are there any other issues, like need for other entry or exit names?
    Does the ExitOnClose-Handling work correctly?

    Are there any special properties in the strategy wizard must I specifiy before adding the strategy to the chart?

    Thx,
    DT

    #2
    DT, no since each strategy is started in its own instance and works independently from each other. Not sure about your 'StopLoss dots', the stoplosses form symbol 1 should not be seen on symbol's 2 chart. If you like, please post a screenshot and / or code to review. Thanks
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thx. It could be about the same name of the drawing object. I will try it at home.

      I have static variables in my code. Are they shared between the 2 instances?

      Regards,
      DT

      Comment


        #4
        Yes, I believe this is expected for static ones - http://www.ninjatrader-support2.com/...ead.php?t=4230
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by wuannetraam, Today, 02:40 AM
        2 responses
        24 views
        0 likes
        Last Post wuannetraam  
        Started by sdauteuil, 09-23-2021, 10:16 AM
        5 responses
        1,220 views
        0 likes
        Last Post NinjaTrader_RyanS  
        Started by Ludwik, Today, 03:52 AM
        6 responses
        31 views
        0 likes
        Last Post Ludwik
        by Ludwik
         
        Started by jjs12, Today, 10:29 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by lakman184, 03-24-2024, 01:30 PM
        5 responses
        28 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X