A price-chart indicator that classifies each symbol into a market regime using a long-period Z-score, volatility and fast versus slow energy readings, with thresholds for blow-off, trim and capitulation.
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
RCCE v2.2 sets the asset class automatically as BTC, ETH, altcoin or meme, and uses BTC and ETH reference tickers. A configurable scanner table lists up to five chosen symbols. Inputs adjust lookbacks, Z-score thresholds, minimum regime persistence and scanner placement. Reference symbols are requested without lookahead.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Long Period (Zscore/MA)
int
200
LEN_LONG
Short Period (Vol)
int
30
LEN_SHORT
Energy Fast
int
14
LEN_ENERGY_FAST
Energy Slow
int
50
LEN_ENERGY_SLOW
Beta Calculation Period
int
100
LEN_BETA
Z-Score Blowoff Threshold
float
2.0
Z_BLOWOFF
Z-Score Capitulation Threshold
float
-1.0
Z_CAPITULATION
Z-Score Trim Threshold
float
3.0
Z_TRIM
Z-Score Hard Trim Threshold
float
3.5
Z_TRIM_HARD
Min Bars Before Regime Change
int
5
MIN_REGIME_BARS
Classification Mode
string
AUTO
mode_class
BTC Reference
symbol
BINANCE:BTCUSDT
btc_ticker
Show all 40 settings
Setting
Type
Default
Variable
ETH Reference
symbol
BINANCE:ETHUSDT
eth_ticker
Show Global Scanner
bool
true
show_scanner
Scanner Position
string
BOTTOM_LEFT
scanner_position
Scanner Ticker 1
symbol
BINANCE:BTCUSDT
scan_ticker_1
Ticker 1 Label
string
BTC
scan_label_1
Show
bool
true
show_scan_1
Scanner Ticker 2
symbol
BINANCE:ETHUSDT
scan_ticker_2
Ticker 2 Label
string
ETH
scan_label_2
Show
bool
true
show_scan_2
Scanner Ticker 3
symbol
BINANCE:SOLUSDT
scan_ticker_3
Ticker 3 Label
string
SOL
scan_label_3
Show
bool
true
show_scan_3
Scanner Ticker 4
symbol
BINANCE:BNBUSDT
scan_ticker_4
Ticker 4 Label
string
BNB
scan_label_4
Show
bool
true
show_scan_4
Scanner Ticker 5
symbol
CRYPTOCAP:TOTAL
scan_ticker_5
Ticker 5 Label
string
TOTAL
scan_label_5
Show
bool
true
show_scan_5
Scanner Ticker 6
symbol
CRYPTOCAP:TOTAL3
scan_ticker_6
Ticker 6 Label
string
TOTAL3
scan_label_6
Show
bool
true
show_scan_6
Enable Alt Season Detection
bool
true
enable_alt_season_detection
Alt Cap Method
string
MANUAL
alt_calc_method
Manual Alt Cap Ticker
symbol
CRYPTOCAP:TOTAL3
manual_alt_ticker
USDT Market Cap
symbol
CRYPTOCAP:USDT
usdt_ticker
USDC Market Cap
symbol
CRYPTOCAP:USDC
usdc_ticker
DAI Market Cap
symbol
CRYPTOCAP:DAI
dai_ticker
Major Ticker Slot (for Alt Season)
int
1
major_ticker_for_alt_szn
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 classifies each bar as bull, bear, or sideways from a rolling log return compared with adjustable percentage thresholds. It paints a regime ribbon on the price chart, shows a current-regime banner, and labels state changes after a minimum hold.
This indicator overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi
This indicator classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It
Calculates exponential moving averages for fast, pivot, and slow lengths along with optional 50, 100, and 200 simple moving average context lines. It visualizes bullish and bearish ribbon fills on the main price chart alongside MACD calculations to generate ea
Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi