Ultimate RSI indicator

Ultimate RSI indicator

1. Introduction

The Ultimate RSI by LuxAlgo is an enhanced version of the classic Relative Strength Index (RSI), designed to provide smoother, more responsive momentum readings and clearer overbought/oversold signals.

By combining an “augmented” computation of price change with selectable smoothing methods and a dedicated signal line, this indicator aims to reduce whipsaws and highlight only the most reliable turning points in price action.

2. What Is the Ultimate RSI?

The Ultimate RSI builds upon the traditional RSI by:

  • Augmented Price Difference: Instead of simply using the raw change in price, it adjusts differences when new highs or lows occur over the lookback period, strengthening signals when momentum breaks out.

  • Customizable Smoothing: Offers multiple smoothing types (Simple, Exponential, Wilder’s, Double SMAs) for both the numerator and denominator of the RSI calculation, as well as for its signal line.

  • Dedicated Signal Line: A moving average of the RSI itself that can be tuned separately, making crossovers more meaningful.

Compared to a standard RSI, the Ultimate RSI filters out noise more effectively, helping traders focus on sustained momentum shifts rather than fleeting spikes.

3. How It Works and Is Calculated

  1. Define Inputs

    • length: lookback period for highs/lows and smoothing (default 14)

    • smotype1: type of smoothing for the augmented RSI (1=SMA, 2=Wilder, 3=EMA, 4=Double SMA)

    • src: price series (default close)

    • smooth: period for the signal line moving average (default 14)

    • smotype2: smoothing type for the signal line (same options as above)

    • obValue / osValue: overbought/oversold thresholds (default 80/20)

  2. Augmented Price Range

    Computes the high–low range over length.

  3. Adjusted Price Difference (diff)

    Strengthens moves when price breaks the recent range.

  4. Compute Smoothed A-RSI (arsi)

    • Apply chosen smoothing (smotype1) separately to diff (numerator) and abs(diff) (denominator).

    • Calculate:

      Places values between 0 and 100.

  5. Signal Line

    • Smooth the arsi series over smooth bars using smotype2.

    • Encourages crossovers to act as clearer entry/exit triggers.

4. Interpreting Signals

  • Overbought/Oversold Levels

    • Readings above 80 suggest overbought conditions; below 20, oversold.

    • Colored bands appear behind the arsi line to highlight these zones.

  • RSI / Signal Crossovers

    • A bullish entry is flagged when arsi crosses above its signal line in or near the oversold region.

    • A bearish exit (or short entry) occurs when arsi crosses below its signal line near overbought.

  • Avoiding Noise

    • By reinforcing momentum only on genuine highs/lows and applying robust smoothing, the Ultimate RSI aims to ignore choppy, indecisive price moves.

5. Inputs and Configuration

Parameter Default Description
length 14 Lookback for highs/lows and smoothing.
smotype1 3 (EMA) Smoothing for the augmented RSI: 1=SMA, 2=Wilder’s, 3=EMA, 4=Double SMA.
src Close Source price series.
smooth 14 Period for the signal line moving average.
smotype2 1 (SMA) Smoothing for the signal line (same options as smotype1).
obValue 80 Overbought threshold.
osValue 20 Oversold threshold.
  • Adjusting Sensitivity

    • Shorter length → more responsive but risk of noise.

    • Longer length → smoother, fewer signals.

    • Higher smoothing types (e.g., Wilder’s) tend to lag more but filter noise.

6. Practical Usage Examples

  • Trend Confirmation on Daily Chart

    • Use default settings to confirm daily momentum before following breakouts.

    • Only take signals when the broader trend (e.g., 50-bar moving average) aligns.

  • Fast Entries on Lower Timeframes

    • Reduce length to 8–10, switch smotype1 to EMA for quicker response.

    • Use the crossover of arsi above signal near the 30 level for long entries.

  • Divergence Detection

    • Plot price highs/lows against Ultimate RSI peaks/troughs.

    • Look for hidden or regular divergences to anticipate reversals.

7. Code

Below is the full ProBuilder script for the Ultimate RSI. Each section is annotated for clarity:

8. Conclusion and Final Tips

The Ultimate RSI from LuxAlgo offers a sophisticated twist on the classic oscillator, combining dynamic range detection with flexible smoothing to deliver clearer, more actionable momentum readings. To get the most out of it:

  • Align entries with higher-timeframe trends.

  • Experiment with smoothing types to find your ideal balance of responsiveness vs. noise filtering.

  • Use the signal line crossovers in conjunction with traditional support/resistance or chart patterns.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

avatar
Register or

Likes

avatar avatar avatar
Related users ' posts
mcha merci bien et félicitations pour la réactivité avec laquelle il a été mis dans la bibliothèq...
soulintact Great indicator Nicolas, thanks!
cdc.andersson Hello, when trying to include this wonderful Dynamic RSI on my trading system i get the erro...
Rafyone Bonjour Nicolas et bonne année lol J'ai une erreur qui apparait concernant drawbarchart une...
Nicolas Je pense que tu n'utilises pas le bon éditeur de code, cette instruction est compatible uniq...
Exalaxe Hey, i just noticed you optimized this strategy. Could i see your new version, please?
Andrea.1981 sorry i add my code but it not enter why i dont know
Andrea.1981 this is code simply stop , and you can see another version for stop / Codice principale...
AntoGH how did you backtest it ?
PastaPesto @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years bet...
Ridder @PastaPesto Do you still running this and how is the results? Thanks
dau710 Are the Bulls Blue & the Bears Red?
dau710 Many thanks :)
myhlo Super Nicolas !! Cet indicateur offre une nouvelle lecture du Rsi ! Ces bandes up & Dawn...
okiki please how can i acess the indicator i like it and want it please am new here
Nicolas download the itf file above and import it into your prorealtime platform: https://www.prorea...
XXXXVII Excellent indicateur ! Déterminer une tendance est devenu un jeu d'enfants ! Félicitation......
gregoire bonjour nicolas j ai cherché partout sur le net et impossible de trouvé ce que je recherch...
Nicolas Merci de poster une demande dans le forum des indicateurs, ainsi on pourra le coder dans ce ...
bala Hi Nicolas, I have been extensively researching for lot of answers here. I found that you...
Nicolas Don't apply it on price, use the main "indicator and trading system" button found on the top...
Bogdan35 Hello, Is there one for MT4?
Nicolas
7 years ago
Kosuda76 Thanks for your reply! But I do not really understand what the opposite of them the values ​...
AdriTrade Good job Louis!! How could do this for the Williams indicator? Thank you very much.
imorandin Hi!, Nice code. I'm tryng to port it to another language, but I don't understand this part:...
luxrun Thanks, bolsatrilera, for a very good and solid screener!
luxrun sorry... indicator!
Lily Rios Gracias por el indicador, tengo una pregunta necesito programar un screener de valores que e...
Bebbo Grazie del prezioso contributo Nicolas, scusa la mia inesperienza, sono alle prime armi e s...
Nicolas To avoid recalculation, you should use the one from this post.
Bebbo Ok Grazie Nicolas.
bolsatrilera
7 years ago
jissey Bonjour Bolsatrilera, je trouve le cm rsi interessant, merci de l'avoir mis à disposition ! ...
bolsatrilera bonjour jissey, je n'ai aucune information sur ce que tu dis, je suis désolé.
ALE Hi the color is given by a numerical value derived from the oscillator in use. If you comp...
efahmy Thanks mate
Jo-01-R Hello, it is possible to have this indicator but instead of colors rather have numbers rangi...
Nicolas
7 years ago
enricot Scusa nn riesco.
SoloContado If you smooth the signal using a "summation" function, you get a nice "crossing of 0" graph....
ShaunG Greatly appreciated Nicolas!
Etienne Hi, thanks for proving this code. I would like to contribute by adding a computation speed...
Etienne //Compute Super Smoother coefficients once if barindex = 1 then a1 = exp( -1.414 * 3.14159...
Nicolas Thanks a lot!

Top