Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Starts to Run on Wrong Instrument Expiry upon Enabling the Strategy

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

    Strategy Starts to Run on Wrong Instrument Expiry upon Enabling the Strategy

    Hello Ninjatrader staff,

    I am experiencing something weird, and I am going to tell you step by step what I am doing to reproduce that effect.

    1. I create a Chart Window with several tabs. Each tab has a different instrument, and each tab has a strategy running on it.
    2. Now, it's time to roll over a contract. I remove the strategy from the tab of the expired contract, and then I remove the tab of the expired contract from the Chart Window.
    3. On the same Chart Window, I open a new tab of the new contract expiry. Then, I load up a new strategy on the new tab.
    4. I enable the strategy, and what happens then is that the strategy starts to run on the expired contract that I had previously removed. (See image)

    What causes this, and how can I prevent that from happening again?​

    Thank you in advance for your time, I look forward to your answer.

    GLFX005
    Attached Files

    #2
    Hi GLFX005, thanks for posting. This is not happening on the latest version on my machine. You can either keep the strategy and chart tab and just type in the newest contract month, e.g. if I am running CL 11-22 on a chart with the strategy, disable the strategy, then type in "CL 12-22" to switch the instrument and then re-enable the strategy, or go to Tools>Database Management and roll over the contract from there.

    I did what you listed out but I am not getting the issue:


    Please also make sure you are running the latest version of the platform by running the link from the installer below:

    Access step-by-step NinjaTrader platform training for desktop, web, and mobile. Explore video tutorials and practical guides to help you confidently use trading tools and features.


    Kind regards,
    -ChrisL

    Comment


      #3
      Hello Chris,

      Thank you for your response.

      I would like to make a video as well and send it to you in private. What address should I use for that?

      Comment


        #4
        Hi GLFX005, please write an email to scriptingsupport at ninjatrader.com and reference "Attn ChrisL 03393099" in the body of the email.

        Comment


          #5
          Done, I've sent you an email with a link to a Youtube video.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          44 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          124 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          65 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X