Indicator · Pine Script v5 · On the chart

QUANT-OMEGA Adaptive Regime and Ensemble Signal

by princeleuel-code

An indicator that classifies the market as trending, ranging or breakout using ADX and ATR ratios, then blends three signal families into one confidence score from 0 to 100.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code479
Settings23inputs
LicenceNone stated
Last update5 months ago6 May 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

The families are EMA trend following, Bollinger and RSI mean reversion, and Donchian with Keltner squeeze breakout. Score thresholds separate no-trade, watch and entry levels. It shows a regime label, a confidence meter, optional no-trade shading and entry markers on the price chart. A non-repainting mode uses the prior bar's values.

Details

Published by

princeleuel-code on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, Mean reversion, Breakout, Volatility & bands

Markets

Any symbol

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
Non-Repainting Modebooltruei_nonRepaint
Show Debug Panelboolfalsei_showDebug
Enable Alertsbooltruei_alertsOn
ADX Periodint14i_adxPeriod
ADX Trend Thresholdint25i_adxThreshold
ATR Periodint14i_atrPeriod
ATR Slow Periodint50i_atrSlowPeriod
EMA Fastint8i_emaFast
EMA Slowint21i_emaSlow
EMA Trendint50i_emaTrend
Bollinger Periodint20i_bbPeriod
Bollinger StdDevfloat2.0i_bbStd
Show all 23 settings
SettingTypeDefaultVariable
RSI Periodint14i_rsiPeriod
Donchian Periodint20i_donchianPeriod
Keltner Multiplierfloat1.5i_squeezeKcMult
No Trade Thresholdint30i_confNoTrade
Watch Only Thresholdint50i_confWatch
Small Entry Thresholdint70i_confSmall
Strong Entry Thresholdint85i_confStrong
Show Regime Labelbooltruei_showRegimeLabel
Show Confidence Meterbooltruei_showConfMeter
Show No-Trade Zone Shadingbooltruei_showNoTradeZone
Entry Marker Sizestringnormali_entryMarkerSize
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

114 stars

This indicator adapts Michael Chalek's Dual Thrust trading concept to plot breakout levels and overlay bands directly on the price chart. It calculates lookback ranges based on historical price action and provides two algorithmic variations along with multiple

Indicator v4 TrendBreakout Repaints
Updated 1 year ago · None stated GitHub repository of Dual Thrust Trading Algorithm

Peak Reversal v3

by Zettt
43 stars

Peak Reversal v3 identifies potential mean-reversion points by plotting configurable Keltner Channels alongside a squeeze detector directly on the price chart. It detects momentum extremes when candles cross or trade completely outside the inner or outer chann

Indicator v6 Mean reversionVolatility & bands
Updated 1 year ago · None stated GitHub repository of Peak Reversal v3

The Market Tradability Engine calculates multi-factor tradability, balance, compression, and direction scores to evaluate market regime quality. It classifies market conditions into eight distinct states, including Balance, Compression, Ready, Breakout, Trend,

Indicator v6 TrendVolatility & bands
Updated 2 days ago · MIT GitHub repository of Market Tradability Engine [WavesUnchained]

GainzAlgo V2 Alpha

by Bakomebandias
8 stars

This overlay indicator scores breakouts of recent highs and lows against failed-breakout checks, EMA trend alignment, RSI momentum, and an ATR volatility band. It plots green buy and red sell labels when conditions pass a minimum score, and it prints ATR-based

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of GainzAlgo V2 Alpha
6 stars

This indicator classifies price action into four distinct market regimes: Trend, Expansion, Compression, or Mean Reversion. It determines states using a simplified Hurst exponent estimate, ADX slope thresholds, and realized volatility measurements. Based on th

Indicator v6 TrendVolatility & bands
Updated 8 weeks ago · MIT GitHub repository of Capital41 Regime Matrix v3

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