Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by elirion, Yesterday, 09:32 PM
    0 responses
    8 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by cre8able, Yesterday, 09:15 PM
    1 response
    8 views
    0 likes
    Last Post bltdavid  
    Started by cummish, Yesterday, 08:43 PM
    0 responses
    16 views
    0 likes
    Last Post cummish
    by cummish
     
    Started by Option Whisperer, Yesterday, 07:58 PM
    4 responses
    21 views
    0 likes
    Last Post Option Whisperer  
    Started by ETFVoyageur, 05-07-2024, 07:05 PM
    13 responses
    87 views
    0 likes
    Last Post ETFVoyageur  
    Working...
    X