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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    62 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    134 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X