Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Orginal RSI?

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

    Orginal RSI?

    Looking for the original RSI, not the Wilders version...

    It would be
    RSI = 100 - (100 / (1+RS))
    RS = n period average of up closes / n period average of down closes


    with no smoothing... is this available somewhere? Can it be easily coded somehow from this if not?


    avgDown.Set((avgDown[1] * (Period - 1) + down[0]) / Period);
    avgUp.Set((avgUp[1] * (Period - 1) + up[0]) / Period);
    }

    double rs = avgUp[0] / (avgDown[0] == 0 ? 1 : avgDown[0]);
    double rsi = 100 - (100 / (1 + rs));

    Thanks for any help!
    R.T.

    #2
    Hi RT,

    You can work from the existing RSI and save a copy. Click Tools > Edit NinjaScript > Indicator > Double click RSI.

    Right Click > Save as.

    I'm not sure about the specific changes you would have to make but hopefully a community member can offer input here. If you wanted without smoothing, this is the Avg plot.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the help Ryan!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      576 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      553 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X