OPEN-SOURCE SCRIPT
Obsidian Regime Ribbon [JOAT]

Obsidian Regime Ribbon [JOAT]
Introduction
Obsidian Regime Ribbon is an open-source trend-state and execution-context overlay built to classify directional conditions before a trader applies any separate entry model. Instead of using a single moving average or one oscillator threshold, it combines an adaptive range filter, efficiency ratio, ADX strength, choppiness, momentum confirmation, higher-timeframe bias, and EMA alignment into one chart layer.
The problem this script solves is regime confusion. Traders often apply trend-continuation logic in compression or try fading price while directional participation is still strong. Obsidian Regime Ribbon provides a structured state model with a filtered regime line, layered expansion bands, reclaim signals, stretch tags, execution rails, and a compact dashboard so the user can read whether price is trending cleanly, overextending, or losing sponsorship.
Core Concepts
1. Adaptive Range Filter
The central filter line is not a static moving average. It uses ATR distance and an efficiency-ratio-driven multiplier so the filter widens during noisy conditions and tightens when price movement becomes more directional.
2. Multi-Factor Regime Gate
ADX checks directional strength, choppiness checks compression, momentum confirms directional pressure, higher-timeframe EMA bias provides external context, and EMA spread measures local alignment. These conditions feed a scorecard so the user can separate weak drift from stronger directional structure.
3. Expansion And Reclaim Framework
Four ATR-derived bands are projected above and below the regime filter. Confirmed regime shifts create labeled accumulation or distribution windows. Pullback reclaim signals print only after price revisits the regime line and closes back through it on a confirmed bar.
4. Execution Rails
Confirmed shifts and reclaim events create forward execution rails and zones directly on the chart. In bullish conditions they behave as demand rails, and in bearish conditions they behave as supply rails.
Features
Input Parameters
Engine:
Filters And Display:
How to Use This Indicator
Step 1: Read the current regime from the dashboard and candle state first.
Step 2: Use the conviction score to decide whether the trend is fully structured or transitional.
Step 3: Watch regime shift labels to identify when directional control changes.
Step 4: Use reclaim diamonds and execution rails as retracement reference instead of chasing outer-band extensions.
Step 5: Treat stretch tags as caution zones where reward-to-risk may deteriorate.
Indicator Limitations
Originality Statement
Obsidian Regime Ribbon is original in the way it combines an adaptive range-state engine, multi-factor regime gate, expansion-band framework, reclaim signals, and forward execution rails into one integrated context overlay. The purpose is not to merge unrelated tools, but to build a single decision layer that explains trend state, extension, and pullback quality together.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Regime, reclaim, and stretch conditions are derived from historical price behavior and do not guarantee future outcomes. Always use independent analysis and risk management.
-Made with passion by jackofalltrades
Introduction
Obsidian Regime Ribbon is an open-source trend-state and execution-context overlay built to classify directional conditions before a trader applies any separate entry model. Instead of using a single moving average or one oscillator threshold, it combines an adaptive range filter, efficiency ratio, ADX strength, choppiness, momentum confirmation, higher-timeframe bias, and EMA alignment into one chart layer.
The problem this script solves is regime confusion. Traders often apply trend-continuation logic in compression or try fading price while directional participation is still strong. Obsidian Regime Ribbon provides a structured state model with a filtered regime line, layered expansion bands, reclaim signals, stretch tags, execution rails, and a compact dashboard so the user can read whether price is trending cleanly, overextending, or losing sponsorship.
Core Concepts
1. Adaptive Range Filter
The central filter line is not a static moving average. It uses ATR distance and an efficiency-ratio-driven multiplier so the filter widens during noisy conditions and tightens when price movement becomes more directional.
2. Multi-Factor Regime Gate
ADX checks directional strength, choppiness checks compression, momentum confirms directional pressure, higher-timeframe EMA bias provides external context, and EMA spread measures local alignment. These conditions feed a scorecard so the user can separate weak drift from stronger directional structure.
3. Expansion And Reclaim Framework
Four ATR-derived bands are projected above and below the regime filter. Confirmed regime shifts create labeled accumulation or distribution windows. Pullback reclaim signals print only after price revisits the regime line and closes back through it on a confirmed bar.
4. Execution Rails
Confirmed shifts and reclaim events create forward execution rails and zones directly on the chart. In bullish conditions they behave as demand rails, and in bearish conditions they behave as supply rails.
Features
- Adaptive regime filter: ATR-based directional filter with efficiency-ratio adaptation
- Layered regime bands: Four expansion bands above and below the filter
- EMA structure cloud: Fast and slow structure means with directional fill
- Confirmed regime shift labels: Bullish and bearish shifts print only after confirmation
- Reclaim signals: Diamond markers when price reclaims the regime line
- Execution rails: Demand and supply rails with right-edge price labels
- Stretch tags: Labels when price reaches extreme premium or discount relative to the filter
- Expansion markers: Additional markers when price pushes through secondary band thresholds
- State-based candle coloring: Candle tint changes with regime and score strength
- Dashboard: State, conviction, age, ER, ADX, chop, stretch, HTF alignment, and shift counts
- Confirmed-bar logic: Regime changes and reclaim signals are designed for confirmed bars only
Input Parameters
Engine:
- Range Length and Range Multiplier control the core filter sensitivity
- Efficiency Length controls how quickly adaptation reacts to directional efficiency
- Base Confirm Bars controls how many bars are required before a regime shift is locked
- Stretch Threshold defines when a move is considered overextended in ATR terms
Filters And Display:
- ADX, choppiness, momentum, and higher-timeframe controls define the regime gate
- Regime band, filter line, candle color, dashboard, execution zone, and stretch tag toggles
How to Use This Indicator
Step 1: Read the current regime from the dashboard and candle state first.
Step 2: Use the conviction score to decide whether the trend is fully structured or transitional.
Step 3: Watch regime shift labels to identify when directional control changes.
Step 4: Use reclaim diamonds and execution rails as retracement reference instead of chasing outer-band extensions.
Step 5: Treat stretch tags as caution zones where reward-to-risk may deteriorate.
Indicator Limitations
- Adaptive filters can still lag the first bar of a sharp reversal because confirmation is intentionally delayed
- Higher-timeframe alignment can temporarily disagree with local price rotation during early reversals
- Stretch conditions do not guarantee reversal; they only identify extended distance from the filter
- This script is a context overlay, not a complete trading system by itself
Originality Statement
Obsidian Regime Ribbon is original in the way it combines an adaptive range-state engine, multi-factor regime gate, expansion-band framework, reclaim signals, and forward execution rails into one integrated context overlay. The purpose is not to merge unrelated tools, but to build a single decision layer that explains trend state, extension, and pullback quality together.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Regime, reclaim, and stretch conditions are derived from historical price behavior and do not guarantee future outcomes. Always use independent analysis and risk management.
-Made with passion by jackofalltrades
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.