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
Lanes combine a highest-volume test over a configurable window with a large body displacement, pocket pullback conditions, relative volume tiers and a Nagasaki-style volume test. By default lanes fire only on the session's first bar. Visual and alert checkboxes are independent, and nothing but markers is drawn on the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
HV window N (bars)
int
4000
hv_n
Displacement sigma
float
9.0
disp_sigma
Displacement stdev length
int
100
disp_len
Require FAUNA on the bar (all lanes)
bool
true
req_fauna
Pocket requirement (S1,S3,S4,S5)
string
Either PB or PBJ
pocket_mode
FIRST BAR ONLY (whole study)
bool
true
first_bar_only
How many opening bars qualify
int
1
first_bar_n
Sensitivity 1
int
100
sens_1
Sensitivity 2
int
200
sens_2
Sensitivity 3
int
300
sens_3
Sensitivity 4
int
400
sens_4
Sensitivity 5
int
500
sens_5
Show all 40 settings
Setting
Type
Default
Variable
Sensitivity 6
int
600
sens_6
Sensitivity 7
int
700
sens_7
Active sensitivity tier (1-7)
int
5
sens_active
S1 HV+D Bull
bool
true
v_s1b
S1 HV+D Bear
bool
true
v_s1r
S2 HV+D+PBJ Bull
bool
true
v_s2b
S2 HV+D+PBJ Bear
bool
true
v_s2r
S3 HV+D+RVOL1x Bull
bool
true
v_s3b
S3 HV+D+RVOL1x Bear
bool
true
v_s3r
S4 HV+GS+D Bull
bool
true
v_s4b
S4 HV+MOAB+D Bear
bool
true
v_s4r
S5 HV+D+RS+RC+RVOL Bull
bool
true
v_s5b
S5 HV+D+RS+RC+RVOL Bear
bool
true
v_s5r
S6 NAGA+D+DIR Bull
bool
true
v_s6b
S6 NAGA+D+DIR Bear
bool
true
v_s6r
S7 NAGA+LONG1-5 Bull
bool
true
v_s7b
S7 NAGA+SHORT1-5 Bear
bool
true
v_s7r
S1 HV+D Bull — alert
bool
true
a_s1b
S1 HV+D Bear — alert
bool
true
a_s1r
S2 HV+D+PBJ Bull — alert
bool
true
a_s2b
S2 HV+D+PBJ Bear — alert
bool
true
a_s2r
S3 HV+D+RVOL1x Bull — alert
bool
true
a_s3b
S3 HV+D+RVOL1x Bear — alert
bool
true
a_s3r
S4 HV+GS+D Bull — alert
bool
true
a_s4b
S4 HV+MOAB+D Bear — alert
bool
true
a_s4r
S5 HV+D+RS+RC+RVOL Bull — alert
bool
true
a_s5b
S5 HV+D+RS+RC+RVOL Bear — alert
bool
true
a_s5r
S6 NAGA+D+DIR Bull — alert
bool
true
a_s6b
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 calculates and plots a session-based volume profile directly on the price chart. It maps volume distribution across price levels, highlighting key structural reference points including the Point of Control, Value Area High, and Value Area Low. C
An educational Pine Script v4 indicator demonstrating how to plot volume histograms on the main price chart using unscaled axes. The code includes examples and commented templates for creating vertical line markers at specific dates or time zones, such as mark
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 overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow
This overlay indicator draws a volume profile for a chosen trading session directly on the price chart. It plots the point of control, value area high and low, an optional value area box, a live zone, and a session box with labels. Users select Tokyo, London,
This overlay indicator marks the current day's low and a suggested entry zone a fraction of daily ATR below that low. It compares daily volume with a volume moving average, plots daily SMA and EMA distance, and draws an optional ATR-width price cloud. Labels c