Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple Timeframes

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

    Multiple Timeframes

    Hello All,

    I have been working on a strategy, and I have been adding multiple time frames to it. I currently have 5 time frames being used.

    I was curious, does anyone know if there is a limit to the number of time frames that can be used in Ninja?

    Also, does anyone know if there is a performance hit based on the number of time frames?

    Thank you for your expert knowledge.


    #2
    Hello Adrian1028,

    There is not a specific limit to the number of timeframes used in a strategy.

    If you are using the strategy builder the main performance hit would be that you need to load a series for each timeframe you use which will cause the strategy to initially load slower. When using the builder only the primary is used for processing so the secondary series added wont cause logic to be executed any extra.If you are manually coding you can also have the OnBarUpdate method called for each of the series which could use more resources if you did not need to do calculations for each of those added series.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X