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 V4.3 - Auto SR + Full System evaluates Stochastic, RSI, triple exponential moving averages, automatic support and resistance levels, Fibonacci retracements, and volume spikes. The script fetches confirmed higher-timeframe H4 data to filter trade setups without lookahead bias. Adjustable settings control signal score thresholds, support and resistance pivot lookbacks, volume multipliers, and risk-to-reward parameters.
Confluence scoring system combining Stoch, RSI, and EMAs
Automatic support and resistance pivot identification
Higher timeframe H4 filtering using closed candles
Fibonacci level detection and volume spike tracking
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 24 settings
Setting
Type
Default
Variable
Min SR Touches
int
2
sr_touch_min
SR Zone Width (pip)
float
3.0
sr_zone_width
Show SR Labels
bool
true
show_sr_label
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
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
Use Closed H4 Candle
bool
true
use_confirmed_h4
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 script provides an indicator-based backtesting engine framework that simulates trade entries, exits, and filtering directly on the price chart. It evaluates selected entry rules and multi-layered filters, including moving average trends, volume increases,
This indicator combines pivot-based support and resistance levels with multi-timeframe MACD crossovers and a higher-timeframe exponential moving average trend filter. It identifies support and resistance touches using pivot highs and lows within a user-defined
This overlay indicator plots Central Pivot Range levels and bands across yearly, quarterly, monthly, weekly, daily, and six-hour periods. Each timeframe can be shown or hidden, and pivot and band colors are set separately. It also marks MACD momentum and EMA t
GemHunter v4 classifies market conditions into bullish, bearish, or neutral regimes using a multi-indicator voting system. It combines exponential moving average alignment, MACD momentum, and RSI strength, optionally gated by ADX trend strength and higher-time
The Moving Confluence Overlay indicator identifies confluence trading setups on the price chart by combining an exponential moving average ribbon, StochRSI crossovers, MACD momentum, and ATR volatility spike detection. When conditions align, it triggers trade
Xiaotang System V5.0 is a price-chart overlay indicator that identifies momentum breakouts across moving averages and session VWAP. It computes Heikin-Ashi price data, 50-period and 200-period SMAs, and intraday VWAP while monitoring 5-minute higher-timeframe