Indicator · Pine Script v6 · On the chart

RCCE v2.2

by cianfru

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.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code1,060
Settings40inputs
LicenceNone stated
Last update2 days ago27 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

cianfru on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Trend, Screeners & dashboards

Markets

Crypto

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Long Period (Zscore/MA)int200LEN_LONG
Short Period (Vol)int30LEN_SHORT
Energy Fastint14LEN_ENERGY_FAST
Energy Slowint50LEN_ENERGY_SLOW
Beta Calculation Periodint100LEN_BETA
Z-Score Blowoff Thresholdfloat2.0Z_BLOWOFF
Z-Score Capitulation Thresholdfloat-1.0Z_CAPITULATION
Z-Score Trim Thresholdfloat3.0Z_TRIM
Z-Score Hard Trim Thresholdfloat3.5Z_TRIM_HARD
Min Bars Before Regime Changeint5MIN_REGIME_BARS
Classification ModestringAUTOmode_class
BTC ReferencesymbolBINANCE:BTCUSDTbtc_ticker
Show all 40 settings
SettingTypeDefaultVariable
ETH ReferencesymbolBINANCE:ETHUSDTeth_ticker
Show Global Scannerbooltrueshow_scanner
Scanner PositionstringBOTTOM_LEFTscanner_position
Scanner Ticker 1symbolBINANCE:BTCUSDTscan_ticker_1
Ticker 1 LabelstringBTCscan_label_1
Showbooltrueshow_scan_1
Scanner Ticker 2symbolBINANCE:ETHUSDTscan_ticker_2
Ticker 2 LabelstringETHscan_label_2
Showbooltrueshow_scan_2
Scanner Ticker 3symbolBINANCE:SOLUSDTscan_ticker_3
Ticker 3 LabelstringSOLscan_label_3
Showbooltrueshow_scan_3
Scanner Ticker 4symbolBINANCE:BNBUSDTscan_ticker_4
Ticker 4 LabelstringBNBscan_label_4
Showbooltrueshow_scan_4
Scanner Ticker 5symbolCRYPTOCAP:TOTALscan_ticker_5
Ticker 5 LabelstringTOTALscan_label_5
Showbooltrueshow_scan_5
Scanner Ticker 6symbolCRYPTOCAP:TOTAL3scan_ticker_6
Ticker 6 LabelstringTOTAL3scan_label_6
Showbooltrueshow_scan_6
Enable Alt Season Detectionbooltrueenable_alt_season_detection
Alt Cap MethodstringMANUALalt_calc_method
Manual Alt Cap TickersymbolCRYPTOCAP:TOTAL3manual_alt_ticker
USDT Market CapsymbolCRYPTOCAP:USDTusdt_ticker
USDC Market CapsymbolCRYPTOCAP:USDCusdc_ticker
DAI Market CapsymbolCRYPTOCAP:DAIdai_ticker
Major Ticker Slot (for Alt Season)int1major_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.

Similar Pine Scripts

257 stars

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

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of SPX Midnight Box + Snag Logic
218 stars

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

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · None stated GitHub repository of TradersPost Trading Checklist
92 stars

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

Indicator v5 Volatility & bandsTrend
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Regime & Trap

EMA Ribbon Overlay

by iamrichardD
57 stars

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

Indicator v6 TrendMoving averages
Updated 1 year ago · Apache-2.0 GitHub repository of EMA Ribbon Overlay
53 stars

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

Indicator v6 TrendSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Apex Trend & Liquidity Master

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers