1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Heikin Ashi RSI Oscillator calculates candles from a chosen source and RSI length, with optional smoothing of the candle open. Users can also show a separate RSI line, an RSI histogram, a stochastic overlay, and a ribbon. Overbought and oversold bands mark extreme zones. Length, smoothing, stochastic scaling, and level thresholds are adjustable. It does not place trades or define exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
14
i_lenHARSI
Open Smoothing
int
1
i_smoothing
Colour Pallette
color
color.teal
i_colUp
color
color.red
i_colDown
color
color.gray
i_colWick
Source
source
ohlc4
i_source
Length
int
7
i_lenRSI
Smoothed Mode RSI?
bool
true
i_mode
Show RSI Plot?
bool
true
i_showPlot
Show RSI Histogram?
bool
true
i_showHist
Show Stochastic?
bool
false
i_showStoch
Ribbon?
bool
true
i_ribbon
Show all 20 settings
Setting
Type
Default
Variable
Smoothing K
int
3
i_smoothK
Smoothing D
int
3
i_smoothD
Stochastic Length
int
14
i_stochLen
Stoch Scaling %
int
80
i_stochFit
OB
int
20
i_upper
OB Extreme
int
30
i_upperx
OS
int
-20
i_lower
OS Extreme
int
-30
i_lowerx
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator measures directional momentum by evaluating candlestick body proportions and volume over a user-defined lookback window. It computes the ratio of candle body to total range, weights the cumulative value by volume and absolute body size, and dete
This indicator calculates the Qstick value as a simple or exponential moving average of the difference between a chosen close source and open source. It plots that oscillator in a separate pane as a yellow line, draws a dashed zero line, and shades the backgro
This indicator plots a Cipher B-style oscillator in a separate pane and can source its calculations from Heikin Ashi candles when that option is on. It draws WaveTrend lines with optional buy, gold, sell, and divergence dots, plus overbought and oversold level
The Candle Pressure Index measures buying versus selling pressure from candle geometry and relative volume. Each bar combines close location, body ratio, and volume rank into a raw pressure value. An exponential moving average of that pressure forms the CPI os
Whiplash is a separate-pane indicator that smooths the difference between close and open with a user-selected moving average, then converts that series into a Z-score over a fixed lookback. Small candle bodies near zero are treated as chop, while readings beyo
This indicator calculates the difference between Heikin-Ashi close and open values to quantify directional candle spread. It smooths this delta value using a simple moving average and plots the resulting oscillator as a line in a separate pane. Traders can cus