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
Displayed in a separate pane, it visualizes smoothed RSI momentum candles alongside customizable overbought and oversold threshold boundaries. Users can smooth the open values of the HA RSI to better gauge trend strength and filter potential setups using higher-timeframe RSI levels or moving averages. Settings include HA smoothing length, RSI source, overbought/oversold extreme zones, and moving average lookbacks.
Zero-centered Heikin-Ashi RSI calculation
Customizable overbought and oversold extreme thresholds
Higher-timeframe RSI and moving average entry filters
HA open smoothing for trend strength visualization
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
HA Smoothing
int
7
i_smoothing
Source
source
ohlc4
i_source
Length
int
7
i_lenRSI
Smoothed Mode RSI?
bool
true
i_mode
HA OB
int
20
i_upper
OB Extreme
int
30
i_upperx
HA OS
int
-20
i_lower
OS Extreme
int
-30
i_lowerx
HTF RSI Timeframe
timeframe
rsiTf
RSI Overbought
float
70
tfRsiOb
RSI Oversold
float
30
tfRsiOs
Moving Average Timeframe
timeframe
maTf
Show all 19 settings
Setting
Type
Default
Variable
Moving Average Length
int
50
maLen
Use RSI to Filter Entries?
bool
true
useRsiFilt
Use Moving Avearage to Filter Entries?
bool
false
useMaFilt
Apply Candle Close Rule?
bool
true
useHaCloseFilt
HA Candle Buffer For Overbought/Oversold
string
High/Low
haObosMeth
Moving Average Lookback
int
10
maLback
Lookback for SL Finding
int
10
slLback
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 plots detrended candlesticks in a separate pane relative to a chosen baseline to highlight market cycles around a zero line. Users can switch the baseline mode between a moving average and high/low extremes. In moving average mode, it subtracts
Mean Reversion Study is an indicator that identifies trade setups combining exponential moving averages, RSI extremes, and engulfing candlestick patterns. It highlights bullish setups when a bullish engulfing candle forms below the EMA while RSI is oversold, a
This indicator identifies candlestick patterns on the price chart by combining price action with momentum factors and trend filters. It calculates one of four selectable oscillators: Karobein Oscillator, Money Flow Index, RSI, or Stochastic, alongside trend ru
This indicator overlays on the price chart and provides trend and momentum analysis. It calculates and plots three exponential moving averages with fixed periods of 20, 50, and 200 using yellow, orange, and blue colors respectively. The script also computes th
EmaRainbowCandleMark is a price-chart overlay that calculates a stack of exponential moving averages with Fibonacci-style lengths and tests candles for hammers, shooting stars, and bullish or bearish engulfing patterns. Body-to-wick tolerances set how strict t
This overlay indicator combines price-action swing structure with a MACD comparison and a dual moving-average filter. It finds pivot highs and lows, labels higher highs, lower highs, higher lows and lower lows, and builds a trend bias from those swings. It rep