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
Nexus No.1 Flip Engine v13 - Major Moves Only uses an ATR structure trail and requires a breakout of a prior swing, so minor pullbacks do not produce signals. Presets cover scalp, gold and forex intraday, and swing charts. Gates include minimum bars between flips, trail-break confirmation closes, ADX, DMI, choppiness, efficiency and gap or shock filters. Signals commit on confirmed bar closes.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Preset
string
Auto (Major Moves)
preset
Auto-adapt parameters to chart timeframe
bool
true
useAuto
ATR length
int
14
atrLen
Base trail distance x ATR
float
3.5
baseMult
Use volume-weighted source when volume exists
bool
false
useVolumeSource
Volume source length
int
12
volumeSourceLen
Pre-smooth source with EMA 2
bool
true
preSmooth
Widen trail in range transition x
float
1.35
chopTrailBoost
Minimum slow trend slope x ATR
float
0.04
minSlopeAtr
Minimum fast/slow separation x ATR
float
0.12
minSeparationAtr
Slow zero-lag length
int
20
slowZlemaLen
Require prior-swing breakout
bool
true
useSwingBreak
Show all 40 settings
Setting
Type
Default
Variable
Swing lookback
int
12
swingLen
Minimum bars between flips
int
12
minBarsBetweenFlips
Trail-break confirmation closes
int
2
trailConfirmBars
Minimum travel from last flip x ATR
float
1.00
minTravelAtr
Trail break buffer x ATR
float
0.10
trailBreakBufferAtr
Strong reverse distance x ATR
float
1.55
strongReverseAtr
Use efficiency filter
bool
true
useEfficiency
Efficiency lookback
int
10
effLen
Minimum efficiency
float
0.28
effMin
Range efficiency threshold
float
0.24
effRangeEnter
Trend release efficiency
float
0.34
effTrendRelease
ADX/DMI length
int
14
adxLen
Range entry ADX
float
17.5
adxRangeEnter
Trend release ADX
float
20.0
adxTrendRelease
Minimum ADX for normal flips
float
18.0
adxTrailMin
Minimum DMI spread
float
3.0
diSpreadMin
Choppiness length
int
14
chopLen
Range choppiness
float
61.8
chopRangeEnter
Trend release choppiness
float
55.0
chopTrendRelease
ATR baseline length
int
50
atrBaseLen
Pause new flips above ATR ratio
float
2.2
pauseAtrRatio
Pause new flips above candle range x ATR
float
2.8
shockRangeAtr
Pause new flips after abnormal gap
bool
true
useGapFilter
Gap threshold x previous ATR
float
1.5
gapAtrMult
Enable HTF bias
bool
true
useHtf
Auto-select HTF from chart
bool
true
autoHtf
Manual HTF
timeframe
240
manualHtf
HTF Supertrend factor
float
3.1
htfFactor
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.
Sideway Zones Live is an overlay indicator that estimates inner and outer sideways bands from recent highs and lows with a rational quadratic kernel. It tracks swing pivots over a loopback period and counts bars that remain between the outer high and low. Afte
This indicator adapts Michael Chalek's Dual Thrust trading concept to plot breakout levels and overlay bands directly on the price chart. It calculates lookback ranges based on historical price action and provides two algorithmic variations along with multiple
This indicator calculates dynamic upper and lower trendlines from pivot highs and pivot lows across a specified bar length. Trendline slopes are derived using ATR, standard deviation, or linear regression methods. It plots trendlines and breakout signal labels
This indicator detects inside candles inside larger parent candles on the price chart. It plots colored boxes around inside and parent candles, fills them with user-adjustable transparency, draws Fibonacci retracement lines and mother candle range lines, and d
This indicator plots Donchian Channels alongside fast and slow simple moving averages directly on the price chart. It generates bullish breakout signals when the high reaches the upper channel while the close is above the 50 SMA (and optionally the 200 SMA). B
This indicator classifies market trends into structured stages based on moving average alignments, compression, and ATR distance from the 50-period SMA. It tracks multiple exponential moving averages against the 50 SMA to detect basing phases, breakouts, trend