All indicators

Stochastic RSI + Heikin-Ashi

Mar 2, 2023

Static chart image
SignalsOscillatorsCandlestickDivergences

The Stochastic RSI + Heikin-Ashi indicator provides a smoothed visual representation of momentum by applying Heikin-Ashi candle logic to the Stochastic RSI formula. This approach aims to reduce the "choppiness" typical of standard oscillators, allowing traders to more easily identify trend direction, reversals, and momentum shifts.

Usage

The tool is used similarly to a standard Stochastic RSI but with the added benefit of candle color and structure to filter market noise.

  • Trend Confirmation: Use the color of the Heikin-Ashi candles to confirm momentum. Solid green candles indicate a confirmed upward momentum in the oscillator, while solid red candles indicate downward momentum. Mixed colors suggest a lack of clear direction.
  • Overbought/Oversold Reversals: In an uptrend, traders can look for the indicator to reach the oversold area (bottom) and begin curving upward with a bullish candle change. Conversely, in a downtrend, look for the indicator to reach the overbought peak and turn downward.
  • Trend Structure: Monitor for higher lows in the oscillator during uptrends or lower highs during downtrends. A break in this structure (e.g., a lower low during a price uptrend) can signal a weakening trend.
  • Divergence: Users can compare the highs and lows of the indicator candles against price action to identify bullish or bearish divergences, which is often easier to visualize with the candle format compared to standard lines.

Details

The script functions by calculating the Stochastic RSI and then processing those values through the Heikin-Ashi formula (Open, High, Low, Close). This smoothing technique highlights the underlying momentum trend. Additionally, the indicator utilizes a color gradient based on the %K value to provide a three-dimensional view of where the oscillator sits within its range (-50 to 50).

Settings

Stocashi Inputs

  • Source: Determines the price data used for the RSI calculation (default is Close).
  • Stochastic %K Smoothing: The period used to smooth the %K line.
  • Stochastic %D Smoothing: The period used for the moving average of %K.
  • RSI Length: The lookback period for the RSI calculation.
  • Stochastic Length: The lookback period for the Stochastic calculation.

Bullish / Bearish Movement

  • Bullish Move Start/End: Customizes the gradient colors for upward momentum.
  • Bearish Move Start/End: Customizes the gradient colors for downward momentum.

Overbought / Oversold Levels

  • Overbought Level: Adjusts the color of the upper extreme threshold (40 to 50 range).
  • Oversold Level: Adjusts the color of the lower extreme threshold (-40 to -50 range).

FAQ

How do I interpret the candle colors?

Green candles indicate bullish momentum, while red candles indicate bearish momentum. Because these are Heikin-Ashi candles, the transition between colors often signals a change in character or a potential reversal in momentum.

Can I use this for scalping?

Yes, the smoothing effect of the Heikin-Ashi calculation is specifically designed to make the Stochastic RSI more readable on lower timeframes where the indicator typically appears very jagged.

How can I access Stochastic RSI + Heikin-Ashi?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.