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
XAUUSD Strategy - Momentum + Compact Dashboard combines stochastic and RSI thresholds with fast, slow, and trend EMAs, Fibonacci proximity, and pivot support-resistance zones. It scores wick sweeps, reclaim, continuation, volume spikes, and consecutive momentum bars, then marks early, full, and optional ready signals. Settings change oscillator periods, score weights, EMA hold rules, and an ATR-based stop buffer with a minimum reward ratio and a low-volatility filter. It does not place orders.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Stoch Period
int
5
stoch_period
Stoch K
int
3
stoch_k
Stoch D
int
3
stoch_d
Oversold
int
20
oversold
Overbought
int
80
overbought
RSI Period
int
14
rsi_period
EMA Fast
int
20
ema_fast
EMA Slow
int
50
ema_slow
EMA Trend
int
200
ema_trend
Fib Lookback
int
50
fib_lookback
Fib Tolerance
float
0.008
fib_tol
SR Pivot Lookback
int
20
sr_lookback
Show all 40 settings
Setting
Type
Default
Variable
SR Zone Width (pip)
float
3.0
sr_zone_width
Show SR Labels
bool
true
show_sr_label
Min Wick Reclaim %
float
0.45
wick_reclaim_min
Sweep+Reclaim Score
int
2
sweep_score_weight
Show READY Signal
bool
true
show_ready_signal
Cont Max Body x Avg
float
0.85
cont_body_max
Continuation Score
int
2
cont_score_weight
Require EMA20 Hold
bool
true
require_ema_hold
Volume MA Length
int
20
vol_length
Volume Spike x
float
1.5
vol_mult
Full Signal Score
int
5
score_full
Early Signal Score
int
4
score_early
Momentum Consecutive Bars
int
3
mom_bars
Momentum Body Mult
float
1.2
mom_body_mult
LSB Spam Lookback
int
10
lsb_spam_bars
Max LSB in Window
int
3
lsb_spam_max
Dead Cat Bounce Bars
int
3
dead_cat_bars
R:R Ratio
float
1.5
rr_ratio
SL Buffer pip
int
5
sl_buf
SL Swing Lookback
int
5
sl_lookback
Minimum RR
float
1.2
min_rr
ATR Period
int
14
atr_period
ATR SL Buffer
float
0.3
atr_sl_mult
Use ATR Dynamic SL
bool
true
use_atr_sl
Use No Trade Filter
bool
true
use_no_trade_filter
Low ATR Filter x
float
0.75
atr_flat_mult
EMA Flat Lookback
int
5
ema_flat_len
EMA Flat Tol ATR
float
0.15
ema_flat_tol_atr
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.
This indicator demonstrates Pine Script data requests and draws them on the price chart. It plots a four-hour simple moving average plus the daily high and low as step lines, and it plots twenty-bar relative performance versus SPY. It also requests QQQ, VIX, v
This overlay indicator unifies three optional alert modules on the price chart. It plots a fast and a slow exponential moving average and an optional horizontal price level. On confirmed bars only, it sends webhook-ready JSON when the fast average crosses the
This overlay indicator plots a Supertrend from an ATR length and factor, four exponential moving averages, and a selectable VWAP or TWAP taken from a chosen timeframe on the price chart. It also shows MACD and stochastic with adjustable lengths, smoothing, ver
This indicator calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition
This overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi