Veyra Delta Lens [JOAT]Veyra Delta Lens
Introduction
Veyra Delta Lens estimates delta pressure from OHLCV data and converts it into auction pressure, CVD z-score, participation entropy, absorption, and pressure-shift events.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Signed Volume Pressure
Candle close location and body impact estimate directional volume pressure.
2. CVD Normalization
Cumulative pressure is normalized so current pressure can be compared with recent history.
3. Participation Entropy
Volume concentration and close location distinguish balanced absorption from directional release.
4. Pressure Envelope
An auction mean and delta rails display pressure on the price chart.
delta = signedVolume * 0.65 + impactVolume * 0.35
Features
Estimated signed volume pressure
CVD z-score and impulse scoring
Absorption and divergence context
Auction mean and pressure rails
Sparse VX+ and VX- labels
Input Parameters
Delta smoothing and impulse memory
CVD normalization window
Participation entropy window
Event score and cooldown
Rails, trace, and candle toggles
How to Use This Script
Use VX+ and VX- labels as confirmed pressure shifts. Gold circles show absorption or divergence conditions aligned with the current regime.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Veyra is original in combining estimated delta, CVD normalization, entropy, auction rails, absorption, and divergence in one restrained overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
インジケーター

Orion Regression Field [JOAT]Orion Regression Field
Introduction
Orion Regression Field builds a weighted regression valuation field with standard error bands, curvature options, compression detection, and reprice signals.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Weighted Regression
Recent bars can receive more influence while still preserving a full model window.
2. Standard Error Bands
Inner and outer bands show statistical distance from the modeled path.
3. Curvature and Confidence
Optional curvature and R2-style confidence control when the field is considered reliable.
4. Pinch and Reprice
Compression and outer-band reactions create filtered reprice events.
mid = weightedRegression(close, len); band = standardError * multiplier
Features
Weighted regression midline
Inner and outer SEE bands
Optional curvature
Pinch shading and projection field
Filtered reprice labels
Input Parameters
Regression window and projection bars
Curvature toggle and weight floor
Minimum R2 confidence
Inner and outer band multipliers
Pinch ratio and cooldown
How to Use This Script
Use the field as statistical fair-value context. Outer band interaction means stretch, not automatic reversal.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Orion is original in combining weighted regression, curvature, standard error fields, compression context, and filtered reprice logic.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
インジケーター

Nexus Kinetic Reactor [JOAT]Nexus Kinetic Reactor
Introduction
Nexus Kinetic Reactor estimates price as a noisy state process. It tracks state, velocity, uncertainty, confidence, and optional projection cones.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Recursive State Estimate
A smoothing lambda updates the estimated price state bar by bar.
2. Velocity Regime
Changes in the state estimate create velocity and acceleration-style context.
3. Uncertainty Bands
Noise windows and sigma bands show how uncertain the current estimate is.
4. Confidence Gate
Signals require tracking confidence and expectancy thresholds before labels appear.
state := state + lambdaAdjustment * (price - state)
Features
Recursive price-state estimator
Velocity and acceleration regime logic
Uncertainty bands
Projection cone
Blocked signal markers and dashboard
Input Parameters
Smoothing lambda and noise window
ATR length and velocity threshold
Minimum confidence and expectancy
Band sigma and projection bars
Cone, candle, and panel toggles
How to Use This Script
Use the state estimate and uncertainty bands as kinetic context. Labels only appear when the model clears confidence and expectancy gates.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Nexus is original in combining state estimation, velocity gating, uncertainty bands, expectancy filtering, and projection visualization.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
インジケーター

Helios Pullback Framework [JOAT]Helios Pullback Framework
Introduction
Helios Pullback Framework evaluates pullback quality using ALMA trend stack, regression trajectory, pullback depth, wick recovery, liquidity capture, compression, and HTF bias.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. ALMA Trend Stack
Fast and slow ALMA lines define execution and institutional spines.
2. Regression Trajectory
A regression envelope provides dynamic path context rather than static zones.
3. Pullback Quality
Pullback depth, wick recovery, phase impulse, and stretch are scored.
4. Liquidity Capture
Confirmed sweeps of recent highs or lows contribute only when aligned with bias.
score = bias + pullDepth + wickRecovery + sweep + compression + htf
Features
ALMA trend stack
Regression trajectory envelope
Pullback depth and wick recovery scoring
Liquidity capture markers
Sparse P+ and P- labels
Input Parameters
ALMA lengths
Volatility and trajectory length
HTF and optional session gate
Signal score, cooldown, and max stretch
Display toggles
How to Use This Script
Use P+ and P- labels as pullback-quality events inside an existing bias. Gold circles mark liquidity capture without full confirmation.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Helios is original in replacing supply/demand boxes with a cleaner model that scores pullback elasticity, trajectory, and liquidity capture.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
インジケーター

Echelon Trend Filter [JOAT]Echelon Trend Filter
Introduction
Echelon Trend Filter is a recursive digital trend filter that creates a clean trend spine, optional step-state transitions, EMA context, and pivot zones.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Recursive Filter
The source is smoothed recursively to reduce minor bar noise.
2. Step-State Transitions
Optional step mode holds the trend state until a meaningful transition occurs.
3. EMA Context
A long EMA gives broader context for the filtered state.
4. Pivot Context Zones
Recent pivots create reference zones around prior turning areas.
state = step > step ? 1 : step < step ? -1 : state
Features
Digital trend spine
Optional step-state behavior
EMA cloud context
Pivot context zones
Confirmed transition alerts
Input Parameters
Filter length and source
Step mode toggle
Institutional EMA length
Pivot length and zone width
Cloud, candle, and panel toggles
How to Use This Script
Use the spine as trend context. Long and short transition labels mark confirmed state changes, while the EMA cloud helps judge broader alignment.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Echelon is original in combining recursive smoothing, held state transitions, EMA context, and pivot zones into a minimal trend overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
インジケーター

Concordance Execution Model [JOAT]Concordance Execution Model
Introduction
Concordance Execution Model is a strategy framework that integrates regime detection, trend bias, structure direction, pressure, relative volume, regression confidence, and ATR risk management.
This open-source strategy is a research framework, not a performance claim. It demonstrates how rule-based confluence, realistic costs, risk controls, and confirmed-bar execution can be organized in Pine Script v6.
Core Concepts
1. Regime Filter
ALMA, EMA, structure, and regression confidence determine whether long or short entries are allowed.
2. Multi-Factor Entry Gate
Entries require confirmed structure or pullback context plus pressure, RVOL, and cooldown alignment.
3. ATR Risk Model
Stops, targets, trailing stops, structure invalidation, and time stops manage exits.
4. Confirmed-Bar Execution
Entry conditions are evaluated with confirmed bars to reduce repainting behavior.
longEntry = confirmed and regimeBull and pressureBull and rvolOk and cooled
Features
Regime, structure, pressure, and regression filters
ATR stop and target exits
Optional trailing stop
Structure invalidation and time stop exits
Dashboard and candle regime colors
Input Parameters
Structure pivot length and HTF bias
ALMA and regression confidence settings
Delta pressure, RVOL, and cooldown
ATR stop, target, trailing, and time stop
Panel and candle display toggles
Strategy Properties
Initial capital: 100000
Position sizing: 10 percent of equity
Pyramiding: 0
Commission: 0.02 percent
Slippage: 2 ticks
Stops and targets: ATR-based, with optional trailing stop
How to Use This Script
Use this as a transparent research framework. Test on multiple markets and review trade samples rather than relying on a single backtest.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Concordance is original in combining several independent model families into a realistic, non-pyramiding execution framework with explicit risk exits.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
ストラテジー

Caelum Bias Ribbon [JOAT]Caelum Bias Ribbon
Introduction
Caelum Bias Ribbon is a multi-timeframe ALMA consensus ribbon. It evaluates whether 15m, 1H, 4H, 1D, and 1W horizons are aligned, mixed, or overheated.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. ALMA Deviation States
Each timeframe creates an ALMA center and deviation threshold to classify bullish, bearish, or neutral state.
2. Consensus Voting
The script counts aligned timeframes to identify broad directional agreement.
3. Overheat Tracking
Directional runs are counted so stretched multi-timeframe conditions can be marked without predicting reversal.
4. Ribbon Visualization
Colored ALMA ribbons and fills show agreement without heavy labels.
consensus = bullCount >= gate ? 1 : bearCount >= gate ? -1 : 0
Features
Five-timeframe ALMA ribbon
Consensus and mixed-state detection
Overheat markers
Consensus candle coloring
Compact dashboard
Input Parameters
Deviation factor
ALMA length, offset, and sigma
Deviation length
Overheat run threshold
Display toggles
How to Use This Script
Use Caelum as a directional filter. Strong agreement supports trend-following context; mixed readings warn that timeframes are not aligned.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Caelum is original in combining ALMA deviation states, multi-horizon voting, run-length overheat logic, and a clean ribbon display.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
インジケーター

Aurelian Structure Engine [JOAT]Aurelian Structure Engine
Introduction
Aurelian Structure Engine is a market structure and execution-context model that combines confirmed pivots, break events, HTF bias, anchored value, relative volume, and pressure scoring. It is built to separate meaningful structural breaks from ordinary candle noise.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Confirmed Swing Structure
Swing highs and lows are confirmed with pivot logic before the script evaluates breaks. ATR buffering helps prevent small wick violations from becoming structure events.
2. Bid and Offer Block Geometry
Recent opposing candles can become bid or offer blocks only when their vertical placement makes structural sense. Invalidated or overlapping blocks are removed.
3. Anchored Value Context
An EMA and yearly anchored VWAP stack define whether price is operating above or below value.
4. Tiered Quality Score
Pressure, RVOL, HTF bias, structure, and proximity are converted into B, A, and A+ style states.
bullScore = structure + pressure + rvol + htfBias + valueContext
Features
Confirmed BOS and CHoCH-style structure tracking
Bid and offer blocks with invalidation logic
EMA/VWAP value spine and structure bands
Volume pressure and RVOL scoring
A/B/A+ state labels and compact dashboard
Input Parameters
Swing pivot length and ATR buffer
Block search and extension controls
HTF bias timeframe
Pressure, RVOL, cooldown, and A+ score gates
Display toggles for bands, blocks, candles, and panel
How to Use This Script
Read the structure side first, then check whether pressure, RVOL, and HTF bias confirm the break. A+ labels require stronger agreement than A or B labels.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Aurelian is original in combining guarded bid/offer block geometry, confirmed structure, anchored value, and multi-factor signal quality into one restrained overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
インジケーター

インジケーター

Vesper Candle Index [JOAT]Vesper Candle Index
Introduction
Vesper Candle Index is an open-source candlestick classification engine. Instead of marking every common candle pattern equally, it scores candle patterns using body quality, wick structure, trend location, volatility, and nearby structure context.
The indicator is designed to reduce pattern noise by ranking candle events and displaying only those that meet a configurable quality threshold.
Core Concepts
1. Candle Pattern Library
The script evaluates multiple candlestick states, including engulfing candles, hammers, stars, harami, inside breaks, marubozu, tweezers, rail patterns, and reclaim/reject conditions.
2. Quality Scoring
Each candidate pattern receives a score based on candle body, wick placement, trend context, volatility, and structure alignment.
3. Structure Context
Confirmed pivot levels are used to detect CHoCH-style breaks and candle reactions near recent structure.
4. Trade Projection Labels
When a candle state qualifies, the script can display compact educational entry, stop, TP1, and TP2 information.
5. Dashboard
The dashboard shows the current candle state, quality bucket, trend, structure, and recent signal context.
Features
Ranked candle states: Patterns are scored rather than treated equally
Structure-aware candles: Uses pivots and CHoCH context
Volatility-adjusted logic: ATR helps normalize wick and body requirements
Cooldown control: Reduces repeated pattern labels
Compact dashboard: Summarizes the highest-ranked current candle state
Confirmed patterns: Pattern events use confirmed bars
Input Parameters
Pattern sensitivity controls the quality threshold
Pivot length controls structure confirmation
ATR settings control wick/body normalization
Rail projection settings control optional visual projection length
How to Use This Indicator
Step 1: Focus on high-quality states
Use the quality score to separate strong candle states from weaker pattern appearances.
Step 2: Check structure alignment
Candle events near relevant structure are often more meaningful than isolated patterns.
Step 3: Avoid treating patterns as certainty
Candlestick patterns describe current bar behavior. They do not predict continuation or reversal.
Indicator Limitations
Candle patterns can fail in strong trend or news conditions
Pivot-based structure is delayed by the selected pivot length
The script classifies candles; it does not forecast future direction
Originality Statement
Vesper Candle Index adds scoring, structure context, volatility normalization, cooldown behavior, and a dashboard to candlestick analysis. Its value is in ranking candle quality rather than simply labeling every pattern.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Candlestick patterns can be misleading when used alone.
-Made with passion by jackofalltrades
インジケーター

Tessera Execution Vault [JOAT]Tessera Execution Vault
Introduction
Tessera Execution Vault is an open-source confluence and execution-context indicator. It combines trend, volatility, pressure, VWAP location, structure sweeps, rejection behavior, and a compact transition model into a single score-based framework.
The script is intended to organize market context and display educational trade projections when confluence is high. It should not be treated as a certain signal system.
Core Concepts
1. Confluence Scoring
Long and short scores are built from independent evidence such as trend, VWAP, momentum, volume, pressure, CVD proxy, sweep events, and transition persistence.
2. Auction Pressure
The script estimates bid/offer pressure from candle structure and volume. It then plots a pressure trace near VWAP.
3. Sweep Memory Zones
When liquidity sweeps, expansion breaks, or auction reclaim conditions occur, the script stores short-lived memory zones.
4. VWAP Deviation Field
VWAP bands show where price is trading relative to the current auction center.
5. Educational Projection
When a setup qualifies, the script can draw entry, stop, and target levels based on ATR.
Features
Score-based long and short context: Multiple independent factors contribute to each side
VWAP auction bands: Upper and lower deviation fields
Pressure and score traces: Visualizes pressure and confluence around VWAP
Sweep memory zones: Labels discount, premium, liquidity reclaim, and liquidity reject areas
Confirmed-bar signals: Optional closed-bar signal gating
Dashboard: Displays bias, scores, ATR, volume, pressure, CVD proxy, and auction state
Input Parameters
Operating Preset changes sensitivity for scalping, intraday, swing, low-noise, or showcase modes
Core lengths control EMA, RSI, volume baseline, and sweep window
Risk settings control ATR stop and target projections
Auction settings control pressure and VWAP deviation calculations
How to Use This Indicator
Step 1: Read the dashboard bias
The bias and score rows show which side currently has stronger confluence.
Step 2: Watch memory zones
Memory zones highlight recent sweep or auction-location events that may remain relevant.
Step 3: Treat projections as educational
ATR projections show a possible risk framework. They are not recommendations.
Indicator Limitations
Pressure and CVD are candle-derived approximations
Confluence does not ensure continuation
ATR projections can be too wide or narrow during sudden volatility changes
Originality Statement
Tessera Execution Vault combines confluence scoring, VWAP auction context, pressure traces, transition persistence, and labelled memory zones in one open-source script. Its purpose is to explain why one side has more contextual evidence than the other.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to trade. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
インジケーター

Sidereal Session Lattice [JOAT]Sidereal Session Lattice
Introduction
Sidereal Session Lattice is an open-source intraday session-orbit indicator. It maps session phase, VWAP drift, volatility harmonics, entropy, and anomaly pressure into adaptive orbit bands and compact phase cells.
The indicator is designed to answer a session-context question: is price moving with the current session phase, stretching beyond its orbit, or compressing into balance?
Core Concepts
1. Session Phase
Each active session is counted bar by bar. The bar count is converted into a normalized phase value from 0 to 1.
2. Harmonic Orbit
The phase value is transformed with sine waves to create an intraday harmonic component. This does not predict price; it creates a reference curve for studying session rhythm.
3. VWAP Drift
The script tracks the distance between price and session VWAP, then normalizes the drift by ATR.
4. Entropy and Anomaly Rank
The script compares recent up/down candle energy and return magnitude to estimate balance and anomaly pressure.
5. Phase Cells
Compact cells mark upper-orbit events, lower-orbit events, and balance compression.
Features
Session phase model: Tracks where the market is inside the active session cycle
VWAP drift: Measures price displacement from session VWAP
Harmonic orbit bands: Adaptive bands based on phase, volatility, and drift
Entropy score: Measures up/down energy balance
Anomaly rank: Highlights unusual movement relative to recent behavior
Phase cells: Compact boxes show session-orbit events
Dashboard: Shows phase, lattice score, drift, entropy, anomaly, and current state
Input Parameters
Primary session defines the active session window
Cycle bars controls the phase cycle length
Drift smoothing controls VWAP drift smoothing
Entropy memory controls bid/ask balance memory
Anomaly memory controls return-rank comparison
How to Use This Indicator
Step 1: Read the phase state
The dashboard names the current session phase, such as open drive, balance, or close risk.
Step 2: Watch orbit events
Upper and lower orbit cells mark when price stretches beyond the adaptive session orbit.
Step 3: Use entropy for balance context
High entropy with low anomaly often indicates balanced conditions.
Indicator Limitations
The harmonic orbit is a reference model, not a forecast
Session behavior varies by symbol and exchange hours
Entropy and anomaly values are derived from chart bars and may change with timeframe
Originality Statement
Sidereal Session Lattice combines session phase, VWAP drift, harmonic references, entropy, and anomaly ranking. It is not a standard session high/low tool; it provides a structured way to study intraday rhythm and displacement.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Session models can fail in news, gaps, and unusual liquidity conditions.
-Made with passion by jackofalltrades
インジケーター

Fractal Exhaustion Band [QuantAlgo]🟢 Overview
The Fractal Exhaustion Band is a trend-following indicator that replaces the fixed ATR multiplier common to most adaptive bands with the Fractal Dimension Index, scaling the buffer width in real time based on how efficiently price is consuming its recent range. Additionally, an extremum tracker accumulates swing highs and lows since the last confirmed flip to form an outer Band Edge, giving traders a structured range to position within the trend, identify exhaustion near its boundaries, and treat extensions beyond the edge as potential deviation signals ahead of a directional flip across any instrument or timeframe.
🟢 How It Works
The core methodology is built around three sequential stages: a fractal dimension calculation that quantifies the structural quality of recent price movement, a dynamic buffer derived from that measurement, and a ratcheting trend line that advances only when market conditions justify it.
First, the Fractal Dimension Index (FDI) is calculated by comparing the total path length price has travelled over the lookback window against the straight-line distance between its highest and lowest point. A value near 1 indicates clean, efficient trending. A value near 2 indicates erratic, space-filling movement. The ratio is log-normalised by the window size to keep it comparable across different FDI Period settings:
fdi = high_ - low_ > 0 ? (math.log(len) - math.log(high_ - low_)) / math.log(power) : 0
Next, the FDI is fed directly into the buffer calculation as a scaling factor on top of the Band Width Multiplier and a 10-period ATR. This means the buffer is never fixed; it inflates when price behaviour is erratic and compresses when price is trending with conviction:
dynamic_mult = sensitivity * (1 + fdi)
buffer = atr * dynamic_mult
The trend line then ratchets in the direction of the current trend, but only on bars where the FDI is below 1.5. This gate prevents the line from being dragged by price during high-fractal-dimension conditions, even if price has not yet breached the buffer threshold. A trend flip is only registered when price closes beyond the buffer on the opposite side:
if fdi < 1.5
trend_line := math.max(trend_line, close - buffer)
Finally, an extremum tracker accumulates the running high or low since the last confirmed flip, forming the outer Band Edge. A midline is derived as the average between this extremum and the trend line, creating a three-layer structure that encodes both the structural anchor of recent price extremes and the adaptive trend line beneath it:
ex := trend_dir != trend_dir ? (trend_dir == 1 ? high : low)
: trend_dir == 1 ? math.max(nz(ex , high), high)
: math.min(nz(ex , low), low)
mid = math.avg(ex, trend_line)
🟢 Signal Interpretation
▶ Bullish Trend (Band Rising with Bullish Colour): When price moves upward with sufficient efficiency to produce a low FDI reading and close above the trend line's buffer threshold, the trend direction flips to bullish and the entire band shifts to the bullish colour. From that point, the Fractal Line ratchets upward on each bar where the FDI remains below 1.5, while the extremum tracker accumulates successive highs to form the outer Band Edge above. The flat segments visible in the band reflect bars where the FDI gate suppressed movement, while upward steps reflect bars where trending conditions were confirmed.
Within the bullish band, the Fractal Line and Band Edge define a structured trading range. Price oscillating between the two represents normal trend continuation behaviour, and pullbacks toward the Fractal Line can be treated as higher-probability long entries with the trend, using the Fractal Line itself as the logical invalidation level. The Band Mid serves as a directional gauge within that range; price holding above it reflects stronger momentum, while price drifting below it signals weakening conviction worth monitoring. When price pushes into the Band Edge zone and begins interacting with the accumulated swing highs, treat that as an exhaustion area rather than a continuation signal. Longs initiated near the Band Edge carry elevated risk of a short-term mean reversion back toward the Fractal Line. If price then extends meaningfully beyond the Band Edge, treat the extension as a deviation from the established structure. A deviation of this kind, particularly when accompanied by a rising FDI indicating deteriorating trend quality, is a preparatory signal to begin tightening long exposure and watching for the Fractal Line to be breached on the downside, which would confirm the bias flip to bearish.
▶ Bearish Trend (Band Declining with Bearish Colour): When price moves downward with sufficient efficiency to produce a low FDI reading and close below the trend line's buffer threshold, the trend direction flips to bearish and the band shifts to the bearish colour. The Fractal Line ratchets lower on each bar where the FDI gate permits, while the extremum tracker accumulates successive lows to form the outer Band Edge below. As with the bullish state, the filter holds its last value on bars where fractal dimension is elevated, and the direction state remains unchanged on those bars.
Within the bearish band, the same structural logic applies in reverse. Price oscillating between the Fractal Line above and the Band Edge below represents normal bearish continuation, and bounces toward the Fractal Line can be treated as higher-probability short entries with the trend, using the Fractal Line as the invalidation level. The Band Mid again acts as a momentum gauge; price holding below it indicates sustained selling pressure, while recovery above it suggests the downtrend is losing conviction. When price pushes into the Band Edge zone and interacts with the accumulated swing lows, treat that region as exhaustion rather than confirmation of further downside. Shorts initiated near the Band Edge carry elevated mean-reversion risk back toward the Fractal Line. If price extends beyond the Band Edge to the downside, treat that extension as a structural deviation. A deviation paired with a rising FDI is a signal to begin reducing short exposure and watching for an upward breach of the Fractal Line, which would confirm the directional flip back to bullish.
🟢 Features
▶ Preconfigured Presets: Three parameter sets cover a range of trading styles and timeframes. "Default" delivers balanced noise filtering suited to swing trading on 4-hour and daily charts. "Fast Response" tightens the buffer and shortens the fractal measurement window for intraday and scalping use on 1-minute to 1-hour charts, producing earlier trend flips in response to smaller directional moves. "Smooth Trend" widens the buffer and extends the measurement window for position trading on daily and weekly charts, requiring a more sustained and efficient directional move before a trend flip is registered.
▶ Built-in Alerts: Three alert conditions support automated monitoring of trend transitions. Bullish Trend fires on the first bar where trend direction flips from bearish to bullish. Bearish Trend fires on the first bar where trend direction flips from bullish to bearish. Any Signal Change triggers on either transition for traders who want a single unified alert regardless of direction. All alerts include the exchange, ticker, and timeframe in the message for immediate context.
▶ Visual Customisation: Six colour presets (Classic, Aqua, Cosmic, Cyber, Neon, and Custom) provide coordinated bullish and bearish colour pairings suited to different chart themes and personal preferences. Selecting Custom exposes independent colour pickers for full manual control over both states. The three-layer band fill uses graduated transparency across the outer edge, midline, and trend line zones to clearly distinguish structural from adaptive components at a glance. Optional bar colouring tints price candles with the active trend colour using a configurable transparency level, and optional background colouring extends the trend state tint across the full chart pane at a separately configurable transparency.
インジケーター

Parallax Regime Corridor [JOAT]Parallax Regime Corridor
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.
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
インジケーター

Nyx Transition Corridor [JOAT]Nyx Transition Corridor
Introduction
Nyx Transition Corridor is an open-source probabilistic regime corridor. It estimates whether the current bullish, bearish, or neutral state has recently tended to persist, then draws adaptive volatility corridors around price. The indicator is built for context, probability, and controlled visualization rather than aggressive signal clutter.
Core Concepts
1. Regime State
The script classifies each bar as bullish, bearish, or neutral using EMA alignment, adaptive basis location, and return behavior.
2. Rolling Transition Model
Recent state transitions are counted to estimate continuation probability for the current state.
pBullBull = math.sum(fromBull * toBull, transitionLen) / math.sum(fromBull, transitionLen)
3. Adaptive Basis
The basis reacts faster when price movement is efficient and slower when the market is choppy.
4. Probability Corridor
ATR, volatility rank, and continuation probability determine the corridor width. Outer rails identify stretched conditions.
5. Compact Execution Rails
Optional small rails mark educational entry, stop, and targets when a probability reclaim or continuation event occurs.
Features
Three-state regime model: Bull, bear, and neutral states
Transition probability: Rolling persistence estimate for current state
Adaptive basis: Efficiency-weighted smoothing
Volatility-ranked corridor: Bands expand and contract with market stress
Confirmed HTF filter: Optional higher-timeframe EMA uses confirmed previous HTF data
Compact trade rails: Smaller educational rails to reduce chart obstruction
Dashboard: Shows probabilities, spread, efficiency, volatility rank, and HTF state
Input Parameters
Adaptive basis length controls centerline memory
Transition memory controls probability stability
Continuation threshold controls signal selectivity
Rail settings control optional educational projections
How to Use This Indicator
Step 1: Read the regime
The dashboard shows whether the model is bullish, bearish, or neutral.
Step 2: Compare probabilities
Large spreads between bull and bear odds indicate clearer directional context.
Step 3: Use the corridor
The corridor shows where price is trading relative to the adaptive probability field.
Indicator Limitations
Transition probabilities are historical estimates, not forecasts
Neutral markets can persist even when price briefly crosses the basis
The optional rails are visual projections and not trading advice
Originality Statement
Nyx Transition Corridor combines a state-transition model, efficiency-adjusted basis, volatility-ranked width, confirmed HTF filtering, and compact execution visuals. Its purpose is to map probabilistic state context, not to duplicate a standard moving-average band.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Probability estimates are based on historical state transitions and do not predict future behavior.
-Made with passion by jackofalltrades
インジケーター

Nocturne Auction Atlas [JOAT]Nocturne Auction Atlas
Introduction
Nocturne Auction Atlas is an open-source auction-mapping indicator that studies session VWAP, developing volume distribution, value areas, imbalance shelves, estimated CVD, divergence, and auction quality. It is designed to show where price is accepting value, rejecting value, or interacting with unfinished auction references.
Core Concepts
1. Session Auction Framework
The script resets during a new session and tracks session high, low, VWAP, and developing volume distribution.
2. Developing Volume Profile
Price is divided into rows. Each row accumulates estimated volume to identify the point of control, value area high, and value area low.
3. Estimated CVD
CVD is estimated from candle body position, close location, and volume. This is not exchange-level bid/ask data, but it provides a consistent pressure proxy.
4. Divergence Detection
Pivot-confirmed price swings are compared against estimated CVD swings to identify bullish or bearish divergence.
5. Imbalance Shelves
Rows with strong buy or sell imbalance are marked as auction shelves. These shelves can help identify areas where pressure was concentrated.
Features
Session VWAP and bands: Tracks intraday auction center and deviations
Developing profile: Builds POC and value area from recent session data
Imbalance shelves: Highlights rows with strong bid or ask imbalance
Estimated CVD: Uses candle-derived volume pressure
Divergence logic: Pivot-confirmed CVD divergence events
Naked POC memory: Tracks unfinished prior auction references
Dashboard: Shows auction state, quality, delta, POC, value area, and shelf state
Input Parameters
Session Bars Used controls how many bars feed the profile
Profile Rows controls profile granularity
Value Area controls the percentage of volume included in value
Quality Gate controls signal sensitivity
Shelf Gate controls imbalance shelf detection
How to Use This Indicator
Step 1: Read auction location
Use VWAP, POC, VAH, and VAL to understand whether price is trading near value or outside value.
Step 2: Watch shelves
Imbalance shelves identify price rows where estimated pressure was concentrated.
Step 3: Interpret divergences carefully
Divergence requires confirmed pivots and is naturally delayed. It is context, not a prediction.
Indicator Limitations
Profile calculations are approximations based on chart bars
CVD is estimated from candles and volume, not true bid/ask transactions
Pivot divergence confirms after pivot bars have passed
High row counts and long sessions can increase script workload
Originality Statement
Nocturne Auction Atlas combines session VWAP, developing profile rows, imbalance shelves, estimated CVD, divergence, and unfinished auction references into one chart framework. The components are designed to explain auction state rather than simply plot volume levels.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Auction references can fail, and volume approximations can differ from real order-flow data.
-Made with passion by jackofalltrades
インジケーター

Kairo Pressure Reversal [JOAT]Kairo Pressure Reversal
Introduction
Kairo Pressure Reversal is an open-source pressure-tensor study that maps how candle structure, volume, volatility stress, entropy, and pressure curvature interact. It is not a conventional POC or value-area script. Its purpose is to identify pressure shocks, curvature reversions, and compression states as market-context events.
Core Concepts
1. Pressure Atom
Each candle is converted into a signed pressure value using close location, body direction, wick balance, and volume.
pressureAtom = (signedRange * 0.42 + bodyImpulse * 0.42 + wickBalance * 0.16) * volume
2. Pressure Tensor
The pressure atom is normalized by recent absolute pressure and smoothed. This produces the main pressure tensor used throughout the indicator.
3. Curvature and Jerk
The script calculates pressure velocity, curvature, and jerk. These values show how quickly pressure is changing rather than simply whether pressure is positive or negative.
4. Entropy
Bid and ask energy are converted into an entropy score. Higher entropy means pressure is more balanced. Lower entropy means one side is more dominant.
5. Stress Bands
ATR and pressure stress expand or contract the tensor bands. Events occur when price and pressure move into stressed areas with sufficient curvature.
Features
Pressure tensor: Normalized pressure model derived from candle structure and volume
Curvature analysis: Tracks pressure velocity, curvature, and jerk
Entropy score: Measures bid/ask balance
Volatility stress rank: Uses ATR and range ranking to identify stressed conditions
Shock cells: Compact boxes mark bid shocks, ask shocks, and reversion events
Tensor bands: Adaptive bands visualize pressure expansion and stress
Dashboard: Shows tensor, stress, entropy, curvature, jerk, and current event state
Input Parameters
Tensor memory controls pressure normalization
Entropy memory controls bid/ask energy balance
Stress rank memory controls volatility ranking
Shock gate controls event sensitivity
Reversion gate controls curvature reversion sensitivity
How to Use This Indicator
Step 1: Read the tensor direction
Positive tensor values indicate bid-side pressure; negative values indicate ask-side pressure.
Step 2: Watch stress and entropy
High stress with low entropy suggests one-sided pressure. High entropy suggests balance or compression.
Step 3: Treat cells as context
Shock and reversion cells mark pressure events. They are not standalone trade recommendations.
Indicator Limitations
Volume-based pressure is an approximation from chart candles, not true order flow
Curvature events can occur during volatility spikes that do not continue
The indicator provides context, not certain reversal points
Originality Statement
Kairo Pressure Reversal is original in its combined use of candle-derived pressure, entropy, curvature, jerk, volatility stress, and compact event cells. It focuses on pressure behavior rather than standard oscillator thresholds.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Pressure events can fail or persist longer than expected. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
インジケーター

Caldera Meridian Strategy [JOAT]Caldera Meridian Strategy
Introduction
Caldera Meridian Strategy is an open-source Pine Script v6 strategy that combines trend regime, pressure, structure, auction location, and transition probability into a single rules-based execution model. The strategy is designed to be transparent: each decision component is calculated directly inside the script, and entries are processed on confirmed bars.
This strategy is not intended to prove future profitability. It is a research framework for studying how multiple market-context filters interact with ATR-based risk and staged exits.
Core Concepts
1. Regime Filter
The strategy uses fast, mid, and slow EMAs to classify bullish, bearish, or neutral trend conditions. A confirmed higher-timeframe EMA can also be used as a directional filter.
trendBull = fast > mid and mid > slow and close > mid
trendBear = fast < mid and mid < slow and close < mid
2. Transition Probability
A simple rolling transition model estimates whether the current regime has recently persisted. This is used as a filter rather than a prediction.
3. Pressure and Auction Location
The strategy estimates bid/ask pressure from candle body position, range, and volume. It also tracks VWAP-style weighted price and value deviation bands to avoid entries in poor auction locations.
4. Structure Confirmation
Confirmed pivots are used to detect delayed structure breaks, sweeps, and displacement events. Pivot confirmation is non-repainting but naturally delayed.
5. ATR-Based Risk Management
Entries use ATR or structure-based stops. Exits are staged across TP1, TP2, and TP3 using configurable R multiples.
Features
Rules-based long and short logic: Combines trend, pressure, structure, auction, and probability filters
Confirmed-bar execution: Entry and risk-off logic uses closed-bar conditions
ATR and structure stops: Stops use volatility and recent structure references
Three staged exits: TP1, TP2, and TP3 use configurable R multiples and quantity percentages
Realistic default costs: Commission is set to 0.05% and slippage to 1 tick in the strategy declaration
Dashboard: Shows position state, scores, regime, continuation, pressure, auction, and risk-off status
Default Strategy Properties
Initial capital: 100,000
Commission: 0.05 percent
Slippage: 1 tick
Pyramiding: 0
Orders processed on close
How to Use This Strategy
Step 1: Use a clean chart
For publication and testing, use a standard chart type and avoid adding unrelated scripts to the chart.
Step 2: Review the dashboard
The dashboard explains why the strategy is flat, long, short, or in a risk-off state.
Step 3: Evaluate across markets
Do not judge a strategy from a small sample. Test across multiple symbols, timeframes, and market regimes.
Strategy Limitations
Backtest results do not imply future results
Pivot-based structure is confirmed only after the pivot length has passed
Costs and slippage may differ from live trading conditions
The model can underperform in choppy markets where filters repeatedly conflict
The strategy is a research framework and not a complete trading plan
Originality Statement
Caldera Meridian Strategy integrates multiple independent modules rather than relying on a single crossover or oscillator. Its usefulness comes from studying how regime, structure, pressure, auction location, and transition persistence interact before a trade is allowed.
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice. Trading involves risk of loss. Backtests are historical simulations and do not predict future performance. Always use proper risk management.
-Made with passion by jackofalltrades
ストラテジー

Vanta Delta Cartography [JOAT]Vanta Delta Cartography
Introduction
Vanta Delta Cartography is an open-source liquidity and auction-mapping indicator. It combines session VWAP bands, a developing volume profile, POC/value-area/VWMP references, estimated CVD impulse, pivot-confirmed divergence, absorption scoring, naked POC memory, and compact execution plans.
The goal is to show where the active session is accepting value, where pressure is imbalanced, and where a confirmed bid-side or ask-side plan appears.
Core Concepts
1. Manual Session VWAP
The script calculates session VWAP from cumulative price-volume and volume during the configured active session. Weighted deviation bands create inner and outer auction zones around VWAP.
2. Developing Volume Profile
The active range is divided into rows. The script estimates total volume, buy pressure, and sell pressure inside each row, then derives POC, value area high, value area low, VWMP, and imbalance shelves.
3. Estimated CVD Impulse
CVD is estimated from candle-derived delta. Fast and slow CVD lines create impulse context, while pivot-confirmed divergence identifies disagreement between price and participation.
4. Naked POC Memory
Prior session POC levels can be stored until price revisits them. This gives the chart a memory of unfinished auction references.
5. Auction Quality Gate
Long and short plans require location, delta, quality score, and a supporting event such as POC reclaim, value-area reaction, divergence, or shelf pressure.
Features
Session VWAP with deviation bands: Shows the active auction mean and volatility envelope.
Developing profile: Tracks POC, VAH, VAL, VWMP, and row pressure.
Right-side heatmap: Displays volume and pressure intensity by price row.
Imbalance shelves: Highlights areas where buy or sell pressure dominates.
Estimated CVD impulse: Measures participation direction from candle and volume data.
Pivot-confirmed divergence: Marks bullish or bearish CVD disagreement.
Naked POC memory: Stores prior POC references until revisited.
Execution plans: Draws compact entry, stop, TP1, and TP2 zones for confirmed absorption states.
Candle coloring: Bars can reflect liquidity pressure.
Dashboard and alerts: Includes auction state, POC, value area, VWAP, CVD impulse, divergence, naked POC, and session state.
Input Parameters
Core and Bands: Active Session, Session Bars Used, Profile Rows, Value Area, Show VWAP Bands, Inner Sigma, Outer Sigma.
Signals and Risk: Signal Zones, Pivot Left, Pivot Right, Delta Impulse Threshold, Auction Quality Gate, Signal Projection Bars, Signal Cooldown Bars, ATR Stop, ATR Target.
Visuals: Right Profile Heatmap, POC / VA / VWMP Lines, Naked POC Line, Session Auction Frame, Right Imbalance Shelves, Liquidity Candle Color, Dashboard.
How to Use This Indicator
Step 1: Read the session auction
Use VWAP, value area, and POC to determine whether price is accepting above control, below control, or rotating around value.
Step 2: Check pressure shelves
Imbalance shelves show where estimated participation is concentrated. These areas can act as reaction context.
Step 3: Watch CVD impulse and divergence
Strong CVD impulse supports continuation. Divergence warns that price and participation are not confirming each other.
Indicator Limitations
CVD and pressure are estimated from candles and volume, not true exchange delta.
Volume profile rows are approximations based on chart data and selected lookback.
Session behavior depends on the selected session template.
Divergence uses pivot confirmation and can appear after the pivot candle.
Originality Statement
Vanta Delta Cartography is original in its combined session VWAP, developing profile, pressure heatmap, estimated CVD impulse, pivot divergence, naked POC memory, imbalance shelves, and confirmed execution-plan logic. Each layer supports the same auction question: where is value, where is pressure, and where has participation failed or accepted?
Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell. Auction and delta estimates can be inaccurate, especially on symbols with limited volume data. Use independent analysis and risk management.
Made with passion by jackofalltrades
インジケーター

Markov Regime Oscillator PRO🟦 Markov Regime Oscillator PRO is a quantitative regime-classification and forward-probability forecasting engine rendered as a centred oscillator panel. Every bar is classified into one of three regimes — Bull, Bear, Sideways — using a drift-adjusted, volatility-normalised k·σ·√N threshold. The regime sequence feeds two parallel semi-Markov transition matrices (Young / Mature) with exponentially-decayed counts, producing live N-bar forward probabilities and 95 % Bayesian credible intervals on the next-bar probability vector.
The indicator integrates nine analytical layers — drift-adjusted classification, adaptive k·σ·√N threshold, EWMA-decayed transition matrix, semi-Markov duration conditioning, N-bar forecast cone via matrix iteration, Bayesian credible intervals, stationary distribution, velocity precursor with optional momentum filter, and multi-timeframe confluence — each rendered on a single oscillator panel through reference levels, a regime ribbon, gradient fill, three-layer neon glow signals, and an in-panel forecast polyline. A 30-row PRO status dashboard rendered on the main price chart (not the oscillator panel) reports every readout in real time.
Built with mathematical honesty. Every +1 forward probability carries a 95 % Dirichlet-posterior credible interval, the EWMA half-life is user-set so the model can adapt as market character evolves (2020 ≠ 2024), the semi-Markov split splits the chain on regime age so mature trends are not treated like young ones, and the documentation is explicit about what the model can and cannot predict.
🟦 HOW THE CORE ENGINE WORKS
Regime Classification
Each bar, the engine measures the rolling N-bar log return — optionally adjusted for the long-term drift of the asset:
logRet_raw = log(close / close )
meanDrift = SMA(log(close / close ), driftWin)
logRet = logRet_raw − N × meanDrift (when Drift Adjustment is ON)
The bar is labelled by comparing this return against the configured boundary:
- `logRet > +threshold` → BULL
- `logRet < −threshold` → BEAR
- otherwise → SIDEWAYS
The classification runs every bar with no look-ahead. When the optional Momentum Filter is enabled, the Bull / Bear labels additionally require the oscillator velocity to agree with the direction — killing late entries on exhausted moves.
Adaptive Threshold (k · σ · √N)
Traditional Markov regime indicators use a fixed percentage cut — e.g. "±5 % over 20 bars". This collapses on real markets: the same 5 % is trivial in a 2017 mania and never reached in 2023 chop. The fix is to scale the boundary with realised volatility:
threshold_adaptive = k × σ × √N
where σ is the per-bar log-return standard deviation over a configurable window (default 100 bars). Under a random walk, k = 1.0 cuts at the 16th / 84th percentiles; k = 2.0 at the 2.5th / 97.5th percentiles. The default k = 1.5 reproduces classic ±1.5-sigma thresholds.
Fixed-percentage mode is still available for users who want to lock the threshold deliberately.
Drift Adjustment (Alpha-Adjusted Classification)
Strong-trending markets (long BTC bull runs, persistently uptrending equity indices) carry a non-zero baseline drift. Without adjustment, the rolling log return systematically exceeds zero in such markets — producing excessive Bull-regime flips that reflect baseline drift rather than incremental kinetic energy.
The fix is to subtract the long-term mean drift before threshold comparison:
logRet_excess = log(close / close ) − N × mean(log returns, driftWin)
Log returns become EXCESS returns over the asset's own long-run drift — what quant desks call "alpha-adjusted" classification. The default 250-bar drift window approximates one trading year on the daily timeframe.
Oscillator Value
The classified log return is normalised by the active threshold and scaled to ±100 = boundary, clipped at ±300:
oscVal = clip( logRet / threshold × 100, ±300 )
The oscillator value is the central panel signal. Reference levels at ±100 (solid) mark the official regime boundaries, ±70 (dashed) mark the pending early-warning zone, and 0 (dashed) is the neutral midline.
Regime Confidence
Once classified, the move's strength is normalised relative to the active boundary:
confidence = |logRet| / threshold
| Confidence | Tier | Visual |
|---|---|---|
| < 1.0× | weak | ▱▱▱ |
| 1.0× – 2.0× | moderate | ▰▱▱ |
| 2.0× – 3.0× | strong | ▰▰▱ |
| ≥ 3.0× | stretched | ▰▰▰ |
The confidence value feeds the High Confidence alert (≥ 2.5× trigger) and is reported in the Status dashboard.
🟦 EWMA DECAY ON TRANSITION COUNTS
The Ancient-History Problem
A classic Markov chain counts every historical transition with equal weight — a Bull→Bear flip from five years ago contributes the same as one from yesterday. This breaks when market character changes: the 2020 COVID crash regime dynamics are not the same as 2024 retail mania, but a vanilla counter weighs them identically.
The Refinement (EWMA / RiskMetrics-style decay)
Markov Regime Oscillator PRO applies exponential decay to the transition counts every confirmed bar BEFORE incrementing for the new transition:
decayFactor = 0.5 ^ (1 / halfLife)
counts = counts × decayFactor (all 9 cells, every bar)
counts = counts + 1.0 (new transition)
After `halfLife` bars, an old count weighs HALF its original. This is the same math RiskMetrics uses for EWMA volatility — adapted here to regime transition memory.
| Half-life | Behaviour |
|---|---|
| 50 – 200 | highly reactive — adapts fast, probabilities noisy |
| 300 – 700 | balanced (default 500) |
| 1000+ | stable — slow adaptation, smooth probabilities |
The decay is applied to all three matrices in lockstep (full, young, mature) so the semi-Markov split below stays internally consistent.
🟦 SEMI-MARKOV DURATION CONDITIONING
The Memoryless Problem
A standard Markov chain says: "Given I'm in Bull, the probability of staying Bull tomorrow is X — regardless of whether Bull started yesterday or 200 bars ago." This is the memoryless property, and on real markets it's wrong. A 200-bar-old Bull regime carries different mean-reversion risk than a 5-bar-old one.
The Refinement
Markov Regime Oscillator PRO additionally builds two CONDITIONAL transition matrices:
- `P_young` — transitions counted when the source regime's age was below the Age Median input
- `P_mature` — transitions counted when the source regime's age was at or above the Age Median
Both matrices are constructed in parallel with the unconditional matrix, using the same per-bar bucketing logic, the same EWMA decay, and the same Dirichlet smoothing.
The active forecast then uses the matrix matching the CURRENT regime's tier — Young or Mature. A 5-bar-old Bull is statistically more likely to continue than a 50-bar-old one; semi-Markov captures this empirically without leaking into the unconditional chain.
The active matrix tier is reported live in the Status dashboard's "Matrix" cell.
🟦 N-BAR FORECAST CONE
Matrix Iteration
The 3×3 transition matrix P encodes one-bar-ahead probabilities. To project further out, the state vector is iterated through P:
s_0 = = unit vector on current regime
s_{k+1} = s_k · P (matrix multiplication)
For each step k = 1 … forecastSteps, the iteration produces the probability of each regime at that future bar.
Expected Oscillator Value
At each forecast step, the expected oscillator value is computed as:
E = 100 · ( P(Bull | k) − P(Bear | k) )
This number is +100 when the model expects pure Bull, −100 when pure Bear, and ~0 when Side.
In-Panel Polyline
The cone is rendered as a colored polyline extending PAST the last confirmed bar into the future, drawn via `line.new()` so segments are pixel-stable on any chart zoom. Each segment is colored by the dominant regime at that step (Bull / Bear / Side).
Honest Limitation
The cone is reliable up to ~5 bars; beyond that the iteration converges toward the stationary distribution and the forecast loses information. The default Forecast Horizon is 5 bars — covers the meaningful window without illusion.
The forecast is matrix-implied, not a momentum extrapolation. If the oscillator is currently at +250 (strong Bull) but the matrix says P(Bull → Side) is high, the cone will regress to the matrix-implied expected value — showing a visual "cliff" at step 1. This is mathematically honest, not a bug.
The dashboard's "HORIZON +N" cell reports the dominant regime at the terminal forecast step plus its probability — for a single-glance read of where the chain expects to be at horizon end.
🟦 BAYESIAN CREDIBLE INTERVALS
Why Ranges, Not Point Estimates
A forecast like "P(Bull) +1 = 75 %" carries hidden uncertainty. With only 30 historical Bull-source transitions, the true probability could plausibly be anywhere between 55 % and 90 %. With 2000 historical Bull-source transitions, the same 75 % is tightly bracketed at, say, 73 – 77 %.
Reporting a single number hides the difference. Hedge-fund and academic forecasts always carry uncertainty bands; this oscillator does the same.
The Derivation (Dirichlet Posterior, Gaussian Approximation)
The transition matrix posterior is Dirichlet(α + counts) with Laplace (α = 1) prior. Each marginal is Beta with parameters (α_i, Σα − α_i). The Gaussian approximation to that Beta gives:
mean = α_i / Σα
var = α_i · (Σα − α_i) / ( Σα² · (Σα + 1) )
95 % CI ≈ mean ± 1.96 · √var
The CI is computed for the +1 row (the most actionable forecast) and clipped to .
Reading the Dashboard
P(Bull) +1 75 %
| CI Width | Interpretation |
|---|---|
| Narrow (e.g. 73 – 77) | large sample, robust estimate, trust the call |
| Wide (e.g. 50 – 95) | small sample, fragile estimate, don't bet the desk |
This is the difference between a quantitative estimate and an indicator guess.
🟦 STATIONARY DISTRIBUTION π
Power-iterating the matrix to convergence yields the stationary distribution — the long-run probability of being in each regime, independent of the current state. With 50 iterations on a well-behaved stochastic matrix, the distribution is essentially converged.
π(Side) + π(Bull) + π(Bear) = 1.0
The dashboard's "STATIONARY π" section reports each component. Reading π reveals the asset's structural bias regardless of the current regime — e.g., π(Bull) = 55 % on BTC daily tells you the market spends a majority of its time in Bull regimes over the long run, which is fundamentally different from a sideways-grinding instrument with π(Side) = 60 %.
The stationary distribution also serves as the asymptote of the forecast cone: as k → ∞, the cone collapses to π.
🟦 VELOCITY PRECURSOR & MOMENTUM FILTER
Velocity Definition
The oscillator velocity is the N-bar rate-of-change of the oscillator value:
velocity = oscVal − oscVal
velocityThr = VELOCITY_BASE · √(velocityWin / 5)
The threshold auto-scales with the window so the accel / decel / flat labels stay meaningful at any setting.
Early-Warning Cue
Velocity flips direction BEFORE the official ±100 boundary is crossed — it is a leading indicator of regime change. The Status dashboard's "Velocity" cell displays:
- ↑ accelerating (velocity > +threshold) — colored bull
- ↓ decelerating (velocity < −threshold) — colored bear
- ═ flat — neutral
This partially mitigates the inherent lookback lag of threshold-based regime detection.
Optional Momentum Filter
When the Momentum Filter is enabled, regime classification additionally requires velocity sign agreement:
Bull → logRet > +threshold AND velocity > 0
Bear → logRet < −threshold AND velocity < 0
This kills late-entry signals where price has extended past the threshold but momentum is already exhausted — a classic source of false signals at trend tops/bottoms. Reduces signal count, raises signal quality. Recommended for swing trading, optional for scalping.
🟦 PENDING-REGIME EARLY WARNING
Because the regime is classified from `log(close / close )`, the official regime label inherently lags. This is structural, not a bug, but can be partially mitigated.
Inside Sideways, when the log return reaches 70 % of either boundary, the dashboard fires an early-warning cue:
distance_fraction = max(|logRet| / threshold, ...)
isPending = (regime == SIDE) AND (distance_fraction ≥ 0.70)
The Status panel's "Pending" cell displays the direction the return is leaning toward and the current fraction:
⚠ ▲ BULL 87 %
Color matches the leaning regime. The Pending Regime alert (default OFF, opt-in) fires on the first bar a pending state is entered.
This is not a regime change signal — it's a "watch this" cue, triggered roughly 30 % before the official threshold is crossed. Used alongside the official regime change, it gives the user advance notice without compromising the threshold's strictness.
🟦 SELECTABLE SIGNAL SMOOTHING
A second smoothed signal line overlays the main oscillator. Crossovers between the main and signal lines mark momentum-of-regime shifts — these often precede actual regime changes by 1-3 bars.
Four smoothing algorithms are available:
| Method | Character |
|---|---|
| EMA (default) | Exponential — classic lag/smoothness |
| HMA | Hull — near-zero lag for short windows |
| ALMA | Arnaud Legoux (0.85, 6.0) — Gaussian-weighted, smoothest |
| SMA | Simple — most stable, most lag |
The Signal Cross alert can be optionally filtered by HTF alignment — when enabled, the alert fires only when LTF and HTF regimes match. Filter is auto-bypassed when HTF Confluence is globally OFF (silent-kill protection).
🟦 MULTI-TIMEFRAME CONFLUENCE
The same regime logic runs on a user-configured higher timeframe via `request.security` with `lookahead = barmerge.lookahead_off` and `gaps = barmerge.gaps_off` (anti-repaint mandatory). The result is reported in the Status dashboard's HTF block:
| State | Display | Color |
|---|---|---|
| HTF regime matches LTF regime | ✓ ALIGNED | bull |
| HTF regime differs from LTF | ⚠ DIVERGENT | bear |
| Insufficient HTF data | — | foreground |
Divergent regimes are common at trend turns — the LTF flips before the HTF catches up. Aligned regimes carry higher conviction. A separate alert ("MTF Confluence") fires on regime entries only when the HTF agrees.
Recommended pairings:
| Chart | HTF |
|---|---|
| 15m | 1H |
| 1H | D |
| 4H | W |
| D | W |
| W | M |
Use at least 3× your chart timeframe — anything closer and the two regimes track each other with no information gain.
🟦 OSCILLATOR PANEL VISUAL LAYER
Main Oscillator Line
The oscillator value plotted as a continuous line with five color tiers reflecting regime strength:
| Range | Color |
|---|---|
| ≥ +100 | full Bull |
| +70 to +100 | dim Bull (pending up) |
| −70 to +70 | neutral Side |
| −100 to −70 | dim Bear (pending down) |
| ≤ −100 | full Bear |
Line width is configurable 1 – 5 pixels.
Signal Line
A smoothed overlay of the main oscillator, faded foreground color, single-pixel width. Drives the Signal Cross alert and the dashboard Signal cell.
Reference Levels
Three horizontal levels per panel side:
- ±100 — official regime boundaries (solid plot line)
- ±70 — pending early-warning zones (dashed `line.new`)
- 0 — neutral midline (dashed `line.new`)
The dashed lines use `line.new()` rather than `plot.style_circles` so they remain pixel-stable at any chart zoom — they will NOT rescale or fragment.
Regime Ribbon
The oscillator panel background is tinted to the current regime color at 20 % opacity. Provides instant regime context at a glance — Bull / Bear / Side periods are visually separated even when zoomed out on long history. Toggleable.
Gradient Fill
The area between the oscillator line and zero is filled in the regime color, with intensity scaling adaptively by distance from zero — stronger color = higher conviction. Empty at zero.
Three-Layer Neon Glow Signals
On every confirmed regime transition (after the Min Hold filter passes), the indicator drops a three-layer halo on the oscillator line:
| Layer | Size | Transparency | Purpose |
|---|---|---|---|
| Outer | size.large | 80 % | Soft halo |
| Middle | size.normal | 50 % | Mid-glow |
| Core | size.small | 0 % | Bright center |
Bull entries (▲ triangle up), Bear entries (▼ triangle down), and Side entries (◆ diamond). The Min Hold input (default 4 bars) requires a new regime to persist before its flip is drawn — kills label spam in choppy zones without affecting the underlying transition counts.
Forecast Cone Polyline
On the last confirmed bar, a colored polyline extends into the future for N bars, plotting the expected oscillator value at each step. Color reflects the dominant regime at that step. Drawn with `line.new()` so segments are pixel-stable; recomputed on every chart refresh.
🟦 PRO STATUS DASHBOARD
A single dashboard rendered on the MAIN PRICE CHART (not the oscillator panel) via `force_overlay = true`. This keeps the oscillator panel uncluttered so the oscillator line, signal line, gradient fill, and forecast cone get the full pane height.
The dashboard is structured in seven sections, all theme-aware:
| Section | Cells |
|---|---|
| REGIME | Regime, Age + tier, Confidence, Pending, Velocity |
| FORECAST +1 | P(Bull), P(Bear), P(Side) — each with 95 % CI |
| HORIZON +N | Dominant regime at terminal forecast step + probability |
| STATIONARY π | π(Bull), π(Bear), π(Side) — long-run equilibrium |
| OSCILLATOR | Value, Signal direction, Threshold, Drift basis points |
| HTF | Regime + Aligned / Divergent status |
| DATA | Mode, Decay half-life, Matrix tier, Sample N |
Position is configurable across 9 chart corners. Text size: Tiny / Small / Normal / Large. Default Tiny so the full 30-row layout fits on any chart without scrolling. Background and text colors flip between Dark and Light display modes.
🟦 COLOR THEMES
Ten cohesive palettes tuned to the Apex design system, each defining three regime axes (Bull, Bear, Sideways):
| Theme | Character | Bull | Bear | Sideways |
|---|---|---|---|---|
| Focus (default) | Modern | Cyan | Deep orange | Cool blue-grey |
| Prism | Classic | Forest green | Crimson | Slate grey |
| Solar | Warm | Amber | Indigo red | Lavender grey |
| Frost | Cool | Sky blue | Soft lavender | Pale steel |
| Laser | Neon | Lime green | Hot crimson | Charcoal grey |
| Aurora | Bright | Gold | Scarlet | Warm beige |
| Plasma | Electric | Aqua | Magenta | Slate teal |
| Bloom | Soft | Mint | Hot pink | Blue-grey |
| Eclipse | Deep | Navy | Dark crimson | Steel grey |
| Carbon | Minimal | Near-white | Mid-grey | Dark grey |
One theme selection drives every visual component: oscillator line, signal line, reference levels, ribbon, fill, glow signals, forecast cone, and all dashboard cells.
Dark / Light Display Mode
Dashboard chrome (background, foreground, borders, section dividers) flips between dark-on-bright and bright-on-dark. The regime axis colors remain consistent across modes — only the panel chrome changes.
🟦 ALERT SYSTEM
Seven alert conditions, each independently togglable:
| Alert | Condition |
|---|---|
| Bull Regime Entry | Regime flipped to BULL (after Min Hold confirmation) |
| Bear Regime Entry | Regime flipped to BEAR (after Min Hold confirmation) |
| Sideways Regime Entry | Regime flipped to SIDEWAYS (default OFF) |
| High Confidence | confidence ≥ 2.5× threshold, first bar of crossing |
| Pending Regime | Inside Sideways, log return ≥ 70 % of either boundary (default OFF) |
| MTF Confluence | Bull / Bear entry + HTF agrees |
| Signal Cross | Main oscillator crosses signal line (default OFF) |
All alerts fire on confirmed bar close. Entry alerts respect the Min Hold filter — a new regime must persist Min Hold bars before its entry alert fires, matching the on-chart glow markers.
The Signal Cross alert can be optionally filtered by HTF alignment (Multi-Timeframe → Filter Signal Cross by HTF). The filter is automatically bypassed when HTF Confluence is globally OFF, so enabling the filter without HTF doesn't silently kill the alert.
🟦 SETTINGS REFERENCE
Theme
- Theme — One of 10 Apex palettes. Default: Focus
- Display Mode — Dark / Light. Default: Dark
Regime Logic
- Threshold Mode — Adaptive (k·σ·√N) / Fixed (%). Default: Adaptive
- Lookback Window — Bars for the rolling log return. Default: 20
- Adaptive k — Sigma multiplier. Default: 1.5
- Fixed Bull Threshold — Used only in Fixed mode. Default: 5.0 %
- Fixed Bear Threshold — Used only in Fixed mode. Default: 5.0 %
- Volatility Window — Bars for the per-bar stdev. Default: 100
- Min Hold — Bars a new regime must persist for entry alerts and glow markers. Default: 4
- Drift-Adjusted Log Returns — Toggle the drift adjustment. Default: ON
- Drift Window — Bars for the long-term mean drift estimate. Default: 250
- Require Momentum Agreement — Velocity sign filter on regime classification. Default: OFF
Bayesian Math
- EWMA Transition Counts (Decay) — Toggle exponential decay. Default: ON
- Decay Half-Life — Bars after which an old count weighs half. Default: 500
- Semi-Markov Duration Conditioning — Toggle the Young / Mature split. Default: ON
- Age Median — Boundary between Young and Mature regimes. Default: 10
- Bayesian Credible Intervals (95 %) — Toggle CI display in the dashboard. Default: ON
Forecast
- Forecast Cone Horizon — Number of bars projected by matrix iteration. Default: 5
- Show Forecast Cone — Toggle the in-panel cone polyline. Default: ON
Oscillator
- Show Signal Line — Toggle the smoothed signal overlay. Default: ON
- Signal Smoothing Method — EMA / HMA / ALMA / SMA. Default: EMA
- Signal Smoothing Length — Window length. Default: 5
- Velocity Window — Bars for the rate-of-change measurement. Default: 5
- Oscillator Line Width — Pixels. Default: 2
Display
- Show Regime Ribbon — Toggle the panel background tint. Default: ON
- Show Gradient Fill — Toggle the oscillator-vs-zero fill. Default: ON
- Show Reference Levels — Toggle the ±100 / ±70 / 0 horizontal lines. Default: ON
- Show Regime Change Glow — Toggle the three-layer halo markers. Default: ON
Multi-Timeframe
- Enable HTF Confluence — Toggle. Default: ON
- HTF Resolution — Higher timeframe. Default: D
- Filter Signal Cross by HTF Alignment — Conditional filter on cross alert. Default: OFF
Dashboard
- Show Status Dashboard — Toggle. Default: ON
- Position — Nine chart corners. Default: Top Right
- Size — Tiny / Small / Normal / Large. Default: Tiny
Alerts
- Bull / Bear / Sideways Regime Entry — Independent toggles
- High Confidence (≥ 2.5×) — Default: ON
- Pending Regime — Default: OFF
- MTF Confluence — Default: ON
- Signal Cross — Default: OFF
🟦 COMPATIBILITY
Works on all asset classes and all timeframes in TradingView Pine Script v6.
- Crypto: Spot, futures, perpetual contracts
- Forex: All pairs
- Equities: Stocks, ETFs, indices
- Commodities: Metals, energy, agriculture
- Timeframes: 1m through Monthly
The adaptive threshold normalises by per-bar realised volatility, and the drift adjustment normalises by the asset's long-run mean drift — together making the regime classification volatility-and-drift-agnostic across assets without manual recalibration. The same default settings work on BTCUSDT daily, SPY weekly, and EURUSD 4H — only the HTF resolution input should be adjusted to match the chart timeframe.
🟦 TECHNICAL NOTES
- Pine Script v6
- `max_labels_count = 500`, `max_lines_count = 500`, `max_bars_back = 5000`
- No repainting — all regime classifications are computed on confirmed bar close. The HTF request uses `lookahead = barmerge.lookahead_off` and `gaps = barmerge.gaps_off`
- Transition counting uses `barstate.isconfirmed` to avoid double-counting the live bar
- Regime change debouncing uses `ta.barssince` to avoid runtime-indexed history reads (which can trip "cannot determine max_bars_back" in Pine v6)
- Heavy computation (P matrix construction, N-step iteration, Bayesian CI math, stationary distribution power iteration, dashboard rendering) is gated on `barstate.islast` to run once per chart render
- Matrix multiplication is implemented as unrolled single-line expressions over a flat 9-cell array for portability and speed
- EWMA decay multiplies all 9 cells of all 3 matrices (counts, countsYoung, countsMature) once per confirmed bar — O(27) per bar overhead
- Dirichlet smoothing prevents NaN propagation when a regime has not appeared in visible history — empty rows fall back to uniform 1/3
- Duration buckets classify by the SOURCE regime's age at the moment of transition (`regAge `), so the bucketing reflects the regime that was about to transition rather than the destination
- `ta.crossover` / `ta.crossunder` are computed at global scope every bar to satisfy Pine's stateful-series rule (the gated cross events read from the cached values)
- Dashboard is rendered with `force_overlay = true` on the main price chart — keeps the oscillator panel free of UI clutter
- Reference-level dashed lines use `line.new()` with `style = line.style_dashed` and `extend = extend.both` for pixel-stable rendering at any zoom
🟦 LIMITATIONS — READ THIS
This indicator is statistically honest about what it can and cannot do. Four known limitations:
1. The Markov assumption is partially violated. Markets are not memoryless. The semi-Markov Young / Mature split mitigates this but does not eliminate it. EWMA decay further mitigates by down-weighting ancient transitions, but a truly path-dependent process (one where the SEQUENCE of recent regimes matters, not just the last one) is not captured.
2. Forward probabilities are not predictions. They are conditional probabilities under the chain assumption with the credible intervals quantifying the SAMPLING uncertainty around them. A "Bull 58 % at +5 bars" reading does not mean "58 % chance the next 5 bars are bullish" — it means "given a long-run sample of similar starting states and the active EWMA-decayed transition matrix, 58 % were in Bull at +5 bars". Use the cone as ONE input alongside other analysis.
3. The regime label lags by N bars. This is structural — the rolling log return necessarily looks back. The Pending early warning and the optional Momentum Filter partially mitigate this but cannot eliminate the lag. Treat the official regime change as a confirmation, not a leading signal.
4. Forecast cone reliability decays with horizon. By +5 bars the cone is at the edge of usefulness; by +20 bars it collapses toward the stationary distribution and carries no additional information beyond π. The default horizon is 5 bars for this reason. Do not over-interpret the right side of the cone.
🟦 DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. The forward probabilities are conditional estimates derived from historical transition counts under a (semi-)Markov model assumption — they are NOT guarantees about future market behaviour. Always conduct your own analysis and apply proper risk management. インジケーター

Swing Volume Structure [JOAT] Swing Volume Structure
Introduction
Swing Volume Structure is an open-source market structure indicator focused on confirmed pivots, volume-backed breakouts, sweeps, retests, and compression. It is designed to keep structure analysis clean by confirming pivots with right-side bars and confirming actionable states on bar close.
The script helps traders distinguish ordinary swing movement from structure breaks that occur with volume expansion or sweep behavior.
Core Concepts
1. Confirmed Pivot Structure
Pivot highs and lows are confirmed using configurable left and right bars. Once confirmed, pivots are classified into structural context such as higher high, higher low, lower high, or lower low.
2. Volume Confirmation
Breakout states are scored using volume relative to a moving average. Expansion volume strengthens breakout quality, while quiet volume can mark compression.
3. Sweep and Reclaim Behavior
The script detects when price probes beyond a prior swing and then reclaims or rejects the level. This helps separate liquidity sweeps from clean breakouts.
4. Retest Logic
After a structural break, retest behavior can support continuation when price returns to the broken area and holds.
5. Entry and Exit Rails
Confirmed breakout or sweep states can draw entry, stop, TP1, and TP2 references using ATR and structure.
Features
Confirmed HH/HL/LH/LL structure: Pivots are classified after confirmation.
Volume-backed breakouts: Break quality is strengthened by relative volume expansion.
Sweep reclaim/reject states: Identifies failed breaks beyond prior swing levels.
Inside compression detection: Detects quiet, compressed conditions.
Supply/demand zones: Optional zones around important swing areas.
Entry/exit rails: Optional risk references for accepted states.
Candle tinting: Bars can reflect current structure state.
HUD: Shows state, bias, pivot class, volume, nearest support/resistance, score, and bar counts.
Alerts: Long breakout, short breakout, bullish sweep, bearish sweep, inside compression, and volume expansion.
Input Parameters
Structure: Pivot Left, Pivot Right, ATR Length, Zone ATR Thickness, Zone Extension Bars.
Volume and Signals: Volume Average Length, Expansion Multiplier, Quiet Compression Threshold, Minimum Breakout Score, State Cooldown Bars.
Risk and Visuals: Stop ATR Buffer, TP1 R, TP2 R, Rail Projection Bars, Tint Candles by State, Connect Confirmed Swings, Show Supply/Demand Zones, Pivot Labels, Active Support/Resistance, Structure HUD.
How to Use This Indicator
Step 1: Read structure bias
Use the HUD and swing context to identify whether structure is improving, deteriorating, or balanced.
Step 2: Separate breakouts from sweeps
A breakout shows acceptance beyond structure. A sweep shows a probe and rejection or reclaim. These are different conditions.
Step 3: Check volume
Volume expansion can increase the importance of a break. Quiet volume can identify compression or lower-conviction movement.
Indicator Limitations
Pivots confirm only after the configured right bars complete.
Volume confirmation depends on the quality of the symbol's volume feed.
Supply/demand zones are approximations around swing areas, not exact order book data.
Breakout and sweep states can fail during high-volatility reversals.
Originality Statement
Swing Volume Structure is original in how it combines confirmed pivot classification, volume expansion scoring, sweep/reclaim logic, retests, compression states, optional zones, candle states, and ATR risk rails into a single structure tool.
Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice or a trade recommendation. Structure signals are based on historical candles and can fail. Use proper risk management.
Made with passion by jackofalltrades
インジケーター

Session Probability Grid [JOAT]Session Probability Grid
Introduction
Session Probability Grid is an open-source session auction map. It builds percent-based ladder levels from the active session open, tracks historical hit behavior for those levels, and displays probability-style context for expansion, exhaustion, and unusual session movement.
The problem it solves is session framing. Traders often know the open is important, but they may not know whether a move is normal for the current symbol and timeframe. This script records session outcomes and converts them into visible ladder probabilities.
Core Concepts
1. Session Open Ladder
The script creates six upside and six downside levels from the session open using configurable percentage steps. These levels frame how far price has moved away from the open.
2. Historical Hit Memory
At the end of each session, the script updates arrays storing hit counts, sample counts, and continuation distance. This creates a rolling sample of how often each ladder has been reached.
3. Opening Range Context
The first configurable number of bars defines the opening range. The session box and opening range box help distinguish early balance from later expansion.
4. Expansion and Exhaustion States
Expansion states identify movement through areas with supportive historical behavior. Exhaustion states mark stretched locations where continuation may be less reliable.
5. Session VWAP Gradient
The optional session VWAP gradient adds a live auction mean reference so ladder movement can be compared against the developing session control line.
Features
Open-relative ladder: Six upside and six downside levels based on configurable percent steps.
Statistical memory: Tracks hit count, sample count, and continuation distance from completed sessions.
Probability cards: Right-side cards show ladder behavior without crowding price.
Expansion and exhaustion states: Highlights meaningful session movement conditions.
Session and opening range boxes: Frames current auction development.
Session VWAP gradient: Adds a developing mean reference.
Candle coloring: Bars can be colored by session state.
Dashboard: Shows session state, nearest ladder, hit probability, expected continuation, and range condition.
Alerts: Upside expansion, downside expansion, upper exhaustion, and lower exhaustion.
Input Parameters
Core Session: Active Session, Opening Range Bars, Stat Sample Cap, Session Range Box, Opening Range Box.
Ladder: Open-Relative Ladders and Step 1 through Step 6.
Signals and Visuals: Auction State Zones, State Projection Bars, Continuation Probability Gate, Right Probability Cards, Session Candle Color, Session VWAP Gradient, Dashboard.
How to Use This Indicator
Step 1: Start from the session open
The ladder levels are built from the open, so they frame the current session relative to its starting price.
Step 2: Compare price to the ladder
As price approaches a ladder level, check the probability card and dashboard for historical hit and continuation context.
Step 3: Distinguish expansion from exhaustion
Expansion and exhaustion states help separate normal auction development from stretched movement.
Indicator Limitations
Probabilities are based on the chart's available historical sessions and are not universal statistics.
Session boundaries depend on the selected exchange/session setting.
The script needs enough completed sessions to build useful samples.
Probability context does not predict future price.
Originality Statement
Session Probability Grid is original in its combination of open-relative ladders, rolling hit memory, continuation-distance storage, session VWAP context, opening range framing, and expansion/exhaustion visualization. It is not just a static percent-level tool; it updates its context from completed session behavior.
Disclaimer
This script is for educational and informational purposes only. It is not financial advice and does not recommend trades. Historical session behavior may not repeat. Use independent analysis and risk management.
Made with passion by jackofalltrades
インジケーター

Pressure Reversal Engine [JOAT]Pressure Reversal Engine
Introduction
Pressure Reversal Engine is an open-source pressure and absorption indicator. It estimates buy and sell participation from candle location, body behavior, direction, and volume, then looks for cases where aggressive participation fails to produce continuation.
The script is designed for traders who want to identify absorption, pressure mismatch, reclaim/reject behavior, and stacked imbalance areas without relying on true bid/ask data.
Core Concepts
1. Estimated Buy/Sell Pressure
The pressure model uses close position within the candle, candle body, direction, and volume. This creates a deterministic approximation that works on symbols where true bid/ask volume is not available.
2. Absorption Detection
Absorption is identified when strong estimated pressure fails to move price in the expected direction. Demand absorption and supply absorption are tracked separately.
3. Pressure Profile
A rolling profile divides the recent price range into rows and estimates where buy and sell pressure accumulated. The profile highlights skew, POC, value area, and imbalance zones.
4. Reclaim and Reject Logic
Swing references help identify whether price reclaimed a prior level or rejected from it. These events can combine with pressure mismatch to create long or short setup states.
5. Stacked Pressure Clusters
Consecutive bars with strong pressure and volume expansion create cluster boxes. These show areas where participation repeatedly appeared.
Features
Buy/sell pressure estimation: Uses candle anatomy and volume to approximate directional participation.
Absorption states: Detects when demand or supply fails to follow through.
Rolling pressure profile: Displays POC, value area, and pressure skew.
Stacked pressure boxes: Highlights repeated pressure bursts over several bars.
EMA regime filter: Optional trend filter for long and short setups.
Entry and exit state zones: Shows confirmed pressure reversal and risk-off states.
ATR stop/target rails: Uses volatility-adjusted projections for setup review.
Pressure candle coloring: Bars can reflect active pressure state.
Dashboard: Shows pressure state, profile skew, POC, value area, absorption, regime, volume, and stack status.
Alerts: Long setup, short setup, long exit, short exit, demand absorption, and supply absorption.
Input Parameters
Core: Pressure Profile Lookback, Profile Rows, Pressure Gate, Value Area.
Signals: Entry / Exit State Zones, EMA Regime Filter, Fast EMA, Slow EMA, Swing Left, Swing Right, Projection Bars, Signal Cooldown Bars, Stored Trade Plans.
Cluster, Risk, and Visuals: Stacked Pressure Boxes, Minimum Stack Bars, Stack Volume Boost, ATR Stop, Target 1 ATR, Target 2 ATR, Right Pressure Profile, Pressure Candle Color, Dashboard, Profile Right Offset.
How to Use This Indicator
Step 1: Read the pressure state
Use the dashboard to see whether bid pressure, ask pressure, absorption, or idle conditions dominate.
Step 2: Watch for failed participation
The strongest reversal information appears when pressure is high but price fails to continue in that pressure direction.
Step 3: Use value area and POC as context
Reversals near the pressure POC or value area edge can have different meaning than signals in empty areas.
Indicator Limitations
Pressure is estimated from candle and volume data; it is not true exchange order flow.
Rolling profiles are approximations and depend on lookback and row settings.
Signals can be delayed by confirmed-bar logic.
Markets with poor volume data can reduce profile usefulness.
Originality Statement
Pressure Reversal Engine is original in the way it combines candle-derived pressure, rolling pressure profile rows, absorption logic, reclaim/reject behavior, stacked pressure clusters, and ATR risk projections into one open-source Pine Script v6 tool.
Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice or a recommendation to trade. Estimated pressure can be wrong, and all signals can fail. Use proper risk management.
Made with passion by jackofalltrades
インジケーター
