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 Prime Engine v8 Adaptive Confirmed extends the v7 scoring with hysteresis for range and trend states, so one borderline candle cannot flip the regime, and with a pause after abnormal gaps, shock candles and extreme ATR expansion. Inputs cover ZLEMA, slow EMA, HMA, ADX, choppiness, efficiency, RSI, MACD and a minimum entry score. Stops and targets are informational levels only.
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
ZLEMA length
int
14
zlemaLen
Slow EMA length
int
55
slowLen
HMA structure length
int
34
hmaLen
ATR length
int
14
atrLen
Trail distance (ATR)
float
2.8
atrTrailMult
ADX/DMI length
int
14
adxLen
Minimum ADX for entries
float
20.0
adxEntryMin
Enter range when ADX is at/below
float
17.0
adxRangeEnter
Release range when ADX is at/above
float
20.0
adxTrendRelease
Choppiness length
int
14
chopLen
Enter range when choppiness is at/above
float
61.8
chopRangeEnter
Show all 40 settings
Setting
Type
Default
Variable
Release range when choppiness is at/below
float
55.0
chopTrendRelease
Efficiency length
int
12
effLen
Enter range when efficiency is at/below
float
0.28
effRangeEnter
Release range when efficiency is at/above
float
0.35
effTrendRelease
ATR baseline length
int
50
atrRegimeLen
Pause entries above ATR ratio
float
2.2
panicAtrRatio
Pause entries on candle range x ATR
float
2.8
shockAtrMult
Pause entries after abnormal gaps
bool
true
useGapFilter
Gap threshold x previous ATR
float
1.5
gapAtrMult
RSI length
int
14
rsiLen
Bullish RSI floor
float
52.0
rsiBullLevel
Bearish RSI ceiling
float
48.0
rsiBearLevel
MACD fast
int
12
macdFastLen
MACD slow
int
26
macdSlowLen
MACD signal
int
9
macdSignalLen
Minimum entry score
int
6
minScore
Breakout lookback
int
12
breakLen
Pullback distance from ZLEMA x ATR
float
0.35
pullbackAtr
Use volume when available
bool
true
useVolume
Volume average length
int
20
volumeLen
Volume confirmation x average
float
1.15
volumeFactor
Use higher-timeframe permission
bool
true
useHtf
Auto-select a higher timeframe
bool
true
autoHtf
Manual higher timeframe
timeframe
240
manualHtfTf
HTF Supertrend ATR length
int
14
htfAtrLen
HTF Supertrend factor
float
3.0
htfFactor
Enable close-confirmed stop/target exits
bool
true
useRiskExits
Prioritize stop/target over same-bar flip
bool
true
preferRiskExit
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