Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need method to apply RSI to a series of values that aren't in sync by number of bars

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

    Need method to apply RSI to a series of values that aren't in sync by number of bars

    I am looking to be able to apply the RSI function to a customer data series.
    This series will not be updated on each bar but updated on a variable number of bars between updates. it appears the idataseries object will require each bar to store a value and thus the RSI being applied would not calculate correctly.

    Is there a way to use the existing functions to do this?
    or should I create me own array and rsi function to apply to the array.

    Any suggestions would be great!

    #2
    Hello,

    Thanks for the forum post.

    Unfortunately everything in NinjaTrader runs off data series objects and in charting you can only display the number of points of calculations that you have bars.

    You can add in multi series programming and bring in a smaller time frame to calculate from, will this work for you or does not work for you?

    Such as, running indicator on 5 min bars but bringing in a 1 min series and then calculating RSI on the 1 minute bars would get you 5 points per 5 minute bar.

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    37 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    23 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    162 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    98 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    152 views
    2 likes
    Last Post CaptainJack  
    Working...
    X