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
The gates use a choppiness index, the slope of a baseline EMA and an ATR expansion test, and signals can require every enabled filter to agree. Further settings cover minimum bars between flips, confirmation closes, efficiency, ADX and a higher-timeframe bias. It is tuned by its comments for 1, 3 and 5 minute charts.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Enable Range & Chop Suppression
bool
true
useRangeFilterInput
1. Choppiness Index Gate
bool
true
useChopFilterInput
Chop Length
int
14
chopLenInput
Max Chop Threshold (Lower = Stronger Moves)
float
50.0
chopThresholdInput
2. Baseline Trend Slope Gate
bool
true
useSlopeFilterInput
Baseline EMA Length
int
50
baseEmaLenInput
Min Baseline ATR Slope
float
0.12
slopeThresholdInput
3. Volatility Expansion Gate
bool
true
useVolFilterInput
ATR SMA Length
int
20
atrSmaLenInput
Min ATR vs SMA Ratio
float
0.95
atrMultFilterInput
Enforce Nexus Anti-Whipsaw Trail
bool
true
useNexusFilterInput
Require All Enabled Indicators to Align
bool
true
requireAllInput
Show all 40 settings
Setting
Type
Default
Variable
Zero-Lag EMA Length
int
18
zlemaLenInput
Trail Multiplier
float
2.35
trailMultInput
Volume Weighted Source (VWMA)
bool
true
useVolSrcInput
Min Bars Between Flips
int
10
minBarsInput
Min Travel x ATR
float
1.10
minTravelInput
Confirm Closes
int
3
confirmBarsInput
Break Buffer x ATR
float
0.12
breakBufInput
Efficiency Filter
bool
true
useEffInput
Efficiency Length
int
8
effLenInput
Min Efficiency
float
0.30
effMinInput
Nexus ADX Gate
bool
true
useAdxFilterInput
Nexus ADX Length
int
10
adxFilterLenInput
Min ADX Threshold
float
18.0
adxMinInput
Enable HTF Bias Filter
bool
true
useHtfInput
Auto HTF Selection
bool
true
autoHtfInput
Manual HTF
timeframe
15
manualHtfInput
HTF Mode
string
Hard
htfModeInput
ATR Length
int
14
atrLenInput
Take Profit
bool
false
enableTpInput
Multiplier
float
2.0
tpMultInput
Stop Loss
bool
false
enableSlInput
Multiplier
float
1.5
slMultInput
Trailing Stop
bool
false
enableTsInput
Multiplier
float
1.0
tsMultInput
Orb Distance (ATR)
float
1.5
orbDistInput
Orb Base Size
int
10
orbSizeInput
Show Scalp Trail Line
bool
true
showTrailInput
Show Scalp Cloud
bool
true
showCloudInput
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 River Strategy with SuperScalper plots custom Bollinger Bands to form a price channel on the main chart overlay. It identifies breakout conditions when price bars clear the channel boundaries to generate entry, stop loss, and multi-tier take profit levels.
This indicator plots an ATR-based Chandelier Exit trailing stop on the price chart. It tracks a long stop under recent highs and a short stop above recent lows, then switches direction when price crosses the opposite stop. Buy and sell labels mark those flips.
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
Range Filter [Alorse] is a technical indicator overlay for TradingView designed to filter market volatility and identify price trends. It calculates a smoothed range based on historical volatility using a configurable sampling period and multiplier applied to
This indicator calculates an ATR trailing stop line derived from the highest high minus an average true range multiple over a specified lookback period. It plots the trailing stop line directly on the price chart and colors price bars based on whether the clos
This indicator plots three exponential moving averages and ATR volatility envelopes on the price chart. It compares the fast and slow EMAs to shade a trend ribbon and marks confirmed upward and downward crossovers with triangle labels. Settings change the thre