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
XAU Scalper Conservative (EMA 9/21/200 + VWAP + BOS + HTF) combines fast, slow, and trend EMAs with session time filters, VWAP direction, higher-timeframe trend alignment, and ADX trend strength. It tracks break of structure signals and volume spikes while requiring pullbacks to the 21 EMA. Entry confirmation options include pinbars, body engulfing patterns, or breaking previous candle extremes. Inputs allow customization of session hours, moving average lengths, volume thresholds, and minimum EMA slope.
Triple EMA filter with VWAP and ADX direction
Higher timeframe trend alignment and break of structure
Session filter for London and New York opening hours
Candle pattern confirmation options including pinbar and engulfing
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
EMA fast
int
9
emaFastLen
EMA slow
int
21
emaSlowLen
EMA trend (filter)
int
200
emaTrendLen
Filter direction by VWAP
bool
true
useVWAPFilter
Enable volume filter
bool
true
useVolFilter
Volume MA length
int
50
volLen
Volume spike factor (x MA)
float
1.4
volFactor
Min ADX(14) for trend
float
15.0
minAdx
Enable session filter
bool
true
useSessionFilter
Session 1 (London)
session
0800-1100
sess1
Session 2 (NY open)
session
1430-1700
sess2
Enable micro-structure + BOS mode
bool
true
useStructure
Show all 22 settings
Setting
Type
Default
Variable
Bars after last BOS to keep bias
int
40
bosLookback
Enable HTF filter
bool
true
useHTF
HTF timeframe (e.g., 15)
timeframe
15
htf
HTF EMA fast
int
50
htfFastLen
HTF EMA slow
int
200
htfSlowLen
Pullback MUST touch EMA21
bool
true
requireTouch21
Candle confirmation
string
prevHighBreak
reclaimCandle
EMA21 slope length (bars)
int
6
slopeLen
Min EMA21 slope (% over length)
float
0.03
slopeMinPct
Min distance from EMA200 (%)
float
0.06
minDist200Pct
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.
Identifies continuation trade setups based on Beat the Market Maker (BTMM) second-leg patterns directly on the price chart. It defines trading session phases across Asian, London, and New York sessions, filters impulse legs using fast and slow exponential movi
Indicatorv5SMC / ICT / price actionSessions & time
This indicator analyzes price action on XAUUSD Gold using Smart Money Concepts and macro trend filters. It evaluates daily macro bias using a 200-period Exponential Moving Average and 20-day high and low breakout levels. Higher timeframe inputs detect hourly F
Donald SPX - Options Trading is an overlay indicator designed for intraday SPX analysis. It plots a 200-period Weighted Moving Average (WMA) on the price chart while evaluating multi-timeframe market structure across Daily, 15-minute, 5-minute, and 2-minute ba
Market Monitor - 15m is a directional bias chart overlay designed for 15-minute intraday chart analysis. It calculates a triple exponential moving average ribbon with EMA cloud shading, session VWAP with multiplier bands, prior day levels, a 30-minute opening
Calculates Smart Money Concepts market structure elements including internal and swing breaks of structure, change of character, and order blocks directly on the price chart. It highlights bullish and bearish structures, customizable internal and swing order b
This overlay indicator classifies market structure with an ATR-based ZigZag that marks higher highs, higher lows, lower highs, and lower lows. A state machine plots buy and sell labels on the confirmation bar, not on the earlier pivot, and by default waits for