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
No.1 Ultimate Zero-Lag Reversal Engine uses a zero-lag EMA trail with an ADX-adaptive ATR multiplier and a cap on how fast the trail can move per bar. Flips pass ADX, choppiness and RSI/DMI momentum gates, a cooldown, and spike protection that checks volume on very large candles. Optional take profit levels as ATR multiples, a regime background and a dashboard are drawn on the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Price Source
source
close
src
Zero-Lag EMA Length
int
14
zlema_len
ATR Length (Volatility)
int
14
atr_len
Base ATR Multiplier
float
2.0
base_mult
Max Trail Speed (x ATR per bar)
float
1.8
max_move_atr
Use ADX Trend Filter
bool
true
use_adx
ADX Length
int
14
adx_len
Minimum ADX (Trend Strength)
float
20.0
adx_min
ADX Strong Trend Threshold
float
25.0
adx_trend_th
ADX Chop Threshold
float
18.0
adx_chop_th
Use Choppiness Index Filter
bool
true
use_chop
Choppiness Length
int
14
chop_len
Show all 33 settings
Setting
Type
Default
Variable
Max Choppiness Index
float
60.0
chop_max
Require Momentum Confirmation (RSI + DMI)
bool
true
use_mom
RSI Length
int
14
rsi_len
RSI Bullish Floor
int
48
rsi_bull
RSI Bearish Ceiling
int
52
rsi_bear
Big Candle Threshold (x ATR)
float
3.0
spike_atr_m
Spike Cooldown Bars
int
3
spike_cool
Use Volume Filter on Spikes
bool
true
use_vol
Spike Volume Multiplier
float
1.6
vol_mult_spk
Cooldown Bars (Anti-Whipsaw)
int
6
cooldown_bars
Trail Break Confirmation Bars
int
1
confirm_bars
Show TP Levels & Labels
bool
true
show_tp
TP1 Distance (x Entry ATR)
float
2.0
tp1_mult
TP2 Distance (x Entry ATR)
float
3.5
tp2_mult
TP3 Distance (x Entry ATR)
float
5.5
tp3_mult
Show Trailing Stop Line
bool
true
show_trail
Show Market Regime Background
bool
true
show_bg
Show Dashboard Panel
bool
true
show_dash
Show Early Exhaustion Warnings
bool
true
show_early
Color Candles by Trend
bool
true
bar_colors
Enable Alert Conditions
bool
true
use_alerts
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