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 kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      127 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      105 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      85 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      105 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      86 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X