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
B2B PUP Combined 5.4 Tick-Friendly includes pocket pivot volume tests, standard deviation displacement, a VWMA with ATR Supertrend and PBJ filter, relative volume, and opening-drive zone logic. Guards add a tick fallback for bar length and avoid relative volume errors on tick charts. Settings cover pocket pivot size and lookback, displacement multiplier, moving average type and length, Supertrend period, RVOL lengths and zone limits. Aggregated alerts are optional.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
First Candle of Day Required
bool
false
en_firstBarOnly
Aggregate Alerts
bool
true
en_aggregate
TICK MODE - assumed seconds/bar (used when timeframe.in_seconds is na on tick charts)
int
60
nn_tick_assumed_sec
% Change
float
3.0
pp_barSize
Lookback Days
int
10
pp_lookback
Range Type
string
Open to Close
disp_type
Std Dev Length
int
100
disp_len
Std Dev Multiplier
float
5.0
disp_mult
Base MA Type
string
VWMA
zoo_ma_type
Base MA Length
int
5
zoo_ma_len
Apply ATR Supertrend
bool
true
zoo_use_st
ATR Period
int
10
zoo_st_period
Show all 40 settings
Setting
Type
Default
Variable
Multiplier
float
2.0
zoo_st_mult
PBJ MA Period
int
20
zoo_pbj_ma_period
PBJ ATR Period
int
14
zoo_pbj_atr_period
PBJ HH/LL Lookback
int
25
zoo_pbj_hh_ll
PBJ ATR Multiplier
float
3.0
zoo_pbj_atr_mult
PBJ Volume MA Period
int
20
zoo_pbj_vol_period
PBJ Volume Multiplier
float
0.1
zoo_pbj_vol_mult
RVOL Avg Length
int
30
rv_avgLen
RVOL SMA Length
int
20
rv_smaLen
HV+D Range Type
string
Open to Close
hvd_type
HV+D Std Dev Length
int
100
hvd_len
HV+D Std Dev Multiplier
float
5.0
hvd_mult
Sensitivity
int
100
tnt_SENS
Swing Length
int
10
tnt_SWING_LEN
Disp Std Dev Mult
int
5
tnt_DISP_STD_X
Sudden Change Max Bars
int
3
tnt_SUDDEN_PROX
Max TNT Zones
int
30
tnt_MAX_ZONES
Return to TNT %
float
100.0
tnt_RET_PCT
Min Body% FVG
float
0.69
cs_bodyPct_FVG
Min Body% Matrix
float
0.69
cs_bodyPct_MAT
Pentagon in FVG Sets
bool
true
cs_inc_pent_FVG
Pentagon in Matrix Sets
bool
true
cs_inc_pent_MAT
Min Hits
int
2
uc2_min_hits
Within Bars
int
2
uc2_window
Min Hits
int
2
fmu_min_hits
Within Bars
int
2
fmu_window
S1: B2B PUP
bool
true
en_S1
S2: B2B PUP+FAUNA
bool
true
en_S2
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.
Point-Clip Unified Indicator plots breakout and directional labels on the price chart. It scores volume spikes against a volume average, range or opening-range breaks, optional VWAP or session-anchored VWAP, fast and slow EMA trend, and a higher-timeframe EMA
This indicator plots several New York opening-range breakout models on the price chart and can also show a combined confidence-scored signal. Enabled models include classic Crabel, a five-minute scalper, a standard fifteen-minute breakout, and a gold variant,
This script identifies and visualizes bullish and bearish order blocks on the price chart. It detects low-volatility consolidation ranges followed by breakout moves accompanied by high trading volume. Users can select between Simple, Relative, or Weighted volu
This indicator identifies and plots price compression zones directly on the price chart using multi-module scoring. It measures ATR compression, ADX chop levels, boundary touches, volume dry-up, and historical pivot levels to identify consolidation areas and s
This indicator plots opening range breakout levels across multiple timeframes, including five, fifteen, thirty, and sixty minutes, directly on the price chart. It also displays the session open and overnight high and low levels. The script calculates an openin
This indicator marks momentum breakouts on the price chart. A signal appears only when the bar makes a new high over the lookback, volume is at least a chosen multiple of the 20-bar average, the percentage change from the prior close meets a minimum, the close