Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How much data does a strategy load in strategy tab?

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

    How much data does a strategy load in strategy tab?

    I have a multi-timeframe strategy, primary on 5 min and a filter on daily bar. This strategy requires 20 day daily data to run. If I run it on a chart, I am able to select the ‘format data series’ to load enough data I need. If I want to run it directly in strategies tab (without a chart) will it load enough data? If not, how can I select data series for a strategy on strategies tab?

    #2
    Originally posted by stephen_mcse View Post
    I have a multi-timeframe strategy, primary on 5 min and a filter on daily bar. This strategy requires 20 day daily data to run. If I run it on a chart, I am able to select the ‘format data series’ to load enough data I need. If I want to run it directly in strategies tab (without a chart) will it load enough data? If not, how can I select data series for a strategy on strategies tab?
    Hello,

    Thank you for your post.


    1.) Yes, you can right click in your chart and select "Format Data Series" to set up the historical data you need before adding the strategy.

    2.) You can also set the "Min. bars required" in the Stratagies tab.


    More information on running a NinjaScript strategy from the chart: http://www.ninjatrader-support.com/H...romAChart.html

    More information on running a NinjaScript strategy from the Strategies tab: http://www.ninjatrader-support.com/H...tegiesTab.html
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Thank you Rjstein,

      My question is: Does 'Min. bars required' apply to all time frame of the strategy? In my case, my primary time frame is 5 min, but I need 'Min bars required' apply to daily bar. In my test, it looks like it only load the default 15 day minute bar data, but the strategy requires 20 day daily data, so nothing happened in the strategy.

      Comment


        #4
        Originally posted by stephen_mcse View Post
        My question is: Does 'Min. bars required' apply to all time frame of the strategy?
        ----> Yes, you must have at least the min bars required for all time frames before the strategy will work.
        Ray S.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        144 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X