Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trying to Run a Strategy Without Multiple Windows

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

    Trying to Run a Strategy Without Multiple Windows

    Hi there,

    I have an automated strategy, but to run it, I need to open a chart for every instrument and every timeframe I require. The issue is that I have to open multiple charts because if I don’t, the data doesn’t update every second. If I try using a single window with three tabs, only the tab currently displayed updates, while the others do not.

    Is there any way to run the strategy without opening any windows?

    Would using Market Analyzer work for this?

    Alternatively, is there a way to run the strategy directly from the Control Center without opening multiple windows or using Market Analyzer?

    For example If my strategy operates on four instruments, each with three different timeframes, I end up with 12 open windows, which is quite inconvenient.

    Thanks!

    #2
    Hello FaaZer​,

    Thank you for reaching out.

    Yes, you can run a NinjaScript strategy without opening multiple chart windows. Instead of running your strategy from a chart, you can run it directly from the Control Center’s Strategies tab.

    This method allows the strategy to execute in real time without the need for chart tabs or multiple windows. Here’s how you can set it up:

    Running a NinjaScript Strategy Without a Chart (Using the Strategies Tab)
    1. Open NinjaTrader's Control Center.
    2. Click on the Strategies tab.
    3. Right-click within the Strategies tab and select New Strategy.
    4. Choose your strategy from the Available strategies list.
    5. Set the instrument(s), timeframe, and other properties as needed.
    6. Click OK to apply.
    7. In the Enable column, check the box to activate the strategy.

    Important Notes:
    • This method does NOT require a chart window—your strategy will execute in the background.
    • The strategy will not plot anything on a chart since it is running independently.
    • You can monitor trades and executions through the Orders, Executions, and Positions tabs in the Control Center.
    • Be sure to set your Calculate mode correctly (On Each Tick, On Price Change, or On Bar Close) for real-time updates​.

    Regarding Using Market Analyzer as an Alternative:

    Yes, The Market Analyzer can also be used to track price updates and feed data into your strategy without requiring a chart. You can add instruments, apply indicators, and reference values for your strategy to work with live market data​.

    Please let us know if you have any other questions.
    Erick P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Erick View Post
      Hello FaaZer​,

      Thank you for reaching out.

      Yes, you can run a NinjaScript strategy without opening multiple chart windows. Instead of running your strategy from a chart, you can run it directly from the Control Center’s Strategies tab.

      This method allows the strategy to execute in real time without the need for chart tabs or multiple windows. Here’s how you can set it up:

      Running a NinjaScript Strategy Without a Chart (Using the Strategies Tab)
      1. Open NinjaTrader's Control Center.
      2. Click on the Strategies tab.
      3. Right-click within the Strategies tab and select New Strategy.
      4. Choose your strategy from the Available strategies list.
      5. Set the instrument(s), timeframe, and other properties as needed.
      6. Click OK to apply.
      7. In the Enable column, check the box to activate the strategy.

      Important Notes:
      • This method does NOT require a chart window—your strategy will execute in the background.
      • The strategy will not plot anything on a chart since it is running independently.
      • You can monitor trades and executions through the Orders, Executions, and Positions tabs in the Control Center.
      • Be sure to set your Calculate mode correctly (On Each Tick, On Price Change, or On Bar Close) for real-time updates​.

      Regarding Using Market Analyzer as an Alternative:

      Yes, The Market Analyzer can also be used to track price updates and feed data into your strategy without requiring a chart. You can add instruments, apply indicators, and reference values for your strategy to work with live market data​.

      Please let us know if you have any other questions.
      Hi Erick,

      I did that before but when I clic on Enable, Conection´s column says "Loading" and then "My NinjaTrader" and then disapear... I dont know why, I use the same strategy setting than I am using when I do manually open the chart → strategy → choose the strategy → enable

      I compared my custom strategy with the default strategy of NT, and with the default it works as you said, but I don't know why with mine it doesn't

      Thanks
      Last edited by FaaZer; 02-24-2025, 07:20 PM.

      Comment


        #4
        Hi,

        Update: I know where was the mistake. It was an indicator of the strategy, to know which one you should check CC → Log, it will tell you exacly the indicator name

        Your welcome

        Comment


          #5
          Is there a way to remove expired futures contracts in the Strategy Analyzer data series instrument list?

          Comment


            #6
            Originally posted by LTWCI View Post
            Is there a way to remove expired futures contracts in the Strategy Analyzer data series instrument list?
            CC → Tools → Import → Historical data → Loaded → Historical→ Choose the contracts and press de delete button

            Comment


              #7
              FaaZer, thanks for the tip.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              55 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              37 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              17 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              19 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              49 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X