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
Letter codes on markers show which members fired, such as PB, PBJ, RC, RS, pocket pivot and displacement, and colours are reserved for the bearish side. The study also plots Keltner basis and bands, a Supertrend, and a combo count in the data window. Ported engines add chain and unified combo logic and a bearish HV+D module. Per-combo displacement and volume gates are included.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Base MA Type
string
VWMA
zoo_ma_type
Base MA Length
int
5
zoo_ma_len
Price Source
source
close
zoo_price_src
MA Period
int
20
zoo_pbj_ma_period
ATR Period
int
14
zoo_pbj_atr_period
HH/LL Lookback
int
25
zoo_pbj_hh_ll
ATR Multiplier
float
3.0
zoo_pbj_atr_mult
Volume MA Period
int
20
zoo_pbj_vol_period
Volume Multiplier
float
0.1
zoo_pbj_vol_mult
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
MA Type
string
EMA
kc_maType
MA Length
int
20
kc_length
Multiplier
float
2.0
kc_mult
Source
source
close
kc_src
Bands Style
string
Average True Range
kc_bandsStyle
ATR Length
int
10
kc_atrLength
Slope Lookback Bars
int
3
kc_slopeLookbackBars
Bullish Slope Threshold
float
0.05
kc_bullishSlopeThreshold
Bearish Slope Threshold
float
0.05
kc_bearishSlopeThreshold
% Change (Barsize)
float
3.0
barSize
Lookback Days
int
10
ppLookback
Range Type
string
Open to Close
disp_type
Std Dev Length
int
100
disp_len
Std Dev Multiplier (member D)
float
4.5
disp_mult
RVOL Avg Length
int
30
rv_avgLen
RVOL SMA Length
int
20
rv_smaLen
Anchor Timeframe (blank = chart)
timeframe
reg_anchorTimeframe
Length
int
30
reg_length
Adjust Unconfirmed
bool
true
reg_adjustRealtime
★ Auto-derive ALL Long thresholds (RVOL 1x → 2x ladder)
bool
true
hyb_autoDerive
Long 1 Reg Floor
float
5.0
hyb_addReg1
Long 1 Cum Floor
float
3.0
hyb_addCum1
Long 1 Min Body Ratio
float
0.74
hyb_bodyRat1
Long 2 Reg Floor
float
5.0
hyb_addReg2
Long 2 Cum Floor
float
3.0
hyb_addCum2
Long 2 Min Body Ratio
float
0.74
hyb_bodyRat2
Long 3 Reg Floor
float
5.0
hyb_addReg3
Long 3 Cum Floor
float
3.0
hyb_addCum3
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 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 identifies unusually large candles and high trading volume directly on the price chart. It checks whether the current bar range exceeds the maximum high-low range over a specified lookback period. If the range breaks the record with volume below
Greeffer's Long Study calculates Donchian Channels alongside a volume moving average filter to generate trade signals. When price touches the lower or upper channel boundaries combined with volume exceeding a custom moving average multiplier, the indicator tri
Crypto Trading Strategy identifies breakout setups on the price chart by combining Bollinger Bands with daily cumulative volume delta. It computes a standard Bollinger Band envelope alongside a daily resetting cumulative volume series normalised into z-scores.
Calculates 20-day Average Daily Range percentage, multi-month performance metrics, opening gap size, and relative volume to identify Kristjan Kullamägi style Breakout and Episodic Pivot setups. When conditions are satisfied on the price chart, it flags candles
This indicator classifies market structure into volatility contraction pattern (VCP) stages on the main price chart. It evaluates a Mark Minervini Trend Template score alongside Bollinger Band width percentiles and volume metrics to determine stages such as Co