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 includes pocket pivot volume tests, standard deviation displacement, a VWMA with ATR Supertrend and PBJ filter, relative volume, high-volume and opening-drive zone logic, and fair value gap body checks. Settings cover the pocket pivot size and lookback, displacement multiplier, moving average type and length, Supertrend period, RVOL lengths, zone count and sensitivity. An aggregate alert option sends one combined message per bar. Dense signal output takes time to learn.
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
% 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
Multiplier
float
2.0
zoo_st_mult
Show all 40 settings
Setting
Type
Default
Variable
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
S3: B2B PUP+DISP
bool
true
en_S3
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 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 implements a Wyckoff method state machine that tracks accumulation, distribution, markup, and markdown regimes across phases A through E. It identifies structural events including springs, UTADs, SOS, SOW, LPS, LPSY, and climactic bars using ATR
This indicator identifies dynamic support and resistance levels using pivot highs and lows. It plots resistance and support lines directly on the price chart once pivot points are confirmed. Additionally, it calculates a volume oscillator using 9-period and 26
ICT ORB draws the opening range for a chosen session and marks breakout conditions on the price chart. It can require relative volume, a volume spike, a liquidity sweep, displacement, trend alignment, an order block, and higher-timeframe bias before a fair-val
SMC + POC Signals identifies Smart Money Concepts structure elements including Break of Structure (BOS), Change of Character (CHoCH), Order Blocks, and Fair Value Gaps alongside a rolling Point of Control (POC) volume profile line. It marks potential long and
This indicator identifies bullish Change of Character (CHoCH) structure shifts directly on the price chart using pivot swing points. It tracks swing highs and lows governed by configurable left and right lengths and maximum swing age. The script highlights CHo