RSI Candles

Jun 18, 2014

Static chart image
Signals
Oscillators
Candlestick

The RSI Candles indicator colors price bars based on Relative Strength Index (RSI) thresholds to provide a clear visual representation of overbought and oversold market conditions directly on the price chart.

Usage

The Usage section describes how the script can be used to identify momentum shifts and potential exhaustion points. By overlaying RSI data onto the price action, traders can quickly identify when the market has reached specific technical levels without needing a separate oscillator pane.

  • Overbought/Oversold Identification: By default, the script highlights candles when the RSI exceeds 70 or falls below 30. This helps in spotting potential reversal zones or areas where a trend might be overextended.
  • Trend Bias: Traders can adjust the levels to 50 to use the indicator as a momentum filter. In this configuration, bars will change color based on whether the RSI is above or below the median line, signifying a bullish or bearish bias.
  • Visual Clarity: To get the best results, users should disable "Borders" in their chart settings to ensure the bar colors are clearly visible.

Details

The RSI Candles indicator calculates a standard Relative Strength Index using a Rounded Moving Average (RMA). Unlike traditional RSI indicators that plot a line in a sub-window, this script applies logic to the candle colors based on user-defined levels. When the rsiValue crosses above the upLevel, the bars are colored green (bullish exhaustion/momentum); when it crosses below the downLevel, the bars are colored red (bearish exhaustion/momentum). The script also includes built-in alert conditions that trigger specifically when the RSI crosses these boundary levels, allowing for automated monitoring of price extremes.

Settings

  • Length: Determines the lookback period for the RSI calculation. A higher value results in a smoother RSI, while a lower value makes the indicator more sensitive to recent price changes.
  • UpLevel: Sets the upper threshold for the RSI. When the RSI value is above this number, candles will change color to indicate overbought conditions.
  • DownLevel: Sets the lower threshold for the RSI. When the RSI value is below this number, candles will change color to indicate oversold conditions.

FAQ

How can I change the sensitivity of the RSI Candles?
You can adjust the "Length" setting in the indicator inputs; decreasing the value will make the candle color changes more frequent, while increasing it will require more sustained price movement to trigger a color change.

Can I use this for 50-level crossovers?
Yes, by setting both the UpLevel and DownLevel to 50, the candles will reflect whether the current RSI is in a bullish or bearish regime relative to the midpoint.

How do I access the RSI Candles indicator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.