Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2 Day RSI(2) Indicator

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

    2 Day RSI(2) Indicator

    I am looking for help in creating a new indicator based off the existing RSI indicator.

    The only difference is the new indicator is the sum of the last 2 days of the RSI.

    I made a copy of the RSI and tried modifying it but cannot get it to work or plot on the graph. The goal is to use this for auto-trading.

    Any help would be greatly appreciated.

    Bryan

    #2
    Hi Bryan,

    The math shouldn't be too difficult and you don't need to modify the existing RSI. Could create a new script and then set the plot accordingly.

    if(CurrentBar > 1)
    Value.Set(RSI(14, 3)[0] + RSI(14, 3)[1]);

    The [0] + [1] adds the current and previous RSI value. Indexing is always based on bars, not days. You could apply this script to a daily chart or work with our multiseries framework to base it on a specific interval.
    Last edited by NinjaTrader_RyanM1; 10-25-2011, 10:54 AM.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by blconnell View Post
      I am looking for help in creating a new indicator based off the existing RSI indicator.

      The only difference is the new indicator is the sum of the last 2 days of the RSI.

      I made a copy of the RSI and tried modifying it but cannot get it to work or plot on the graph. The goal is to use this for auto-trading.

      Any help would be greatly appreciated.

      Bryan
      Maybe if you showed us what you have done so far, we can complete it for you?

      Comment


        #4
        Thanks for the quick replies. I will review again tonight and see if I can get it working. If not, I'll post what I have so far and look for your expertise in getting it working.

        Thanks again,

        Bryan

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        134 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        75 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        119 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        114 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        92 views
        0 likes
        Last Post CarlTrading  
        Working...
        X