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
Buy and sell signals mark the flips on confirmed closes. An early reversal warning appears when price stretches beyond a band, RSI turns back from oversold or overbought, and a rejection candle forms; it shows once per leg as an exit hint. Band width and RSI levels are adjustable.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Zero-Lag Period
int
12
length
ATR Volatility Length
int
10
atrLength
ATR Band Multiplier
float
1.6
atrMult
Show Early Reversal / Take Profit Warnings
bool
true
showTP
Exhaustion RSI Length
int
14
rsiLen
RSI Oversold Threshold (Exit Short)
int
32
rsiOversold
RSI Overbought Threshold (Exit Long)
int
68
rsiOverbought
Price Source
source
close
src
Zero-Lag Length (Trend Speed)
int
14
zlema_len
ATR Length (Volatility)
int
10
atr_len
ATR Multiplier (Chop Filter)
float
2.0
atr_mult
Hull MA Length
int
21
hmaLen
Show all 40 settings
Setting
Type
Default
Variable
EMA Fast
int
20
emaFastLen
EMA Slow
int
50
emaSlowLen
Supertrend Factor
float
3.0
stFactor
Supertrend ATR Period
int
10
stATR
RSI Length
int
14
rsiLen
RSI Buy Level
int
50
rsiBuy
RSI Sell Level
int
50
rsiSell
MACD Fast
int
12
macdFast
MACD Slow
int
26
macdSlow
MACD Signal
int
9
macdSig
Use Volume Confirmation
bool
true
useVol
Volume > Avg x
float
1.2
volMult
Volume Avg Length
int
20
volLen
Use ADX Trend Strength
bool
true
useADX
ADX Length
int
14
adxLen
ADX Minimum
int
20
adxMin
Price Source
source
close
src
Zero-Lag Length
int
14
zlema_len
ATR Length
int
10
atr_len
ATR Multiplier
float
2.0
atr_mult
Use ADX Filter
bool
true
use_adx
ADX Length
int
14
adx_len
ADX Minimum (skip if below)
float
20.0
adx_min
Use Choppiness Filter
bool
true
use_chop
Choppiness Length
int
14
chop_len
Max Choppiness (skip if above)
float
61.8
chop_max
Use RSI Divergence for Reversals
bool
true
use_div
RSI Length
int
14
rsi_len
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.
The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha
An overlay indicator that combines an ATR-based SuperTrend trailing stop with an integrated RSI-derived midline calculation on the price chart. The SuperTrend uses an ATR period and factor multiplier to plot dynamic green or red trend lines based on price dire
ADX Strategy (original) is an overlay indicator that identifies trend-following trade signals using the Average Directional Index (ADX) combined with a Simple Moving Average filter. A long signal is generated when the ADX rises above a user-defined trend level
Moon Dev Lunar Sniper is a multi-indicator overlay that scores confluence across fast and slow EMAs, RSI, MACD, DMI, and BB width to fire signals only when score meets the minimum threshold. It plots buy and sell signals on the price chart, highlights cosmic b
Double Screened Decision is a multi-timeframe trend and momentum indicator overlaid directly on the price chart. It dynamically selects a higher timeframe based on the active chart resolution to evaluate higher-timeframe MACD, Bollinger Bands, RSI, and Stochas
The VibeTrader Signal System is an overlay indicator that identifies trend direction and potential reversal conditions. It calculates a Supertrend line alongside Bollinger Bands and a 14-period RSI indicator. The script highlights bullish and bearish trends by