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
Session Range & Advanced Analysis Tools plots session ranges alongside three configurable moving averages, volume-weighted average price (VWAP) with standard deviation bands, dynamic support and resistance pivot levels, and volume highlights. Additionally, it computes RSI divergence and calculates a confluence score using higher timeframe trend filtering to identify multi-indicator setups directly on the main chart.
Customizable session high and low range boxes
Session-specific VWAP with standard deviation bands
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Session Start Hour
int
7
sessionStartHour
Session Start Minute
int
30
sessionStartMinute
Session End Hour
int
10
sessionEndHour
Session End Minute
int
0
sessionEndMinute
Extend Lines
bool
true
extendLines
Range Box Opacity
int
80
rangeOpacity
Show Labels
bool
true
showLabels
Max Bars to Extend
int
50
maxBarsExtend
Show Moving Averages
bool
true
showMA
MA1 Length
int
21
ma1_length
MA2 Length
int
50
ma2_length
MA3 Length
int
200
ma3_length
Show all 40 settings
Setting
Type
Default
Variable
MA Type
string
EMA
ma_type
Show RSI Levels
bool
true
showRSI
RSI Length
int
14
rsi_length
RSI Overbought
float
70.0
rsi_overbought
RSI Oversold
float
30.0
rsi_oversold
Show RSI Divergence
bool
true
show_rsi_divergence
Divergence Lookback
int
5
divergence_lookback
Show VWAP
bool
true
showVWAP
Show VWAP Bands
bool
true
vwap_bands
VWAP Standard Deviation
float
2.0
vwap_std_dev
Show Volume at Session Levels
bool
true
showVP
Min Volume Multiplier for Signals
float
1.3
min_volume_multiplier
Show Key S/R Levels
bool
true
showSR
S/R Lookback Period
int
20
lookback_period
Max S/R Lines
int
20
max_sr_lines
Use ATR-Based Thresholds
bool
true
use_atr_threshold
ATR Length
int
14
atr_length
ATR Threshold Multiplier
float
0.5
atr_multiplier
Minimum Confluence Score
int
70
min_confluence_score
Show Confluence Score
bool
true
show_confluence_score
Enable MTF Trend Filter
bool
true
enable_mtf_filter
Higher Timeframe
timeframe
60
htf_timeframe
Show Risk Levels
bool
true
show_risk_levels
Risk/Reward Ratio
float
2.0
risk_reward_ratio
ATR Stop Loss Multiplier
float
1.5
atr_stop_multiplier
Enable Multiple Sessions
bool
false
enable_multi_sessions
Asian Start Hour
int
0
asian_start_hour
Asian End Hour
int
8
asian_end_hour
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.
Plots a smoothed moving average stack alongside detected W and M patterns, RSI momentum filtering, and Fibonacci-style extension targets. The indicator evaluates trend alignment across fast, medium, and slow SMMAs, scans recent price bars for double top or bot
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
The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal
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 collection calculates and plots previous daily high and low price levels on the chart to identify potential supply and demand zones. It includes real-time intraday high and low calculations, RSI divergence detection across a customizable period