OPEN-SOURCE SCRIPT

Parallax Regime Corridor [JOAT]

981
Parallax Regime Corridor [JOAT]

Introduction

Parallax Regime Corridor is an open-source regime and corridor engine that blends trend efficiency, volatility state, structure change, and transition quality. It visualizes the active regime as a dynamic corridor and marks confirmed regime shifts or CHoCH-style structure changes.

snapshot

Core Concepts

1. Adaptive Corridor

The corridor is built from an adaptive mean and ATR-based width. The band expands when volatility increases and contracts in quieter conditions.

2. Regime Candidate

Price location, trend slope, and directional evidence determine whether the candidate regime is bullish, bearish, or neutral.

3. Structure Change

Confirmed swing highs and lows are used to detect delayed bullish and bearish changes of character.

4. Transition Quality

The indicator scores whether volatility, trend, and structure agree before highlighting a shift.

5. Dashboard Context

The dashboard summarizes current regime, quality, volatility, structure, and recent shift state.

Features

  • Dynamic regime corridor: Adaptive mean and ATR width
  • Bullish, bearish, and neutral regimes: Clear state output
  • Confirmed CHoCH events: Uses pivot-confirmed structure references
  • Transition quality score: Combines regime and structure conditions
  • Candlestick coloring: Candles can reflect the active state
  • Top-right dashboard: Compact summary of state and quality


Input Parameters

  • Basis length controls the adaptive mean
  • ATR length and multiplier control corridor width
  • Pivot length controls structure sensitivity
  • Minimum score controls shift selectivity


How to Use This Indicator

Step 1: Read the corridor color

The corridor color identifies whether the script sees bullish, bearish, or neutral control.

Step 2: Watch shift events

Shift events show where the regime candidate changed on a confirmed bar.

Step 3: Treat CHoCH as delayed structure context

CHoCH events rely on pivot confirmation and should be interpreted as confirmed historical structure, not instant prediction.

Indicator Limitations

  • Pivot-based structure is delayed by the pivot length
  • Regime transitions can occur late during fast reversals
  • The corridor is a context layer, not a standalone trading system


Originality Statement

Parallax Regime Corridor combines adaptive corridor visualization, structure-change logic, volatility context, and transition scoring. It is designed to show how regime context evolves rather than simply plot a trendline.

Disclaimer

This indicator is provided for educational and informational purposes only. It is not financial advice. Regime classifications can be wrong or late in unusual market conditions.

-Made with passion by jackofalltrades

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.