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 Master Scalper MTF Patterns Sessions Fib plots configurable fast, medium, and slow simple moving averages alongside fast and slow exponential moving averages. Market session backgrounds identify Sydney, Tokyo, London, and New York trading hours according to selected server timezones. In addition, it calculates pivot-based Fibonacci retracement and extension levels and displays multi-timeframe data in an on-chart dashboard panel. Multi-timeframe requests utilize lookahead, which can introduce historical bias.
Multi-timeframe analysis across four timeframes
Configurable SMA and EMA overlay lines
Trading session highlighting with timezone adjustment
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Broker Reference
string
Vantage / XM360
brokerInfo
Show Dashboard Panel
bool
true
showDash
Show Price Labels
bool
true
showLabels
MTF Level 1
timeframe
5
htf1
MTF Level 2
timeframe
15
htf2
MTF Level 3 (1H)
timeframe
60
htf3
MTF Level 4 (4H)
timeframe
240
htf4
Show SMA Lines
bool
true
showSMA
SMA Fast Length
int
20
smaLen1
SMA Medium Length
int
50
smaLen2
SMA Slow Length
int
200
smaLen3
Show EMA Lines
bool
true
showEMA
Show all 37 settings
Setting
Type
Default
Variable
EMA Fast Length
int
9
emaLen1
EMA Slow Length
int
21
emaLen2
Server Timezone
string
UTC+0
sessTz
Show Session Highlights
bool
true
showSessions
Sydney Session
session
2200-0700
sydneySess
Tokyo Session
session
0000-0900
tokyoSess
London Session
session
0800-1700
londonSess
New York Session
session
1300-2200
nySess
Show Fibonacci Levels
bool
true
showFib
Pivot Left Bars
int
5
pivotLeft
Pivot Right Bars
int
3
pivotRight
Fib Level 1
float
0.236
fibR1
Fib Level 2
float
0.382
fibR2
Fib Level 3
float
0.5
fibR3
Fib Level 4 (Golden)
float
0.618
fibR4
Fib Level 5
float
0.786
fibR5
Fib Extension 1
float
1.272
fibExt1
Fib Extension 2
float
1.618
fibExt2
Show Expected Move Zones
bool
true
showExpected
SL Buffer (Points)
float
1.0
slBuffer
Show Chart Patterns
bool
true
showPatterns
Pattern Lookback Bars
int
50
patLookback
Show RSI Divergence Signals
bool
true
showRSIDiv
RSI Length
int
14
rsiLen
Show VWAP
bool
true
showVWAP
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 builds Market Profile Time Price Opportunity (TPO) structures across defined session timeframes directly on the main price chart. It visualizes the Point of Control (POC) and Value Area boundaries using dynamic box drawings. An integrated multi-
This indicator plots a 200-period weighted moving average (WMA) on the main chart and monitors price deviations across multiple timeframes. It retrieves daily, 15-minute, 5-minute, and 2-minute price data to track distance from the 200 WMA relative to key sess
The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh
Indicatorv6SMC / ICT / price actionSessions & time
This indicator estimates gamma exposure levels and intraday context for index instruments like SPY and ES. It calculates VWAP with standard deviation bands as a gamma flip proxy, highlighting market regimes through background colors. It plots prior day high, l
This indicator marks forex trading sessions and opening ranges on the price chart. It can draw Sydney, Tokyo, Frankfurt, London, and New York session boxes or five- and fifteen-minute opening ranges, plus an optional opening channel and a day-open range. Day r