Noctis Parallel Geometry [JOAT]Noctis Parallel Geometry
Introduction
Noctis Parallel Geometry is an open-source channel-construction and ratio-lattice overlay designed to organize price into ascending or descending parallel structures built from confirmed pivots. It maps primary boundaries, internal levels, stretch lines, and dynamic tracking projections so the user can see where price is moving inside a broader geometric framework.
The problem this script solves is inconsistent channel drawing. Manually drawn channels vary from user to user, and many automatic channel tools do not show how the geometry was constructed or how price is behaving inside it after the channel is established. Noctis Parallel Geometry turns confirmed pivot relationships into a persistent structure with historical roll-forward behavior.
Core Concepts
1. Pivot-Driven Channel Construction
Ascending geometry is built from two confirmed pivot lows plus the opposing pivot high that defines channel height. Descending geometry is built from two confirmed pivot highs plus the opposing pivot low. This creates a parallel structure rather than a freehand trendline.
2. Ratio Lattice
Once the main channel is built, the script can add internal reference levels and stretch levels. These help the user see whether price is rotating around the midline, respecting inner rails, or pushing into extended geometry.
3. Historical Channel Preservation
When a new active geometry forms, the previous one can be rolled into history instead of being deleted. Historical channels are shifted and preserved so the user can study how prior geometry resolved.
4. Dynamic Projection Tracking
The script can project a live tracking geometry from the most recent active pivot anchor and evolving extreme. This provides a developing path while the full next confirmed channel is still incomplete.
Features
Ascending and descending channel construction: Built from confirmed pivot relationships
Primary channel rails: Base and top boundaries
Inner ratio levels: Optional internal guidance lines
Stretch levels: Optional extension rails beyond the main channel
Historical geometry retention: Previous channels can remain on-chart
Dynamic tracking projection: Live provisional geometry based on current extremes
Pivot tags: Optional pivot markers for transparency
Dashboard: Displays active geometry mode and structural information
Input Parameters
Channel Engine:
Pivot Length
Extend Active Geometry
Show Historical Geometry
Historical Channel Count
Show Dynamic Projection
Ratio Lattice And Display:
Inner-level toggle
Stretch-level toggle
Historical projection offset
Pivot-tag and dashboard toggles
How to Use This Indicator
Step 1: Identify whether the active geometry is ascending or descending.
Step 2: Use the midline and inner rails to gauge whether price is rotating cleanly or losing internal balance.
Step 3: Use stretch levels as warning areas where price is pushing beyond normal channel behavior.
Step 4: Compare active geometry with preserved historical geometry to see whether the market is reusing or abandoning prior pathing.
Step 5: Treat dynamic tracking as provisional context until a fully confirmed new channel is formed.
Indicator Limitations
Channels only update after pivot confirmation, so geometry changes are intentionally delayed to avoid repainting
Fast regime changes can invalidate a channel before price spends much time respecting it
Dynamic tracking lines are exploratory guidance, not confirmed structure
This indicator describes geometry; it does not by itself determine direction or trade quality
Originality Statement
Noctis Parallel Geometry is original in how it turns confirmed pivot relationships into a parallel-channel engine with internal lattice levels, stretch rails, historical roll-forward geometry, and live tracking projection. These parts work together to create a coherent geometric framework rather than a simple trendline overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Channel geometry can fail abruptly in volatile or event-driven conditions, so all analysis should be paired with appropriate risk controls.
-Made with passion by jackofalltrades
インジケーター

Parallax Covenant Strategy [JOAT]Parallax Covenant Strategy
Introduction
Parallax Covenant Strategy is an open-source, non-repainting TradingView strategy that integrates multiple analytical engines into one realistic execution framework. It combines regime detection, pressure confirmation, mapped bias, structure context, wave release logic, and ATR-based risk management to produce entries and exits only when several independent conditions agree.
The problem this strategy solves is weak single-factor trading. A crossover alone is rarely enough. A structure break alone is often early. A momentum spike alone can be noisy. Parallax Covenant requires alignment between regime, internal pressure, mapped bias, structural context, and release behavior before taking a trade. This creates a more selective, context-aware model than a one-indicator strategy.
Core Concepts
1. Composite Regime Engine
The strategy builds a directional regime from a structural baseline, tolerance corridors, and expansion/compression state. This acts as the primary directional context.
2. Pressure Confirmation
An internal pressure model blends weighted candle force and channel position to avoid taking trades simply because price is above or below a baseline.
3. Mapping and Higher-Timeframe Bias
The strategy uses a mapped momentum framework and an optional confirmed higher-timeframe bias filter so lower-timeframe entries can align with broader conditions.
4. Structure and Release Filters
Demand and supply context, swing structure, and release-from-compression logic help prevent entries from firing in the middle of low-quality noise.
5. Realistic Risk Management
The strategy uses ATR-based stops, reward-to-risk targets, optional trailing logic after a minimum multiple of risk, and regime-failure exits. This makes the model more realistic than fixed-tick toy strategies.
Features
Multi-engine entry stack: Regime, pressure, mapping, structure, and release alignment
Confirmed-bar logic: Entry conditions are evaluated on confirmed bars
Optional higher-timeframe bias filter: Uses confirmed higher-timeframe values
Demand and supply context: Trade logic includes structural location awareness
ATR stop and target model: Risk adjusts to symbol volatility
Trailing stop activation: Trail can engage after a defined reward threshold
Regime-failure exit: Closes trades when core directional conditions break down
Maximum time-in-trade control: Avoids stale positions
Institutional dashboard: Top-right strategy state summary
Alertconditions: Regime shifts, releases, and setup confirmations
How to Use This Strategy
Step 1: Study the Dashboard
The dashboard shows whether the system currently sees bullish, bearish, or balanced conditions and how the internal engines align.
Step 2: Understand the Entry Stack
Trades only trigger when multiple conditions confirm together. If you see a setup fail to trigger, that is often intentional filtering rather than a bug.
Step 3: Respect the Risk Model
Stops and targets are volatility-based. Results will vary materially across symbols and timeframes because the strategy adapts to local ATR conditions.
Step 4: Evaluate by Regime, Not by Individual Trade
This strategy is meant to be judged over a broad sample. It is a context-and-confirmation model, not a scalping script trying to predict every turn.
Strategy Limitations
The strategy is intentionally selective and may skip many charts or periods
Higher-timeframe confirmation uses confirmed data and can therefore feel slower than live-developing bias models
ATR-based exits adapt to volatility, which means trade statistics can shift significantly across markets
No strategy can remove all adverse conditions, especially during sudden event-driven repricing
Originality Statement
Parallax Covenant Strategy is original in the way it integrates multiple distinct analytical engines into one non-repainting framework. It is not a basic moving average crossover, not a single-oscillator strategy, and not a toy example of ATR stops. Its value comes from requiring alignment between market regime, internal pressure, mapped bias, structure, and release conditions before entering risk.
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any instrument. Historical backtest results do not guarantee future performance. Always use realistic expectations, proper risk management, and independent judgment.
- Made with passion by jackofalltrades
ストラテジー

Squeeze Bollinger Bands Tracker [MarkitTick]💡 This institutional-grade analysis suite provides a sophisticated volatility-tracking environment designed to identify market compression phases and high-conviction breakouts. By integrating Bollinger Band standard deviation logic with Z-Score normalization and a non-linear sigmoid volatility engine, the script transforms raw price action into a multi-dimensional heatmap. This approach allows traders to distinguish between low-volatility "coiling" phases and institutional-driven momentum expansions, providing a clear visual representation of market energy.
● ✨ Originality and Utility
The Squeeze Bollinger Bands Tracker distinguishes itself through the implementation of a proprietary "Signal Engine" and a non-linear volatility grading system. Unlike standard Bollinger Band indicators that merely plot static lines, this tool actively monitors the rate of change in channel width relative to its own historical standard deviation.
• Dynamic Volatility Normalization
Most indicators rely on linear calculations that fail to account for the exponential nature of market expansion. This script utilizes a Z-Score calculation to determine how extreme a volatility move is compared to its history, then maps that value through a sigmoid function. This creates a "Heatmap" effect on the candles that reflects institutional participation levels rather than simple price movement.
• Institutional Breakout Grading
The utility is further enhanced by an automated grading system (Grades A, B, and C). By cross-referencing price spread (the distance between open and close) with actual volume metrics during a breakout, the script provides an objective measure of signal quality, helping traders filter out "fakeouts" that lack volume support.
● 🔬 Methodology and Concepts
The logic flow is divided into three core analytical pillars: Compression Detection, Momentum Normalization, and Signal Verification.
• Compression Detection (The Squeeze)
The script calculates the percentage-based width of the Bollinger Bands. When the current width falls below its SMA-based average, the market is classified as being in a "Squeeze" state. This signifies a period where market energy is being stored, often preceding a significant directional expansion.
• Sigmoid-Mapped Z-Score Volatility
To provide the neon heatmap coloring, the script calculates the Z-Score of the channel width. This tells us how many standard deviations the current volatility is from the mean. This Z-Score is then processed through a Sigmoid Function: 100 / (1 + exp(-Z-Score)). This mathematical transformation squashes the infinite Z-Score range into a 0–100 scale, creating a smooth gradient for the "True Institutional Heatmap."
• Breakout Validation Engine
Signals are not generated simply on a price cross. The Signal Engine (a custom User-Defined Type) calculates real-time Entry, Stop Loss (based on the previous basis line), and Take Profit levels. During the moment of crossover, the "calcGrade" method evaluates if the current bar's spread and volume are at least 150% of their historical averages to assign a Grade A "Institutional" breakout.
● 🎨 Visual Guide
The visual interface is designed with a high-contrast "3D Neon" aesthetic to ensure critical data points are immediately recognizable during fast-moving market conditions.
• The 3D Neon Channels
Upper Core & Glow: The upper Bollinger Band is rendered in Cyan (#00FFFF). It features three layers: a 2-pixel core for precision and two wider "Glow" layers with varying transparency (60% and 85%) to create a neon effect.
Lower Core & Glow: The lower band is rendered in Magenta (#FF00FF), following the same three-layer glow architecture to signify the support boundary.
Basis Core: The central moving average is rendered in Yellow (#FFFF00), acting as the dynamic mean and the primary stop-loss anchor.
• True Institutional Heatmap Candles
The candle colors are not fixed; they represent a gradient based on the Sigmoid Volatility score.
Bullish State: Transitions from a deep "Cold" Forest Green (#004D40) during low-volatility rises to a "Hot" Neon Green (#00FF00) during high-momentum surges.
Bearish State: Transitions from a deep "Cold" Purple (#4A148C) during low-volatility drops to a "Hot" Neon Red (#FF0000) during aggressive sell-offs.
Neutral State: Gray (#808080) candles appear when no definitive trend state is identified by the Signal Engine.
• Analytical Dashboard and Labels
Buy/Sell Labels: When a breakout occurs, a Cyan or Magenta label appears. It displays the signal Grade (A, B, or C) and the calculated E (Entry), TP (Take Profit), and SL (Stop Loss) values.
Institutional Analytics Dashboard: Located in the top-right, this table provides real-time data on Trend Maturity (in bars), Volatility State (Squeeze vs. Expanding), and the percentage proximity to the upper and lower breakout levels.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The indicator is built upon the foundation of Statistical Process Control and Information Theory. By treating price movement as a signal-to-noise problem, the script uses the following frameworks:
• Standard Deviation and Gaussian Distribution
The core of the Bollinger Band calculation relies on the assumption that price spends approximately 95% of its time within two standard deviations of the mean. The "Squeeze" logic identifies periods where the distribution is abnormally tight, suggesting an imminent return to the mean or a "Fat Tail" event (a breakout).
• Z-Score Normalization
In statistics, the Z-Score is used to compare observations from different data sets or time periods. By applying Z-Score logic to the width of the bands, the indicator removes the "unit" of price and focuses purely on the intensity of the volatility, allowing for a standardized comparison across different assets (e.g., Bitcoin vs. Apple).
• Non-Linear Sigmoid Mapping
The use of the Sigmoid function (common in Neural Network activation) serves to eliminate outliers in volatility data. This ensures that the candle heatmap provides meaningful color variations even during extreme "Black Swan" events, preventing the visual output from becoming saturated or unreadable.
● 📖 How to Use
Traders should focus on the transition between market states as displayed by the Analytics Dashboard and the Heatmap.
• Step 1: Identify the Squeeze
Monitor the "Volatility State" in the dashboard. When it displays "⚠️ SQUEEZE" in Neon Orange, the market is coiling. This is the preparation phase where no trades should be taken.
• Step 2: Evaluate the Breakout Grade
Wait for a "BUY" or "SELL" label to appear. Priority should be given to "Grade A" signals, as these indicate that both price spread and volume have significantly exceeded their 20-period averages, confirming institutional intent.
• Step 3: Execution and Risk Management
Upon a valid signal, the script provides an automated trade plan. The Stop Loss is set at the Basis (Yellow) line from the previous bar to allow for minor breathing room, while the Take Profit is projected at a 1:1 ratio relative to the width of the band at the time of entry.
● ⚙️ Inputs and Settings
The script provides granular control over the analytical engine and the visual experience.
• Channel Settings
Channel Length: Controls the SMA window for the Bollinger Bands (Default: 20).
Standard Deviation Multiplier: Adjusts the width of the neon boundaries (Default: 2.0).
• Analytics Settings
Squeeze/Z-Score Length: Determines the lookback period used to define what constitutes "average" volatility (Default: 50).
Quality SMA Length: Defines the window for the Grade A/B/C volume and spread verification (Default: 20).
• Color and Heatmap Settings
Users can fully customize the Neon Upper/Lower colors, the Dashboard background transparency, and the specific "Cold" and "Hot" thresholds for the candle gradient engine to match their preferred dark or light chart theme.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. インジケーター

Cartograph Bands [JOAT]Cartograph Bands
Introduction
Cartograph Bands is an open-source price-space mapping overlay that translates internal momentum and regime pressure into adaptive bands around price. Instead of displaying momentum in a separate pane and forcing the user to mentally translate it back into price context, the script projects a composite regime score directly into layered price envelopes.
The problem Cartograph Bands solves is disconnected interpretation. Oscillators can show strength or weakness, but they often fail to communicate where that state matters on the chart. Cartograph Bands closes that gap by converting internal regime intensity into inner, outer, and far price-space bands, then combining that with multi-timeframe confirmation and volatility-state transitions.
Core Concepts
1. Composite Momentum Engine
The script blends several internal measurements including RSI, CMO, ROC normalization, and slope behavior to create a bounded momentum/regime score. This reduces reliance on any single oscillator.
2. Price-Space Mapping
That composite score is mapped into adaptive offsets around price using ATR and standard deviation inputs. The result is a set of bands that express regime intensity as chart structure rather than as a separate panel line.
3. Layered Band Geometry
Three band families are used:
Inner bands for local equilibrium
Outer bands for state extension
Far bands for exceptional displacement
4. Non-Repainting Higher Timeframe Confirmation
Confirmed higher-timeframe values are requested using offset expressions and lookahead handling intended to avoid future leakage on historical bars.
5. Compression and Expansion State Tracking
Cartograph Bands also classifies whether the current market state is compressing or expanding, which gives context to outer-band tests and re-entry events.
Features
Composite momentum model: Multiple internal regime factors instead of one oscillator
Mapped price-space bands: Regime intensity projected directly onto chart structure
Inner, outer, and far layers: Different depths of price displacement
MTF confirmation dashboard: Top-right summary with higher-timeframe agreement context
Compression and expansion tracking: Identifies volatility-state transitions
Outer-band re-entry events: Useful for exhaustion or reacquisition studies
State candle tinting: Visual context without heavy marker clutter
Gradient cloud system: Layered institutional-style fills
Confirmed-signal mode: Optional bar-close confirmation behavior
Alertconditions: Regime flips, re-entry, expansion, compression, and MTF conflict
How to Use This Indicator
Step 1: Read the Band State
Price inside the inner structure implies local balance. Sustained travel into outer and far layers implies stronger directional pressure.
Step 2: Check the Dashboard
Use the dashboard to confirm whether the chart-timeframe state aligns with higher-timeframe conditions.
Step 3: Watch Re-entry Behavior
Re-entry from outside the outer band can highlight exhaustion or failed extension, especially when expansion begins to fade.
Step 4: Use Compression and Expansion as Context
A compression state reduces the importance of directional interpretation. Expansion after compression matters more than random outer-band wandering.
Indicator Limitations
The mapping is adaptive, so band distance changes with symbol volatility
Higher-timeframe context is intentionally confirmed and may feel slower than live-developing HTF tools
Band interaction alone should not be treated as a complete trade system
The script maps internal regime state into price context, but it does not forecast exact reversal points
Originality Statement
Cartograph Bands is original in the way it blends multiple internal regime measurements and projects them into layered price-space geometry. Its value is not just an oscillator or just bands, but the interaction between regime scoring, mapped offsets, MTF confirmation, and state transitions.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. All mapped bands are analytical references derived from historical price behavior and should be used with sound judgment and risk management.
- Made with passion by jackofalltrades
インジケーター

Arbiter Channel [JOAT]Arbiter Channel
Introduction
Arbiter Channel is an open-source market state overlay built to classify directional control, compression, and expansion using a layered baseline-and-channel framework. The script blends an Ichimoku-inspired composite baseline, body-aware tolerance channels, and a confirmed-bar trend-state engine to identify whether price is operating in directional acceptance, compression, or expansion. Rather than acting like a generic moving average channel, Arbiter Channel is designed to map the relationship between equilibrium and displacement.
The problem Arbiter Channel solves is false trend interpretation. Price can trade above a moving average without truly being in an efficient trend, and it can look weak during healthy pullbacks inside a broader expansion. Arbiter Channel separates baseline equilibrium, tolerance acceptance, and directional displacement so that the user can tell whether price is simply oscillating around fair value, compressing inside equilibrium, or expanding away from it with intent.
Core Concepts
1. Composite Baseline Construction
The baseline is built from an Ichimoku-style blend of Conversion, Base, Span A, and Span B components, with user-controlled inclusion and weighting. This creates a smoother and more structurally aware equilibrium anchor than a single moving average:
tenkan = donchianMid(convLen)
kijun = donchianMid(baseLen)
spanA = math.avg(tenkan, kijun)
spanB = donchianMid(spanBLen)
2. ATR and Body Tolerance Channel
Instead of plotting a fixed-width envelope, the channel adapts to both ATR behavior and candle-body pressure. This helps the band respond differently during active displacement than during passive drift. The result is a tolerance corridor where trend acceptance and loss of acceptance become visually obvious.
3. Confirmed-Bar Trend State Machine
Trend transitions are only registered on confirmed bars. This avoids intrabar flipping and helps keep trend-state changes non-repainting for practical signal use. The script distinguishes directional trend shifts from regime changes, so compression and expansion can evolve without necessarily forcing a full directional flip.
4. Compression and Expansion Regimes
Arbiter Channel tracks whether price is contracting around equilibrium or extending away from it. This is important because directional trend and volatility regime are not the same thing. A bullish trend can be compressing before expansion, and expansion can fail back into balance.
5. Institutional Visualization Layer
The overlay uses nested clouds, baseline shadows, state candle tinting, controlled event labels, and a medium top-right dashboard to summarize regime and trend without clutter.
Features
Composite baseline engine: Uses multiple Ichimoku-derived components instead of a single average
Adaptive tolerance channels: Envelope width responds to volatility and body behavior
Compression and expansion classification: Distinguishes rotational balance from directional release
Confirmed-bar trend state engine: Trend shifts only confirm after bar close
Outer reclaim events: Detects price returning inside channel boundaries after extension
Cloud-based regime visualization: Multi-layer fills show equilibrium and displacement zones
State candle tinting: Candles inherit directional context without overwhelming price
Top-right dashboard: Displays current trend, regime, channel state, and internal diagnostics
Fully configurable palette: Built for dark charts with adjustable institutional tones
Confirmed alertconditions: Trend shifts, regime changes, reclaim events, and expansion bursts
How to Use This Indicator
Step 1: Read the Trend State
Start with the dashboard and baseline color. This tells you whether the script currently classifies the market as bullish, bearish, or neutral from a confirmed-bar perspective.
Step 2: Check the Regime
Compression means price is accepting around equilibrium. Expansion means price is actively displacing. Combining trend with regime helps determine whether to expect continuation or wait for release.
Step 3: Use the Channel Structure
The inner and outer bands act as context zones. Price holding outside the inner corridor during expansion is stronger than price simply crossing the baseline.
Step 4: Watch Reclaim Events
When price extends beyond the outer channel and then reclaims back inside it, that event can signal exhaustion, acceptance failure, or a return to balance.
Indicator Limitations
The baseline is a structural equilibrium model, not a predictive model
Compression and expansion are relative to the current symbol and timeframe inputs
Strong news events can create abrupt regime transitions that temporarily distort channel interpretation
The script is best used as a context overlay, not as a standalone trade trigger
Originality Statement
Arbiter Channel is original in the way it separates directional trend, equilibrium tolerance, and volatility regime into one coordinated overlay. It is not a simple moving average channel and not a direct copy of Ichimoku. The value comes from combining a composite baseline, adaptive tolerance geometry, and confirmed-bar regime logic into a single context engine.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice and does not guarantee future market behavior. Always use proper risk management.
- Made with passion by jackofalltrades
インジケーター

インジケーター

Momentum Covenant Bias [JOAT]Momentum Covenant Bias
Introduction
Momentum Covenant Bias is an open-source momentum pane designed to classify whether the market is in a constructive, defensive, balanced, or compressed state. It blends WaveTrend timing, RSI displacement, normalized trend distance, compression logic, layered state bands, pane boxes, and an optional force-overlay TP/SL scaffold when fresh confirmed momentum shifts occur.
This indicator is meant to solve timing. Trend and auction context can describe where the market is, but they do not always tell you whether momentum is actually participating in the current move. Momentum Covenant Bias translates several independent momentum dimensions into one composite state engine and presents them in a clean, institutional-style pane.
Core Concepts
1. WaveTrend Timing
WaveTrend serves as the primary turning-point rhythm engine. The script uses the relationship between the main line and signal line to measure timing pressure.
2. RSI Displacement
RSI is evaluated not only relative to 50, but also relative to its own smoothed mean. This helps distinguish raw strength from persistent displacement.
3. Normalized Trend Distance
Price distance from the slower trend baseline is normalized by ATR so the output remains portable across markets with different price scales.
4. Compression State
Compression logic compares recent range behavior to a slower baseline. This helps identify lower-energy conditions before expansion.
5. State Boxes and Overlay Scaffold
The pane includes positive, negative, and compression zones, and can project a force-overlay TP/SL scaffold on the chart when a fresh momentum shift is confirmed.
Features
Composite momentum score: Combines WaveTrend, RSI, trend distance, and compression context
Signal line: Smoothed line for momentum transitions
Layered state bands: Positive, negative, and extension zones rendered as gradients
Compression boxes: Visual isolation of low-energy conditions
Top-right dashboard: Displays composite score, signal, wave state, RSI, compression, trend distance, and scaffold status
Force-overlay TP/SL scaffold: Optional informational rails on fresh positive or negative momentum shifts
Confirmed-bar state promotion: Uses confirmed bars for event states instead of unstable intrabar triggers
How to Use This Indicator
Step 1: Read the composite state first. Balanced states should be interpreted differently from impulse states.
Step 2: Compare the composite score to the signal line. Fresh separation often matters more than absolute level alone.
Step 3: Watch compression zones. These can help explain why a market is not yet extending despite directional context elsewhere.
Step 4: If using the optional scaffold, treat it as a planning aid that reflects momentum state, not as a standalone trade system.
Indicator Limitations
Momentum state can reverse quickly in whipsaw markets
Compression logic can remain active for extended periods in slow markets
WaveTrend and RSI are still derivatives of price and can lag during violent reversals
The overlay scaffold is informational and does not execute orders
Originality Statement
Momentum Covenant Bias is original in the way it combines multi-source momentum confirmation, pane state boxes, gradient regime presentation, and force-overlay planning rails in one open-source script. The indicator is intended as a timing layer that complements structure and auction context instead of replacing them.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Momentum conditions are derived from historical price behavior and may fail or reverse without warning. Use proper risk management and independent validation.
-Made with passion by jackofalltrades
インジケーター

Sigma Channel [JOAT]JOAT Sigma Channel
Introduction
JOAT Sigma Channel is an open-source regression-based channel overlay built to identify the best-fit directional corridor across a search range of candidate windows.
It is designed to show whether price is traveling normally inside a fitted corridor, stretching away from it, reclaiming it, or moving into stress territory.
The problem it solves is model selection.
A fixed-length regression channel can look excellent in one regime and poor in the next.
If the market accelerates, slows down, or shifts its dominant drift horizon, a static window becomes less useful.
Sigma Channel solves that by searching a range of possible windows and selecting the strongest available fit.
That fit becomes the active corridor.
Around it the script builds multiple sigma tiers.
These tiers create a richer price-state map than a single upper and lower band.
The result is a more useful framework for reading acceptance, stretch, reclaim, and exhaustion.
Core Concepts
1. Multi-Window OLS Search
The script evaluates multiple candidate regression windows and scores them by fit quality.
for len = minWindow to maxWindow by stepWindow
= f_model(len)
2. Sigma-Tier Envelope Stack
The fitted centerline is surrounded by inner, core, outer, and stress layers.
3. Slope and Quality Diagnostics
The chosen model exposes both slope and fit quality.
4. Reclaim and Acceptance States
The script identifies when price reclaims or accepts back inside the corridor after extension.
5. Stress-State Shading
The most extreme statistical layer is visually emphasized.
6. Forward Projection
The active model projects forward to keep the corridor useful at the right edge.
7. Residual Awareness
Residual behavior helps judge whether the active model remains representative.
8. Gradient Candle Context
Bar coloring transitions with the current statistical state.
Features
Adaptive regression search: scans multiple windows instead of using one fixed length
Inner, core, outer, and stress bands: multiple sigma tiers for normal and abnormal travel
Slope-aware corridor logic: distinguishes positive and negative drift
Reclaim and acceptance events: return-to-channel behavior is identified
Stress shading: abnormal statistical extension is highlighted
Forward projection: the active corridor extends to the chart edge
Gradient candle tinting: bar color reflects the current z-state
Dashboard: slope, quality, window, and deviation state are summarized
Input Parameters
Model Search:
Minimum Window
Maximum Window
Window Step
Minimum R-Squared
Projection Bars
Deviation Envelope:
Inner Sigma
Core Sigma
Outer Sigma
Stress Sigma
Filter Stack / Visual System:
Bias EMA
ATR Length
Momentum RSI
Use EMA Bias Gate
Use RSI Gate
Use Volume Gate
Tint Bars
Show Projection
Show Dashboard
How to Use This Indicator
Step 1: Check the active slope and whether the corridor is upward, downward, or balanced.
Step 2: Check fit quality before trusting the active statistical path.
Step 3: Read whether price is inside the core corridor, at the outer layer, or in stress territory.
Step 4: Watch reclaims back into the channel after extension.
Step 5: Use the projection to organize the near-future chart space.
Indicator Limitations
The selected best-fit window can change as the market evolves
Linear regression becomes less representative in strongly nonlinear markets
Statistical extension does not guarantee immediate reversal
The indicator measures deviation from a model, not directional certainty
Originality Statement
This script is original in the way it combines adaptive regression selection, multi-tier sigma structure, reclaim logic, stress-state shading, and forward projection into one corridor framework.
The goal is not just to draw a regression channel.
The goal is to keep the active model responsive while preserving statistical context.
Disclaimer
This indicator is provided for educational and informational purposes only.
It is not financial advice.
Regression fit and statistical deviation do not predict future price with certainty.
Markets can remain extended or break away from the active fit entirely.
Best Use Cases
Reading whether price is behaving normally inside a fitted directional corridor
Identifying statistical stretch and stress states
Watching for reclaim behavior after extension
Combining statistical deviation with separate structure or liquidity analysis
Interpretation Notes
The channel should be trusted more when fit quality is stronger and the slope is clear.
Core travel is generally more normal than outer-band travel.
Stress states are especially useful when they coincide with separate structural or participation warnings.
The projection should be read as a continuation of the current best-fit model, not as a forecast guarantee.
Publication Notes
This script is intended to be published with a clean chart where the corridor, the active slope, and at least one reclaim or extension state are obvious.
The example chart should help the viewer understand how the band hierarchy works.
Avoid combining it with unrelated overlays in the publication image.
-Made with passion by jackofalltrades
インジケーター

Concordance Strategy [JOAT]JOAT Concordance Strategy
Introduction
JOAT Concordance Strategy is an open-source multi-factor TradingView strategy designed to integrate the JOAT indicator stack into one execution framework.
It combines regime context, liquidity interaction, retracement logic, pressure confirmation, channel behavior, and participation filters to decide when enough independent evidence exists to justify a trade.
The problem it solves is single-factor dependency.
Trend-only systems often chase poor location.
Liquidity-only systems can trigger too early.
Oscillator-only systems can fade strong directional auctions.
Retracement-only systems can buy weak pullbacks without sponsorship.
This strategy attempts to solve that by requiring overlap.
It does not assume one tool family is sufficient on its own.
Instead, it asks whether multiple analytical dimensions agree.
That agreement is what the strategy calls concordance.
Core Concepts
1. Regime Gate
The strategy first evaluates local and higher-timeframe baseline structure, slope, volatility state, and directional control.
2. Hard and Soft Directional States
The system uses stronger and softer directional states instead of an all-or-nothing gate.
3. Liquidity and Structure Stack
Entries consider sweep behavior, break state, and displacement.
4. Retracement and Confluence Layer
Local and HTF retracement context help determine whether price is pulling back into a structurally meaningful area.
5. Pressure Confirmation
Pressure logic attempts to confirm that price action has sponsorship behind it rather than only visual momentum.
6. Sigma Channel State
Channel logic helps determine whether price is re-entering a directional path or fading from extension.
7. Participation Filter
Relative volume and delta-style participation help avoid weak sponsorship environments.
8. Risk and Exit Model
The strategy uses structure-aware ATR stops, partial exits, break-even logic, trailing behavior, and optional time exits.
Features
Integrated multi-factor entry model: regime, liquidity, retracement, pressure, channel, and participation
More active soft-entry path: allows more trades while keeping directional structure
Confirmed-bar logic: entries use confirmed state conditions
Equity-risk sizing: position size is derived from risk per trade
ATR and structure-aware stops: volatility and market structure both matter
Two-stage profit taking: TP1 and TP2 split the exit logic
Break-even and trailing logic: protects trades after expansion
Time-based exit: removes stale positions when needed
Dashboard: regime, confluence, pressure, ledger, and position state are displayed
Strategy Properties Used by Default
Initial capital: 100000
Commission type: percent
Commission value: 0.02
Pyramiding: 0
Position sizing: equity-risk based
Trade management: partial exits, break-even logic, ATR trail, optional time exit
How to Use This Strategy
Step 1: Treat it as a research framework rather than a promise of future performance.
Step 2: Evaluate it across multiple markets and timeframes because the more permissive logic should produce broader participation than the earlier strict version.
Step 3: Judge the quality of the trade distribution rather than focusing on one isolated metric.
Step 4: Respect the compromises between selectivity and trade frequency.
Step 5: Use realistic expectations and avoid reading a single backtest as proof of repeatable future outcomes.
Strategy Limitations
The strategy still depends on confirmed conditions and can therefore enter later than a discretionary trader
Trade frequency and quality vary significantly by symbol and timeframe
Default settings are general-purpose and may not be ideal for every market
Optimizing too aggressively can become curve fitting
Backtest results are hypothetical and do not guarantee future performance
Originality Statement
This strategy is original in how it requires agreement across regime, liquidity, retracement, pressure, channel, and participation modules before or during entry qualification.
The components are not merged simply to produce a busier system.
Each one addresses a different failure mode in execution.
Their overlap is the basis for participation.
Disclaimer
This strategy is provided for educational and informational purposes only.
It is not financial advice.
Backtest results are hypothetical and depend on assumptions, settings, and market selection.
They do not guarantee future returns.
Trading involves substantial risk of loss.
Always validate assumptions independently and use responsible risk management.
Best Use Cases
Researching whether cross-confirmation improves selectivity over single-factor systems
Studying how regime, liquidity, retracement, and participation interact inside one strategy
Comparing trade frequency across markets and timeframes after the softer entry expansion
Testing realistic risk-management assumptions inside a multi-layer strategy
Interpretation Notes
This strategy should be evaluated as a process, not as a single summary metric.
Trade count matters.
Distribution of trades matters.
How the system behaves across different instruments matters.
The softer entry path was added to prevent the strategy from becoming too inactive, especially on higher timeframes.
That makes the strategy more usable for broad testing while still preserving directional structure.
Publication Notes
This strategy should be published with a clean chart and realistic default Properties.
If showing results, the description should stay grounded and avoid implying that one test run guarantees future outcomes.
The chart image should make the strategy entries and exits easy to understand.
-Made with passion by jackofalltrades
Evaluation Framework
1. Start by checking whether the strategy is active on the instrument and timeframe you care about.
2. Compare trade count before and after threshold changes.
3. Review whether trade quality remains acceptable as activity increases.
4. Study the interaction between regime, liquidity, pressure, and participation at entry.
5. Judge the strategy by distribution and robustness rather than one isolated metric.
Why This Matters
The strategy exists to test whether agreement across multiple independent analytical layers can improve execution quality.
That research question is more important than any one headline metric.
Open-Source Notes
This strategy is published open source so users can inspect how the modules overlap and how the risk model is applied.
Who This Is For
This strategy is for users who want to study how multiple context layers can be combined inside one execution model.
It is not intended for anyone looking for a one-click guarantee.
Summary
JOAT Concordance Strategy is best understood as a structured research tool.
It exists to test whether regime, liquidity, retracement, pressure, channel, and participation agreement can improve decision quality.
Additional Notes
This strategy should be judged with realistic commission and execution assumptions.
It should also be evaluated on enough trades to produce a meaningful sample.
The defaults are intended to stay grounded rather than theatrical.
ストラテジー

Covenant Regime Atlas [JOAT]Covenant Regime Atlas
Introduction
Covenant Regime Atlas is an open-source Pine Script v6 market-regime indicator built to classify directional state through trend, expansion, persistence, and retest quality. Its purpose is not to predict the next trade by itself, but to create a durable bias layer that tells the trader whether the market is developing a bullish regime, a bearish regime, or a maturing directional environment worth respecting.
The problem this script solves is context instability. Many traders can spot a moving-average crossover or a burst in ATR, but that alone does not answer whether the regime is actually mature, whether momentum has real separation, or whether recent retests are behaving consistently with the dominant trend. Covenant Regime Atlas addresses this by blending multiple regime components into one overlay and dashboard.
The script uses a dual-mid framework derived from EMA and HMA references, ATR-scaled cloud and envelope bands, persistence measurement, heat normalization, slope impulse, and retest memory. This lets it move beyond a simple bullish-versus-bearish cross and instead describe whether the regime is developing, mature, expanding efficiently, or internally cooling.
The result is an indicator for traders who want a cleaner read of bias before interpreting any trigger tool. It is especially useful as a regime filter for execution indicators and strategies that should behave differently in mature directional flow versus unstable transition periods.
Core Concepts
1. Directional Mid Versus Structural Mid
The script creates a fast directional midpoint and a slower structural midpoint using blended EMA and HMA references. The spread between those two curves forms the backbone of regime direction.
float directionalMid = math.avg(emaFast, hmaFast)
float structuralMid = math.avg(emaSlow, hmaSlow)
bool trendBull = directionalMid > structuralMid
This gives the regime engine more shape than a single moving average crossover. The directional mid measures active flow. The structural mid measures slower context.
2. Regime Strength Through Separation And Heat
Regime strength is calculated from ATR-normalized spread plus the distance of normalized heat from its midpoint. In other words, the regime is strongest when the fast and slow structures are well separated and price is also positioned decisively within its recent range.
This helps avoid overvaluing tiny directional crosses that occur with little actual separation or energy.
3. Persistence And Maturity
Every regime needs time to prove itself. The script counts how long the current directional condition has been intact and compares that against a user-defined persistence floor. Once the threshold is met, the regime is treated as mature rather than merely developing.
This matters because a fresh directional flip is different from a directional condition that has held for many bars and survived multiple retest opportunities.
4. Retest Memory
After a mature regime forms, the indicator watches for controlled retests of the directional midpoint. Bull retests occur when price revisits the midline from above and closes back above it. Bear retests use the opposite condition. The last retest is stored as a dotted line and extended forward until it becomes irrelevant.
This gives the trader a simple memory of where the market most recently confirmed trend participation.
5. Pulse, Expansion, And Efficiency
The script also measures volatility expansion, slope impulse, heat drift, trend separation percentage, and directional travel efficiency. These metrics allow the dashboard to distinguish between a mature regime that is expanding forcefully and one that is mature but internally cooling or grinding.
Features
Bull and bear regime classification: Uses fast-versus-slow blended midpoints to define directional control
Maturity logic: Distinguishes developing regimes from mature ones using persistence counting
ATR-scaled cloud and envelope: Frames the current directional corridor directly on the chart
Retest memory engine: Stores the latest mature-regime retest level for forward reference
Initiation band: Preserves the regime start envelope so traders can judge distance from the original launch zone
Pulse ribbon: Adds a compact visual band around price to reflect internal heat conditions
Regime backdrop shading: Tints the chart according to the active directional state
Detailed dashboard: Displays strength, heat, persistence, expansion, slope pulse, retest distance, maturity, efficiency, and more
Confirmed-bar alerts: Includes mature bias, retest, expansion, continuation, efficient trend, and heat-reset conditions
Data-window outputs: Exposes regime internals for systematic reading or comparison
Visual Elements
Directional cloud: The gap between the fast and slow regime mids shows whether the market is operating with clean separation
Envelope bands: ATR-based boundaries help frame the active directional corridor around price
Initiation band: The regime launch area stays visible so users can measure how far the trend has traveled from origin
Retest line memory: The latest confirmed retest is preserved as a direct chart reference
Backdrop and pulse ribbon: Context shading and the pulse band make regime character readable without overloading the chart
Best Practices
Treat mature regimes differently from developing ones because the same trigger can behave very differently in each state
Watch heat drift when a regime remains mature but starts losing internal energy
Use retest memory to frame participation zones rather than chasing every extension away from the midline
Give more weight to regimes that show both persistence and expansion instead of one without the other
Use the atlas as a context engine first and an alert source second
Input Parameters
Trend Engine:
Fast Length: Sets the faster directional reference
Slow Length: Sets the slower structural reference
Heat Window: Defines the range-normalization window for heat calculations
ATR Length: Controls volatility normalization
Cloud Width Factor: Sets the width of the directional cloud and envelope
Retest Engine:
Show Retest Memory: Toggles retest storage and line rendering
Retest Cooldown Bars: Prevents retests from firing too frequently
Persistence Floor: Sets how many bars are required before a regime is considered mature
Show Initiation Band: Displays the preserved start range of the current regime
Maturity Window: Controls maturity scaling and travel-efficiency measurements
Display:
Show Dashboard toggle
Show Regime Backdrop toggle
Show Pulse Ribbon toggle
Independent bull, bear, neutral, and panel colors
How to Use This Indicator
Step 1: Read Regime Tag And Strength
Begin with the dashboard’s regime tag. It tells you whether the market is bullish or bearish and whether that state is still developing or already mature. Pair that with the strength reading to avoid confusing a weak directional bias with a strong one.
Step 2: Check Persistence And Expansion
Persistence tells you how long the regime has survived. Expansion tells you whether volatility is supporting the move. A mature regime with positive expansion usually deserves more respect than a new regime with weak expansion.
Step 3: Use Retest Memory As A Structural Anchor
When the retest line is present, it marks the last meaningful participation check inside the trend. That line can help frame whether the current move is still building from a healthy base or drifting too far away from supportive structure.
Step 4: Watch Heat Drift And Efficiency
Heat drift helps show whether the regime is internally warming or cooling. Efficiency tells you whether directional travel has been orderly. These readings are helpful when deciding whether the trend still looks clean or is becoming unstable.
Step 5: Use It As The Bias Layer For Other Tools
Covenant Regime Atlas is best used as a bias filter. It helps define whether you should be thinking continuation, pullback participation, or caution. Pair it with your own trigger logic rather than using the regime alone as a full trading plan.
Indicator Limitations
A developing regime can fail before reaching maturity, especially in choppy markets
Retest memory is useful for context, but the stored retest level is not guaranteed to hold on future tests
Efficiency and heat drift are descriptive metrics, not predictive guarantees of continuation
The indicator can still classify a directional state during periods where execution conditions are poor for actual trading
Originality Statement
Covenant Regime Atlas is original in the way it blends trend separation, maturity, retest memory, expansion, and efficiency into a unified regime overlay. It is not just a moving-average cloud with added cosmetics:
It separates directional identity from maturity, allowing the user to distinguish developing and established regimes
It stores retest memory as a living structural feature instead of relying only on static crossover logic
It combines heat, slope, expansion, and efficiency into one dashboard so regime quality can be judged from multiple dimensions
It preserves the initiation band of the current regime, which gives context that typical trend overlays do not maintain
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Regime readings describe current market structure and internal state based on historical prices. They do not guarantee future movement or profitable trading decisions. Always use independent judgment and proper risk management.
-Made with passion by jackofalltrades
インジケーター

Meridian Imbalance Ledger [JOAT]Meridian Imbalance Ledger
Introduction
Meridian Imbalance Ledger is an open-source imbalance mapping tool that tracks confirmed chart-timeframe, higher-timeframe, and micro-structure fair value gaps inside one coordinated framework. The script is designed to answer three practical questions: where imbalance was created, whether that imbalance is still active, and how price is behaving when it returns to those zones.
The indicator solves a context problem. Many imbalance tools only mark a gap once and leave the trader to manually judge whether it remains relevant. Meridian instead maintains a living ledger of active zones, inversion status, fill progress, age, and structural pressure so the chart shows which imbalances still matter and which ones have been consumed.
Core Concepts
1. Multi-source imbalance detection
Meridian separates imbalance generation into three sources:
Chart timeframe imbalances
Higher-timeframe imbalances requested with non-repainting offset logic
Optional micro-structure imbalance scans from lower-timeframe data
This allows a trader to see whether current price is interacting with local inefficiency, inherited higher-timeframe inefficiency, or smaller sub-bar displacement inside the current bar structure.
2. Fill progress and retirement logic
Each zone remains active until its fill rule is satisfied. The script supports configurable retirement behavior so zones can be treated as mitigated on a simple touch, midpoint interaction, or deeper body-based invalidation depending on the chosen rule set.
3. Inversion tracking
If price meaningfully breaches an imbalance, the zone can be treated as structurally altered rather than simply forgotten. Meridian keeps inversion state so prior bullish inefficiency can become resistance context and prior bearish inefficiency can become support context.
4. Age and pressure weighting
Not all zones deserve equal weight. Meridian tracks zone age and active count to create a pressure ratio that helps communicate whether bullish or bearish imbalance structure is dominating the chart right now.
Features
Chart, HTF, and micro imbalance layers: Multiple imbalance sources displayed in one coordinated ledger
Non-repainting HTF requests: Higher-timeframe data requested using historical offsets for safer confirmed context
Fill-progress tracking: Zones remain active until their configured retirement condition is met
Inversion state handling: Breached imbalances can remain visible as flipped structural context
Age-aware zone fading: Older zones visually decay to reduce clutter while retaining context
Pressure ratio and active counts: Quick read on whether bullish or bearish imbalance pressure is leading
Compact top-right dashboard: Displays counts, inversion totals, micro scan status, and bias ratio
Confirmed-bar alerts: New imbalance, inversion, and state transitions only trigger on confirmed bars
How to Use This Indicator
Step 1: Identify whether current price is trading inside fresh chart-timeframe imbalance or approaching older inherited imbalance from a higher timeframe.
Step 2: Use the dashboard counts and bias ratio to judge whether current imbalance structure is skewed toward support or resistance.
Step 3: Monitor inversion states. A previously bullish zone that has failed cleanly may become useful resistance context on retests.
Step 4: Treat micro imbalance scans as execution detail, not a standalone trend signal. The broader chart and HTF layers should carry more decision weight.
Limitations
Micro-structure scans depend on lower-timeframe availability and plan limits
HTF imbalances are intentionally delayed by one completed HTF bar to reduce repaint risk
An imbalance zone is contextual, not a guarantee of reversal or continuation
Originality Statement
Meridian Imbalance Ledger is original in the way it combines confirmed chart imbalances, non-repainting higher-timeframe imbalance inheritance, optional micro scans, and zone lifecycle management into one stateful framework. The script is intended as a structured market context layer, not a one-click entry signal.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not provide financial advice or trade recommendations. Imbalance reactions can fail, invert, or be ignored entirely by the market. Always use independent confirmation and risk management.
インジケーター

Long-Term Growth Stock ScorerLong-Term Growth Stock Scorer plots a 7-criterion scoring system on any stock, identifying high-quality growth setups and signaling 200 EMA retest entries. Designed for long-term investors building positions in trending stocks with confirmed strength across trend, momentum, and participation.
THE 7-CRITERION SCORECARD
Each stock is scored 0-7 based on:
Price above daily 200 EMA — primary trend
50 EMA above 200 EMA — golden cross alignment
200 EMA sloping up — confirmed long-term uptrend
Price above weekly 200 EMA — multi-timeframe confirmation
Relative strength vs benchmark (S&P 500, NASDAQ 100, TSX Composite, FTSE, ASX, Russell 2000, or any custom symbol)
RSI in healthy range (40-70) — momentum quality, not exhausted
Volume trend rising — institutional participation expanding
SIGNALS
BUY label fires when a qualified stock (score >= threshold) retests its 200 EMA on volume
WEAK label fires when a held position drops below the qualification threshold
Background highlight when current score is in the qualified zone
Three built-in alerts: buy signal, score weakening, and score strengthening (entering the qualified zone)
FEATURES
Configurable benchmark index — works for any major market or custom symbol
Live dashboard showing each criterion's pass/fail status, current RSI value, and distance from 200 EMA
Six dashboard position options
Adjustable minimum score threshold (default 5/7)
Volume confirmation toggle for retest signals
HOW TO USE
Run on any stock chart on the daily timeframe. Set your benchmark to match the stock's market (S&P 500 for US stocks, TSX Composite for Canadian stocks, etc.). Use the dashboard to scan watchlist stocks for current qualification. When a qualified stock retests its 200 EMA on rising volume, the BUY signal fires.
Best used as a confirmation layer alongside fundamental analysis — strong technical setups need strong businesses underneath.
Open-source. Feedback and forks welcome. インジケーター

Tectonic Ribbon Oscillator [JOAT]Tectonic Ribbon Oscillator
Introduction
Tectonic Ribbon Oscillator is an open-source lower-pane momentum field built from twenty lag-reduced strands. The script classifies whether momentum is in bullish expansion, bearish expansion, or twist compression by comparing the ribbon's fast, mid, and slow structure instead of relying on a single oscillator line.
The problem Tectonic solves is momentum depth. A single oscillator can show direction, but it usually hides how broad or fragile the move actually is. Tectonic exposes ribbon breadth, spread, slope, and divergence in one framework so the user can distinguish acceleration from compression.
Core Concepts
1. Multi-Strand Ribbon Construction
Each strand uses a progressively larger lookback and lag-reduced smoothing. This creates a depth field rather than a single-value oscillator.
2. Fast-Mid-Slow Spread Logic
The oscillator compares grouped ribbon averages and uses the spread to determine whether momentum is directional or twisted into compression.
3. Regime Classification
Bull, bear, and twist states are identified from the spread and held as confirmed regime transitions.
4. Divergence Validation
Price pivots and ribbon pivots are compared to identify confirmed bullish and bearish divergence without using future leaks.
5. Momentum Support Layers
Histogram and slope components add a second view of how the ribbon is accelerating or decelerating internally.
Features
Twenty-strand momentum ribbon: Progressive lookbacks create a true depth profile
Lag-reduced smoothing: Ribbon strands are stabilized without reverting to a slow classic oscillator
Twist regime detection: Compression is explicitly separated from directional impulse
Confirmed divergence logic: Bullish and bearish divergence are tracked from confirmed pivot relationships
Histogram and slope overlays: Secondary layers help gauge acceleration quality
Top-right dashboard: State, spread, slope, histogram, depth, divergence, last shift, confirmation, and breadth are reported continuously
How to Use This Indicator
Step 1: Read the regime
Bull and bear states indicate directional momentum dominance. Twist indicates compression or unstable breadth.
Step 2: Compare spread and slope
A large spread with weakening slope often indicates mature momentum. A fresh spread expansion with improving slope usually indicates earlier-cycle momentum.
Step 3: Respect divergence in context
Confirmed divergence is most useful when it appears against an already stretched ribbon state.
Indicator Limitations
Divergence is not a reversal guarantee
Twist states can persist for long periods in balanced markets
Shorter settings will react faster but can become noisy
The oscillator is a momentum context tool and should be combined with market structure or regime logic
Originality Statement
Tectonic Ribbon Oscillator is original in the way it assembles a twenty-strand lag-reduced ribbon, grouped spread classification, divergence validation, and dashboard reporting into one momentum framework rather than publishing a lightly modified RSI derivative.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Momentum and divergence signals can fail, especially during high-volatility structural breaks. Use independent analysis and risk management.
インジケーター

eXeTRADE Main Dual Score Signal Indicator# eXeTRADE-Main — Dual-Score Signal Indicator
**Trend • Support/Resistance • Higher-Timeframe • Backtest — all in one score**
---
## What it does
eXeTRADE-Main is a multi-factor signal indicator built for medium-to-experienced traders on **1H, 4H, and Daily** timeframes. It calculates **Long and Short scores independently** from five weighted layers — Trend, Support/Resistance, Momentum, Higher Timeframe, and Risk/Reward — and produces three signal grades:
- **Strong Buy / Sell** — score ≥ 90
- **Normal Buy / Sell** — score ≥ 75
- **Range Buy / Sell** — when R:R ≥ 3.0
The indicator is designed for **plan-driven, low-risk trading**. It auto-detects trend lines and parallel channels, ranks the top three S/R levels by strength, runs a weekly Best-MA backtest, and applies a **Proximity Gate** that penalises signals fired too close to a strong opposing level — the most common cause of immediate reversals.
## Key features
- Dual scoring — Long and Short calculated independently (0–100 scale)
- 14-MA + Best-MA weekly backtest (Trade / Long / Short / S/R averages auto-tuned)
- 3-layer trend line + parallel channel auto-detection with break tracking
- Pivot-based S/R with touch counting and violation tracking; top 3 selected by strength
- HTF context — EMA50/200, RSI, pivot, Ichimoku cloud, and volume folded into the score
- **Proximity Gate** — soft-block or hard-block when entry sits within 0.5×ATR of opposing S/R
- Built-in backtest engine with S/R trailing stop
- Position-management panel for manual entry / TP / SL tracking
- Single consolidated master alert (one alert covers every signal and trail event)
## How to read the chart
Numbered markers on the cover image:
1. **Score Panel** — current Long/Short scores with delta arrows, ATR, and trail status
2. **Top S/R Levels** — three strongest levels, ranked by point score
3. **Backtest Results** — trade count, win/loss, win rate, total P/L, max drawdown
4. **Buy Signal** — green triangle marks Strong / Normal / Range Buy entries
5. **Trail Exit** — yellow × marks where the trailing stop was hit
6. **Auto Trend Lines** — multi-layer trend with parallel channels
## Important settings
- **Backtest Period** — 1 Mo / 3 Mo / 6 Mo / 1 Yr / All
- **Entry Mode** — Single (one position) or Multi (pyramiding)
- **Signal Levels** — Strong (default 90) and Buy/Sell (default 75) thresholds
- **Proximity Gate Mode** — Off / Warning / Soft Block / Hard Block
- **HTF Auto-Bump** — automatically lifts the HTF reference one level if the chart TF matches HTF
## Alerts
A single **master alert** is recommended — it fires for every signal and trail event in one channel. Individual alerts (Strong Buy, Strong Sell, Trail Hit, Channel Break, etc.) are also available if granular control is preferred.
## Best on
4H and Daily timeframes for **Forex pairs, XAUUSD, XAGUSD, and major equities**. Not recommended below 1H — short-timeframe noise reduces score reliability.
## Disclaimer
This indicator is a decision-support tool, not financial advice. **Always define stop-loss and exit plan before entry.** Past performance does not guarantee future results. Trade at your own risk.
---
*Comments and feedback are welcome.*
インジケーター

ATC MACD EvolvedWhat It Is
ATC MACD Evolved is a precision-engineered rebuild of the classic Moving Average Convergence Divergence indicator. It keeps the familiar MACD structure traders already know — fast EMA, slow EMA, signal line, histogram — and replaces every weak link in that structure with a cleaner, more reliable equivalent. The result is a MACD that reads momentum more clearly, lies less often, and tells you not just what is happening but how significant it actually is.
This is not a MACD with extra features stacked on top. It is a MACD built the right way from the foundation up.
________________________________________
Who It's Built For
ATC MACD Evolved is built for the active retail trader who already knows what MACD is, has probably used it before, and has run into its most common frustrations — late crossovers, noisy histogram readings, and signal lines that lag at the worst possible moment. If you have ever watched a MACD crossover fire and then immediately reverse, this indicator was built in response to exactly that experience.
________________________________________
Core Concept
MACD measures the distance between two exponential moving averages of price — a faster one (default 12 periods) and a slower one (default 26 periods). When the fast EMA pulls ahead of the slow EMA, momentum is building. When it falls behind, momentum is fading. The gap between the two is the MACD line. The signal line smooths that gap to make crossovers more readable. The histogram is the gap between the MACD line and the signal line — it expands when momentum is accelerating and compresses when it is slowing.
That is the retail MACD. It works. But it has three structural problems. The signal line uses EMA smoothing, which lags and causes late crossovers. The histogram has no scale reference, so you cannot tell whether a reading is large or small for the instrument you are trading. And the divergence logic, when it exists at all in retail tools, is not filtered — it fires constantly and most of those signals are noise.
ATC MACD Evolved solves all three.
________________________________________
The Upgrades
HMA Signal Line
The signal line is replaced with a Hull Moving Average of the same default length. HMA is specifically designed to reduce lag while maintaining smoothness. In practice this means crossovers occur closer to the actual momentum shift rather than well after it has already occurred. The MACD line itself remains a standard EMA-based calculation — the HMA is applied only to the signal line, which is the part of the system most responsible for late signals.
Standard-Deviation-Normalized Histogram
Every histogram print is measured against the instrument's own historical standard deviation over the last 200 bars. This produces a normalized strength score — call it the histogram Z-score — that tells you objectively whether the current histogram reading is strong, moderate, or weak relative to what this instrument normally produces at this timeframe. A histogram bar that looks big might actually be ordinary. A histogram bar that looks small might be historically significant. The normalization removes that ambiguity.
The histogram is then rendered in one of eight visual states based on direction, strength, and whether momentum is accelerating or fading. Strong bullish prints glow at full opacity. Weak prints render faded. Fading momentum mid-trend is visually distinct from genuine weakness. You can read the state of momentum at a glance without needing to interpret numbers.
Conservative Pivot-Confirmed Divergence Engine
Divergence is off by default. When enabled, it does not fire on every wiggle. It requires confirmed price pivots — actual swing highs and lows — before comparing histogram behavior at those pivots. The pivot confirmation is hard: the engine waits for the required number of bars on both sides of the pivot to confirm before flagging anything. It also enforces minimum and maximum bar separation between pivots, rejecting micro-divergences that form on adjacent bars and stale divergences where the pivots are too far apart to be meaningful. There is also an optional same-side-of-zero filter, which requires both histogram pivots to be on the same side of the zero line — bear divergence requires both readings above zero, bull divergence requires both below. This filter alone eliminates a large category of false divergence signals that retail tools produce constantly.
________________________________________
Chart Visuals
MACD Line — Electric Blue The core momentum line. Tracks the spread between the fast and slow EMA.
Signal Line — Gold The HMA-smoothed signal. Crossovers between the MACD line and signal line are primary signals.
Histogram Columns The gap between the MACD line and signal line, rendered in color-coded columns with a visual scale multiplier applied for readability (default 1.75x). This multiplier is display-only and does not affect any calculations, alerts, or HUD values. The columns use eight visual states driven by direction, normalized strength, and slope:
• Bright green, full opacity — bullish, accelerating, strong
• Green, slightly faded — bullish, accelerating, moderate strength
• Green, heavily faded — bullish but statistically weak (watch for stall)
• Green, partial fade — bullish but decelerating (momentum losing steam)
• Bright red, full opacity — bearish, accelerating, strong
• Red, slightly faded — bearish, accelerating, moderate
• Red, heavily faded — bearish but weak (bear pressure fading)
• Red, partial fade — bearish but decelerating (recovery building)
MACD / Signal Cloud A filled region between the MACD line and signal line that changes color and opacity based on the combined state of both lines relative to each other and to the zero line. Darker and more saturated when both are on the same side and in agreement. Lighter and more transparent during transitional phases.
Momentum Background A subtle background tint across the full panel — green when MACD is above signal, red when below. The tint is stronger when the MACD line is also above zero (bull control) and lighter when it is below (recovery or transition). This gives you an immediate panel-level read on regime without needing to look at individual lines.
Zero-Line Glow The zero line is rendered with a colored glow that reflects the current histogram direction — green when histogram is positive, red when negative. This provides a subtle but consistent reference point for zero-line crossover events.
Crossover Dots At every signal-line crossover, a dot and surrounding glow appear on the MACD line. The glow renders first so the sharp dot remains visually dominant. Bull crossovers are green, bear crossovers are red.
Divergence Labels (optional) When divergence is enabled and a confirmed pivot-to-pivot divergence is detected, a BULL DIV or BEAR DIV label appears on the histogram at the pivot bar. Labels are placed on the visually scaled histogram so they align with the displayed columns.
________________________________________
The HUD
The HUD is a live data panel rendered in the corner of the indicator panel. It updates on every bar close and gives you a structured summary of the indicator's current state without needing to read individual lines and columns manually.
MACD — The raw MACD line value at four decimal places.
Signal — The HMA signal line value at four decimal places.
Hist Strength — The normalized Z-score of the current histogram print. Positive values indicate bullish histogram, negative bearish. The magnitude tells you how significant the print is relative to this instrument's normal range. A value above +1.5 or below -1.5 is statistically strong.
Strength — A plain-language classification of the Z-score reading: Strong, Moderate, or Weak. Strong means the current histogram print is beyond 1.5 standard deviations from zero. Moderate is between 0.5 and 1.5. Weak is below 0.5 and is the zone where momentum signals should be treated with caution.
State — A four-state momentum classification based on the position of the MACD line relative to signal and relative to zero:
• Bull Control — MACD above signal AND above zero. Full bullish regime.
• Bull Recovery — MACD above signal but below zero. Recovering from bearish territory.
• Bear Pressure — MACD below signal but above zero. Weakening from bullish territory.
• Bear Control — MACD below signal AND below zero. Full bearish regime.
Divergence — When the divergence engine is enabled, this field shows the current status: Watching (monitoring for pivots), Bull Div @ Pivot (confirmed bullish divergence at last pivot), or Bear Div @ Pivot (confirmed bearish divergence at last pivot). When the engine is off, this field shows Off.
Hist Visual — The current histogram visual scale multiplier. Displayed as a reminder that the histogram is scaled for readability only. All calculations use the true unscaled histogram values.
________________________________________
Alerts
ATC MACD Evolved includes eight configurable alert conditions:
MACD Bull Cross — Fires when the MACD line crosses above the HMA signal line.
MACD Bear Cross — Fires when the MACD line crosses below the HMA signal line.
MACD Zero Cross Up — Fires when the MACD line crosses above the zero line.
MACD Zero Cross Down — Fires when the MACD line crosses below the zero line.
Strong Bull Histogram — Fires on the first bar where the normalized histogram strength enters the strong zone on the positive side. This is a momentum acceleration alert, not a crossover.
Strong Bear Histogram — Fires on the first bar where normalized histogram strength enters the strong zone on the negative side.
Bear Divergence — Fires when the divergence engine confirms a bearish pivot-to-pivot divergence. Requires divergence to be enabled in settings.
Bull Divergence — Fires when the divergence engine confirms a bullish pivot-to-pivot divergence. Requires divergence to be enabled in settings.
________________________________________
How to Trade With ATC MACD Evolved
ATC MACD Evolved is a momentum and trend-following tool. It measures momentum quality, not price targets. Use it to confirm conditions that support entry, to gauge how much conviction exists behind a move, and to identify early signs of momentum exhaustion before a reversal becomes obvious.
Step 1 — Read the State first
Before looking at any crossover or histogram reading, check the HUD State field. Bull Control and Bear Control are the regimes where signals from this indicator carry the most weight. Bull Recovery and Bear Pressure are transitional — signals are valid but require more supporting evidence from price action or other tools.
Step 2 — Read the Histogram Strength
Check the Strength field in the HUD. A Strong reading means the histogram print is statistically significant for this instrument. A Weak reading means momentum is not confirmed — crossovers in weak histogram territory are lower conviction and should be weighted accordingly. Do not trade crossovers in Weak zones the same way you trade them in Strong zones.
Step 3 — Confirm the crossover
When the MACD line crosses the HMA signal line, a crossover dot and glow appear on the chart. The most reliable crossovers occur when the histogram is transitioning from a faded state (decelerating) to an accelerating state on the opposite side — you will see the histogram columns shift from a partial-opacity color to a full-opacity color in the new direction. Crossovers that occur with immediately Strong normalized readings are the cleanest setups.
Step 4 — Check the zero-line position
A bullish crossover above the zero line (Bull Control state) is generally stronger than one below zero (Bull Recovery). Both are valid, but the zero-line position tells you whether you are trading with the prevailing macro momentum or against it. Trade Bull Control crossovers with more size or fewer confirmations required. Trade Bull Recovery crossovers as potential turning-point setups that still need price structure support.
Step 5 — Use zero-line crossovers as trend confirmation
When the MACD line itself crosses the zero line, it marks a shift in the medium-term trend relationship between the fast and slow EMAs. Zero cross up, combined with a MACD-above-signal condition, is a two-layer confirmation of a building trend. Zero cross alerts are most useful as trend-start confirmation rather than entry triggers on their own.
Step 6 — If divergence is enabled, treat it as a caution flag
A divergence label on ATC MACD Evolved is not a buy or sell signal. It is a structural warning. Bearish divergence — price making a higher high while the histogram makes a lower high — means upside momentum is not confirming price action. This creates a fragile structure. Bullish divergence is the mirror: price making a lower low while histogram makes a higher low, indicating selling pressure is not accelerating with price. In both cases, wait for a crossover or a failed new extreme in price to act on the divergence flag.
Step 7 — Watch the histogram fade for exits
When you are in a trade and the histogram shifts from a Strong or Moderate state to a Weak state — visible as the column opacity dropping and the Strength field reading Weak — that is a warning that momentum is stalling. It is not an exit trigger by itself, but it is a cue to tighten your stop or reduce exposure. When the histogram then begins fading (decelerating) in the current direction, watch for a crossover as confirmation of a regime shift.
________________________________________
Recommended Instruments and Timeframes
ATC MACD Evolved is validated and performs well on liquid instruments with consistent volume profiles. Futures markets including ES, NQ, MES, MNQ, CL, and GC are the primary intended instruments. It is equally well-suited to major equity ETFs such as SPY and QQQ, and to major forex pairs including EURUSD, GBPUSD, and USDJPY. The normalization engine adapts to the volatility characteristics of each instrument, so the same threshold settings can be used across markets without manual adjustment.
Recommended timeframes are 5-minute through 4-hour for active trading and 1-hour through Daily for trend context and confirmation. The 200-bar normalization lookback is calibrated for these timeframes. On very short timeframes below 5 minutes, consider increasing the normalization lookback to maintain statistical stability. On weekly or monthly charts, the tool still functions correctly but is better used as a macro context layer than an entry trigger.
インジケーター

ATC Adaptive MA RibbonWhat It Is
The ATC Ribbon is a four-line moving average ribbon that automatically adjusts its sensitivity to match current market conditions. Unlike standard moving average ribbons that use fixed settings regardless of what the market is doing, the ATC Ribbon detects whether the market is trending, ranging, or transitioning — and tightens or widens the ribbon accordingly. The result is a cleaner, more responsive trend tool that reduces whipsaw in choppy conditions and stays tight to price during directional moves.
This is not a signal generator. It is a visual context engine — designed to answer one question at a glance: what is the market doing right now, and how strong is it doing it?
________________________________________
Who It's Built For
The ATC Ribbon is built for active traders working intraday to swing timeframes on futures, equities, and forex. It serves traders who use moving averages as part of their directional bias toolkit but are frustrated by the classic tradeoff: fast MAs that whipsaw in ranges, or slow MAs that lag behind trends.
If you've ever wished your moving average ribbon would behave differently in a trending market than a choppy one — without you having to manually change settings — this is what that looks like.
________________________________________
Core Concept
At its foundation, the ATC Ribbon plots four moving averages: one Hull Moving Average (HMA) as the fast lead line, and three Exponential Moving Averages (EMAs) at medium, slow, and anchor lengths. This fixed architecture — HMA + EMA + EMA + EMA — never changes. The MA types stay consistent so you always know what you're reading.
What adapts is the length configuration. The indicator runs a manual ADX calculation in the background to classify the current environment into one of three regimes:
Trend — ADX is elevated, confirming strong directional movement. The ribbon tightens by applying a multiplier below 1.0 to all lengths, making the MAs more responsive and keeping them close to price during runs.
Range — ADX is low, confirming a lack of directional conviction. The ribbon widens by applying a multiplier above 1.0, smoothing out noise and reducing false crossover signals during chop.
Transition — ADX sits between the two thresholds. The ribbon uses its base (default) lengths, representing a neutral stance while the market decides its next move.
All three ribbon configurations are precomputed on every bar. The indicator doesn't recalculate on the fly — it simply selects the appropriate pre-built set based on the current regime. This eliminates the instability and repainting issues that plague most "adaptive" moving average tools.
________________________________________
ATC Ribbon Upgrades Over Standard MA Ribbons
HMA Lead Line — The fast MA uses a Hull Moving Average instead of a standard EMA or SMA. HMA delivers significantly less lag at equivalent smoothing depth, giving you an earlier read on momentum shifts without adding noise.
Regime-Adaptive Lengths — Instead of one static ribbon that traders manually adjust for different conditions, the ATC Ribbon precomputes three discrete configurations and transitions between them using hysteresis-gated ADX classification. You get one ribbon that acts like three, without ever needing to touch your settings.
Hysteresis on Everything — Both the regime state and the alignment bias label are protected by hysteresis buffers. This means the indicator won't flicker back and forth at boundary values. A regime must clear its threshold by a user-defined margin before the indicator acknowledges the transition. The same logic applies to the bullish/bearish alignment label — it must hold its new state for a configurable number of bars before the HUD updates. This is the difference between a tool you can trust and one that makes you second-guess it.
Alignment Scoring — The ribbon doesn't just show four lines. It calculates a composite alignment score (0–100) based on two components: stack order (are the MAs properly sequenced from fast to slow?) and slope agreement (are all four MAs rising or falling together?). This score drives the ribbon color intensity and gives you a single number that quantifies how clean the current trend structure is.
________________________________________
Chart Visuals — What You'll See
The Four MA Lines — The fast HMA leads in a slightly thicker line. The medium and slow EMAs follow in thinner lines. The anchor EMA plots in a distinct darker blue, thicker line — it acts as your structural reference, similar to a 200 EMA.
Gradient Ribbon Fill — Between each adjacent pair of MAs, a semi-transparent fill creates a layered gradient effect. The fill between the fast and medium MA is the most opaque; the fill between the slow and anchor MA is the most transparent. This produces a ribbon that visually "fades" from the leading edge to the structural anchor, giving you an intuitive sense of ribbon width and separation at a glance.
Color — The entire ribbon shifts color based on the current alignment bias. Green when the stack and slope structure favors bullish. Red when it favors bearish. Blue when the alignment is neutral or transitional. The color intensity scales with the alignment score — a strong, well-ordered trend produces rich, saturated color; a weak or mixed alignment produces a muted, faded ribbon.
Regime Background Wash — A subtle background tint appears during confirmed Trend and Range regimes. In Trend, the background takes on the current ribbon color at very low opacity. In Range, it shifts to a neutral blue tint. This ambient visual cue lets you see the regime classification without looking at the HUD.
Regime Change Pulse — When the market transitions from one regime to another, a single-bar accent-colored background pulse fires. This is your visual alert that the ribbon just switched configurations.
________________________________________
The HUD — Your Dashboard at a Glance
The HUD is a compact table displayed in your chosen chart corner (default: top right) that reports five real-time data points:
Regime — Displays the current regime label (Trend, Range, or Transition) alongside the live ADX value. This tells you both what the indicator thinks the market is doing and why it thinks that.
Alignment — Shows the current directional bias: Bullish, Bearish, or Neutral. Color-coded to match the ribbon.
Score — The composite alignment score expressed as a value out of 100. A +87/100 in bullish alignment means 87% of the stack order and slope criteria favor upside. This number lets you gauge trend quality, not just trend direction.
Config — Displays the active regime multiplier and the four MA lengths currently in use (e.g., 0.70x | 6/15/35/140). This makes the adaptive behavior completely transparent — you always know exactly what settings the ribbon is running.
Price — Reports whether the current close is Above Anchor, Below Anchor, or Neutral relative to the anchor EMA. This is a fast structural reference — above anchor generally favors longs, below anchor generally favors shorts.
________________________________________
Logic Layers — How the Indicator Thinks
Layer 1: ADX Regime Detection — The indicator runs a full manual ADX calculation (not a black-box wrapper) and classifies the result against two user-defined thresholds. Below the Range threshold, the market is classified as ranging. Above the Trend threshold, it's classified as trending. Between the two, it's in Transition. A hysteresis buffer prevents the regime from flickering at the boundary.
Layer 2: Precomputed Ribbon Selection — All three ribbon configurations (Trend, Transition, Range) are computed on every bar. When the regime state changes, the indicator simply swaps which set of MA values it displays. There is no recalculation lag, no repainting, and no series-length instability.
Layer 3: Alignment Scoring — Eight binary criteria are evaluated: four for stack order (is fast above medium? medium above slow? slow above anchor? fast above anchor?) and four for slope (is each MA rising or falling compared to its prior bar?). Bullish criteria accumulate into a bull score, bearish criteria into a bear score. The higher score determines the bias, and the magnitude drives color intensity.
Layer 4: Hysteresis Gating — Both the regime label and the alignment bias label pass through hysteresis filters before updating. The regime requires ADX to clear its threshold by a configurable buffer before flipping. The alignment bias requires the new state to persist for a configurable number of bars before the HUD acknowledges it. This ensures that everything you see on the chart represents a confirmed state, not a marginal one.
________________________________________
Alerts
The ATC Ribbon includes seven configurable alert conditions:
• Entered Trend Regime — Fires when the market transitions into a confirmed Trend state.
• Entered Range Regime — Fires when the market transitions into a confirmed Range state.
• Entered Transition Regime — Fires when the market moves into the neutral Transition zone.
• Bullish Alignment — Fires when the ribbon alignment flips to Bullish after hysteresis confirmation.
• Bearish Alignment — Fires when the ribbon alignment flips to Bearish after hysteresis confirmation.
• Price Crossed Above Anchor — Fires when the close crosses above the anchor EMA.
• Price Crossed Below Anchor — Fires when the close crosses below the anchor EMA.
All alerts are one-per-event — they fire on the bar where the state change is confirmed, not on every bar where the condition is true.
________________________________________
How to Trade with the ATC Ribbon
Step 1 — Read the Regime. Before anything else, check the HUD or the background wash. If the market is in Trend regime, you're looking for continuation setups. If it's in Range regime, you're looking for mean-reversion or waiting for a breakout. If it's in Transition, stay patient — the market hasn't committed yet.
Step 2 — Check the Alignment. A Bullish alignment with a high score (above 70) tells you the ribbon is well-ordered and all four MAs are rising together. That's a clean trend structure. A Bearish alignment with a high score tells you the same thing to the downside. Neutral or low-score readings mean the trend structure is messy — be selective or wait.
Step 3 — Use the Anchor EMA as Your Structural Line. The anchor EMA (default 200-period, adjusted by regime) serves as your macro bias filter. Price above the anchor favors long setups. Price below favors shorts. This is not a signal — it's a filter that keeps you on the right side of the larger structure.
Step 4 — Look for Pullbacks into the Ribbon. In a confirmed Trend regime with strong alignment, the highest-probability entries come when price pulls back into the ribbon (toward the medium or slow EMA) and then resumes in the direction of the alignment. The ribbon acts as a dynamic support/resistance zone during trends.
Step 5 — Respect Range Regime Behavior. When the ribbon is in Range mode, it automatically widens to filter out noise. During these periods, the ribbon is telling you that directional conviction is low. Use this as a signal to reduce position sizing, tighten stops, or wait for a regime change. Forcing trend trades during a confirmed Range regime is fighting the indicator.
Step 6 — Watch for Regime Change Pulses. The single-bar background pulse that fires on regime transitions is one of the most actionable features. A shift from Range to Trend, confirmed by rising alignment score, is often the early signal that a new directional move is underway. These transitions are where the best risk/reward setups tend to form.
Step 7 — Combine with Your Edge. The ATC Ribbon is a context and bias tool, not a standalone entry signal. It's designed to be layered with your existing strategy — whether that's price action, volume analysis, key levels, or other indicators. Let the ribbon tell you what kind of market you're in and which direction it favors, then use your primary method to time the entry.
________________________________________
Settings Reference
Source — The price series used for all four MAs. Default: Close.
Base Lengths (Transition Regime) — The default MA lengths used during the Transition regime. Fast HMA: 9. Medium EMA: 21. Slow EMA: 50. Anchor EMA: 200. These are the "home base" settings that the Trend and Range multipliers adjust from.
ADX Length — The smoothing period for the ADX calculation. Default: 14. Higher values produce a slower, smoother regime classification.
Range Threshold — ADX below this value classifies the market as Range. Default: 15.0.
Trend Threshold — ADX above this value classifies the market as Trend. Default: 25.0.
ADX Hysteresis Buffer — The additional ADX distance required to exit a confirmed regime. Default: 2.0. Higher values make regime states stickier and reduce flicker.
Trend Regime Multiplier — Applied to all base lengths during Trend regime. Default: 0.70 (tightens the ribbon by 30%).
Range Regime Multiplier — Applied to all base lengths during Range regime. Default: 1.30 (widens the ribbon by 30%).
Alignment Hysteresis — Number of bars a new alignment bias must persist before the HUD and color update. Default: 2. Set to 0 for immediate updates.
Visual Toggles — Show/hide ribbon fill, MA lines, and regime background independently. All default to on.
________________________________________
Recommended Instruments and Timeframes
The ATC Ribbon is built and tested for: ES, NQ, YM, CL, GC, SPY, QQQ, major FX pairs, and large-cap stocks.
Recommended timeframes: 15-minute, 1-hour, 4-hour, and Daily. The regime detection and alignment scoring are calibrated for these intervals. Lower timeframes (1m, 5m) will produce more frequent regime changes and may require adjusted ADX thresholds. Higher timeframes (Weekly, Monthly) will work but regime transitions will be infrequent.
インジケーター

ATC SuperTrend Pro What It Is
ATC SuperTrend Pro is a trend-following indicator built on the classic SuperTrend framework and rebuilt from the ground up with three layers of intelligence the retail version simply does not have: a volatility regime engine that adapts the ATR multiplier to current market conditions, a volume participation classifier that tells you who is behind each trend flip, and a session-aware signal filter that focuses your attention on the time windows where trend flips have the highest historical follow-through. The result is a SuperTrend that doesn't just tell you which direction price is moving — it tells you whether the flip is worth acting on.
________________________________________
Who It's Built For
ATC SuperTrend Pro is designed for active intraday traders who already understand trend-following but are tired of getting whipsawed by low-conviction flips in choppy, low-volume conditions. It works best on liquid instruments with clearly defined session structure. The indicator ships with optimized pre-built profiles for QQQ on the 5-minute and 1-minute timeframes, and a fully configurable Custom mode for traders who want to tune it to other instruments or session styles.
________________________________________
Core Concept
At its foundation, this is still a SuperTrend indicator. Price closes below the dynamic ATR band, the trend flips bearish. Price closes above the band, the trend flips bullish. The band plots directly on the chart as your support and resistance anchor for the current trend.
What makes ATC SuperTrend Pro different is what happens around that flip before it is presented to you. Every flip is evaluated against three filters simultaneously:
1. Is the volatility environment appropriate? The indicator continuously measures where current ATR sits within its recent historical range. If volatility is in a low regime, the ATR multiplier compresses slightly, pulling the band closer to price and making the indicator more sensitive. If volatility is in a high regime, the multiplier expands, giving the band more room and reducing noise-driven flips. If the market is in a normal regime, the base multiplier is used as-is.
2. Is there meaningful participation behind the flip? Every flip is classified by the volume ratio at the moment of the flip — current bar volume divided by the rolling average volume. Flips that occur on low relative volume are classified as Low Participation. Flips that occur on high relative volume are classified as High Participation. This distinction matters: a trend flip on thin volume is structurally weaker than a flip that occurs with genuine market engagement behind it.
3. Is this flip occurring at a time of day when trend signals are worth acting on? Not all hours of the trading session are equal. Choppy midday drift produces a high percentage of false flips that reverse within a few bars. ATC SuperTrend Pro lets you restrict signal qualification to specific time windows — the opening hour, the second hour, and the final hour — so that the flips that make it through to a Qualified status are the ones occurring when market structure is most directional.
Only flips that pass all three gates simultaneously are elevated to Qualified status and trigger the primary markers and alerts.
________________________________________
ATC SuperTrend Pro Upgrades
The standard retail SuperTrend uses a fixed ATR multiplier applied uniformly regardless of whether the market is trending quietly or exploding through key levels. ATC SuperTrend Pro replaces that single fixed value with three layered upgrades:
Volatility Regime Engine — A rolling ATR percentile rank determines whether the market is currently in a Low, Normal, or High volatility regime. Each regime applies a different effective ATR multiplier using hysteresis-locked state transitions, meaning the indicator doesn't flicker back and forth between regimes on every bar when ATR sits near a threshold. The regime boundaries are defined by empirical percentile ranks (33rd and 67th percentile by default) rather than arbitrary round-number breakpoints.
Participation Classification — Volume at the time of each flip is compared against a rolling volume moving average. Every flip is tagged with one of three participation states — Low Participation, High Participation, or Exhaustion Risk — before any signal is qualified.
Exhaustion Risk Detection — A specific combination of conditions — high volume participation during a high volatility regime — is flagged as Exhaustion Risk rather than a clean directional signal. This is the market condition most commonly associated with climactic moves followed by reversal, and it is the one condition most retail SuperTrend tools would happily hand you as a clean entry signal. ATC SuperTrend Pro surfaces it explicitly and excludes it from qualified signals by default.
Session Time Window Filtering — Seven configurable signal windows let you define when the indicator can issue a Qualified signal. The pre-built QQQ profiles apply empirically validated time windows out of the box.
Timeframe Profiles — The Profile Engine loads pre-optimized parameter sets for QQQ 5-minute and QQQ 1-minute trading so new users don't have to guess at calibration.
________________________________________
Chart Visuals
The SuperTrend Line — The core line plots directly on price. In a bullish trend it sits below price, acting as dynamic support. In a bearish trend it sits above price, acting as dynamic resistance. The line color shifts cleanly between electric green (bullish) and electric red (bearish) on each confirmed flip. The line uses a break style so it does not draw through gaps.
Glow Layer — A wide, semi-transparent glow surrounds the SuperTrend line at 78% transparency, creating a visual halo effect. This is a cosmetic enhancement that makes the trend direction immediately readable on any chart background. It can be toggled off in settings.
Trend Fill — A gradient fill extends from the SuperTrend line to the price close, color-matched to the current trend direction. Fill opacity adjusts automatically by volatility regime: tighter and more opaque in low-volatility conditions, slightly more transparent in high-volatility conditions where the fill region widens. This gives you a passive visual read on the current regime without requiring you to check the HUD.
Candle Tinting — An optional setting tints every candle with a light wash of the current trend color at 72% transparency. Off by default.
Qualified Flip Markers (Q triangles) — The primary actionable markers. A green upward triangle with a white "Q" label appears below the bar on a Qualified Bull Flip. A red downward triangle with a white "Q" label appears above the bar on a Qualified Bear Flip. These are the only markers that trigger the primary alert conditions.
Low Participation Markers (small circles) — Cyan circles mark flips that occurred on below-average volume. These flips did not pass the participation filter for a Qualified signal. They are visible context — not action items.
High Participation Markers (small diamonds) — Gold diamonds mark flips that occurred on above-average volume but did not qualify due to time window filtering or another gate. These are structurally stronger flips than the circles, and they are worth noting even when they fall outside the active signal window.
Exhaustion Risk Markers (X crosses) — Orange X marks appear on flips classified as Exhaustion Risk — high participation volume during a high volatility regime. These are the most important non-qualified flips to understand. They are not entry signals. They are structural warnings.
Volatility Regime Change Markers (tiny accent X) — A small gold-tinted X appears at the bottom of the chart whenever the volatility regime transitions between Low, Normal, and High. This is a background awareness marker, not a trading signal.
________________________________________
HUD Breakdown
The HUD is a two-column table that anchors to your chosen chart corner and stays current on every bar close. Each row reflects a live or persistent state:
Profile — Displays the active profile: QQQ 5m, QQQ 1m, or Custom. Gold text.
Trend — Current SuperTrend direction: Bullish (green) or Bearish (red). This updates on every confirmed bar close.
Signal Window — Active or Filtered. Shows whether the current bar falls within the configured actionable time window. Green when active, grey when filtered. Useful for understanding in real time whether a flip occurring right now would qualify.
Window Mode — The abbreviated label of the current time window configuration (e.g., "Open + Final", "2nd + Final").
Action Mode — The current participation mode filter displayed in abbreviated form (e.g., "Low Part.", "Non-Exh.", "All Flips").
Vol Regime — The current volatility regime: Low (gold), Normal (grey), or High (red). Updates whenever the regime transitions.
Eff. Mult — The effective ATR multiplier currently in use after regime adjustment. In a Low volatility regime this will be less than the base multiplier. In a High volatility regime it will be greater.
Current Part. — The current bar's volume participation ratio expressed as a multiple of the rolling average (e.g., "0.84×" means below-average volume, "2.31×" means more than double average volume). Color-coded: cyan for low participation, gold for high.
Last Flip — The direction of the most recent trend flip (Bull Flip or Bear Flip).
Flip Type — The participation classification assigned to the last flip: Low Participation, High Participation, or Exhaustion Risk. Color matches the corresponding marker color.
Qualified — Whether the last flip achieved Qualified status (green "Qualified") or was filtered out (grey "Filtered").
________________________________________
Logic Layers
Reading the layers together is what separates ATC SuperTrend Pro from a standard flip-and-go indicator.
Layer 1: Trend Direction — The SuperTrend line tells you what direction the tool currently calls. This is the structural backbone. Every other layer is commentary on that backbone.
Layer 2: Volatility Regime — The regime tells you how tight or loose the market is relative to its own recent history. A Low regime means the market is coiling. A High regime means the market is already expanded. Flips in High regime conditions are more suspect — they may be climactic rather than initiating.
Layer 3: Participation — Participation tells you whether the flip had genuine volume engagement or whether it was a thin-air move. Low-participation flips in a trending environment sometimes resolve as continuation after a shallow pullback touches the SuperTrend band. High-participation flips with the trend have the most structural conviction behind them.
Layer 4: Exhaustion Risk — The highest-priority warning in the system. When all three of the following are simultaneously true — a flip occurred, volume is elevated above the participation threshold, and the market is in a High volatility regime — the tool flags Exhaustion Risk. This combination historically corresponds to moves that spike through the SuperTrend band on a burst of volume only to reverse back. Do not treat this as a confirmed directional flip.
Layer 5: Time Window — The time window filter is the final gate. Even a structurally clean flip — Low participation, Normal regime, correct direction — will not receive Qualified status if it occurs during a filtered time window. This is by design. Qualified signals are reserved for periods of the session where trend initiation is most reliable.
________________________________________
Alerts
ATC SuperTrend Pro includes eight distinct alert conditions covering every layer of the system.
Qualified Bull Flip — Fires on a confirmed bullish flip that passes all three gates: time window, participation mode, and exhaustion exclusion. This is the primary long signal alert.
Qualified Bear Flip — Fires on a confirmed bearish flip that passes all three gates. This is the primary short signal alert.
Low Participation Bull Flip — Fires on a bullish flip classified as Low Participation, regardless of time window qualification.
Low Participation Bear Flip — Fires on a bearish flip classified as Low Participation, regardless of time window qualification.
High Participation Bull Flip — Fires on a bullish flip classified as High Participation but not Exhaustion Risk.
High Participation Bear Flip — Fires on a bearish flip classified as High Participation but not Exhaustion Risk.
Exhaustion-Risk Bull Flip — Fires when a bullish flip occurs simultaneously with High Participation and a High Volatility regime. Use as a caution alert, not an entry trigger.
Exhaustion-Risk Bear Flip — Same logic for bearish direction.
Volatility Regime Change — Fires whenever the volatility regime transitions between Low, Normal, and High.
Any Flip — Fires on every confirmed trend flip regardless of classification. Useful for monitoring purposes when you want to observe all flip activity.
All flip-based alerts respect the Confirm Markers / Alerts On Bar Close setting, meaning they will not fire mid-bar — only on a confirmed bar close.
________________________________________
How to Trade (Step-by-Step)
Step 1: Select your profile. If you are trading QQQ on the 5-minute chart, select QQQ 5-Minute. If you are on the 1-minute chart, select QQQ 1-Minute. For other instruments or timeframes, select Custom and configure the parameters manually.
Step 2: Confirm the signal window is Active. Check the HUD's Signal Window row before taking any action on a flip. If it reads "Filtered," you are outside the active time window. The indicator is still tracking trend direction, but Qualified signals are not being issued. You can watch the flip and mark the level, but wait for a time-window-active retest or a new flip within the active window before acting.
Step 3: Wait for a Q marker. Only flips that print the triangle with the white Q label are Qualified signals. Do not act on circles, diamonds, or X marks as primary entries. Those markers are classification information.
Step 4: Confirm the Flip Type in the HUD. After a Q marker prints, check the Flip Type row in the HUD. "Low Participation" means the flip occurred on thin volume — the move may be cleaner but should be confirmed with continuation. "High Participation" means strong volume engagement — this flip has more conviction, though the participation alone does not guarantee follow-through.
Step 5: Note the volatility regime. If the Vol Regime row shows "High" and a flip just printed, proceed with tighter sizing than normal. High-regime flips on elevated volume are the conditions where Exhaustion Risk is most likely. A High regime with a Qualified signal that is classified as High Participation is structurally the strongest setup the tool will generate — but it is also the setup most worth confirming with at least one or two bars of follow-through before adding size.
Step 6: Use the SuperTrend line as your stop anchor. Once in a trade, the SuperTrend line is your structural stop reference. In a long trade, price should remain above the line. A confirmed close back below the line flips the trend and is your exit signal. Do not move your stop to breakeven prematurely if price is simply oscillating near the line within a Low volatility regime — the tighter multiplier is doing its job.
Step 7: Respect Exhaustion Risk X markers. If an X appears on a flip that was otherwise pointing in your favor, treat it as a warning to reduce size or stay flat rather than chasing the move. These prints are the system telling you that the flip is accompanied by the exact conditions most associated with reversal, not continuation.
Step 8: Set your preferred alerts. For a clean setup, set alerts on Qualified Bull Flip and Qualified Bear Flip only. If you want supplementary context, also set the Volatility Regime Change and Exhaustion-Risk alerts so you are notified of structural shifts even when no Qualified flip is pending.
________________________________________
Settings Reference
Profile Engine
• Timeframe Profile — Selects QQQ 5-Minute, QQQ 1-Minute, or Custom. When a pre-built profile is selected, the Custom input groups below are overridden by the profile values. Custom exposes all parameters for manual tuning.
Custom SuperTrend Core (active in Custom mode only)
• Custom ATR Length — The lookback period for ATR calculation. Shorter values respond faster to volatility shifts; longer values are smoother. Default: 10.
• Custom Base ATR Multiplier — The base envelope width as a multiple of ATR. This value is further modified by the regime engine. Default: 2.5.
• Source — Price anchor for the ATR envelope. hl2 (the average of high and low) is the classic SuperTrend source and the recommended starting point.
Custom Volatility Regimes (active in Custom mode only)
• Custom Regime Lookback — The number of bars used to establish the ATR percentile baseline. Default: 100.
• Custom Low-Vol Percentile — ATR readings below this percentile rank are classified as Low volatility. Default: 33.
• Custom High-Vol Percentile — ATR readings above this percentile rank are classified as High volatility. Default: 67.
• Custom Regime Hysteresis Buffer (%) — A buffer around each regime threshold that prevents the indicator from rapidly switching regimes on marginal ATR readings. Default: 3.0%.
• Custom Low-Vol Mult Adjust — Multiplier scaling factor applied in Low volatility regimes. Values below 1.0 tighten the band. Default: 0.85.
• Custom High-Vol Mult Adjust — Multiplier scaling factor applied in High volatility regimes. Values above 1.0 widen the band. Default: 1.15.
Custom Participation Classification (active in Custom mode only)
• Enable Participation Classification — Toggles the volume participation layer on or off.
• Custom Participation MA Length — The rolling average lookback for the volume baseline. Default: 20.
• Custom High Participation Threshold (× MA) — The volume multiple at which a flip is classified as High Participation. Default: 1.5×, meaning volume must be 50% above its rolling average.
• Tag High-Vol / High-Participation Flips As Exhaustion Risk — When enabled, flips meeting both the High Participation and High Volatility regime criteria are tagged as Exhaustion Risk rather than High Participation.
Signal Qualification
• Confirm Markers / Alerts On Bar Close — When enabled, no markers, HUD flip updates, or alerts fire until the bar is fully confirmed. Recommended for live trading to avoid acting on signals that repaint within the bar.
• Custom Actionable Signal Mode — Defines which participation class of flips can achieve Qualified status. Options: Low Participation Only, High Participation Only, All Non-Exhaustion, All Flips.
• Exclude Exhaustion-Risk Flips From Qualified Signals — When enabled, Exhaustion Risk flips are never elevated to Qualified status regardless of other criteria. On by default.
Signal Time Windows
• Signal Time Zone — The timezone used for all session window definitions. Default: America/Chicago (CT).
• Custom Actionable Signal Window — Selects which periods of the session can produce Qualified signals. Options: All Day, Opening Hour + Final Hour, Second Hour + Final Hour, Avoid Afternoon Drift, Opening Hour Only, Second Hour Only, Final Hour Only.
• Opening Hour Window — Defines the opening window session string. Default: 0830–0929 CT.
• Second Hour Window — Defines the second-hour window. Default: 0930–1029 CT.
• Final Hour Window — Defines the final-hour window. Default: 1400–1459 CT.
• Afternoon Drift Window To Avoid — Defines the midday drift window excluded when using the Avoid Afternoon Drift mode. Default: 1230–1359 CT.
Premium Visuals
• Shade Trend Fill — Enables the gradient fill between the SuperTrend line and price close. On by default.
• Show Line Glow — Enables the wide semi-transparent glow layer behind the SuperTrend line. On by default.
• Tint Candles By Trend — Applies a light color wash to candles matching the current trend direction. Off by default.
• Show Non-Qualified Flip Class Markers — When enabled, Low Participation circles, High Participation diamonds, and Exhaustion Risk X marks are drawn for flips that did not achieve Qualified status. These are informational context markers. Recommended on.
• Core Line Width — The width of the primary SuperTrend line in pixels. Range 1–5. Default: 3.
Colors All default colors are fully customizable: Electric Bullish Trend, Electric Bearish Trend, Low Participation Accent, High Participation Accent, Exhaustion-Risk Accent, Neutral, and Premium Accent.
HUD
• Show HUD — Toggles the HUD on or off.
• HUD Position — Anchors the HUD to Top Right, Top Left, Bottom Right, or Bottom Left.
• HUD Theme — Dark (dark background, white text) or Light (light background, dark text).
________________________________________
Instruments & Timeframes
ATC SuperTrend Pro was developed and validated primarily on QQQ on the 5-minute and 1-minute timeframes, for which pre-built profiles are included. The Custom mode is suitable for tuning to other liquid equities, equity index ETFs, and futures instruments on intraday timeframes where RTH session structure is well-defined. The indicator is a single-timeframe tool — it does not request external timeframe data and operates entirely on the chart's current timeframe and symbol.
Allow a minimum of 100 bars of warmup before treating signals as fully calibrated. On short lookback timeframes with limited history, the ATR percentile baseline and volume moving average will stabilize as more data accumulates.
インジケーター

Concordia Regime Execution [JOAT]Concordia Regime Execution
Introduction
Concordia Regime Execution is an open-source TradingView strategy that integrates regime detection, trend bias, structure, momentum breadth, pressure confirmation, and ATR-based risk management into one non-repainting execution model. The strategy is built as a realistic framework rather than a curve-fit showcase.
The problem Concordia solves is signal fragmentation. Regime, trend, structure, and momentum are often evaluated separately, which leads to entries taken in the wrong environment. Concordia requires multiple engines to align before a position is opened, then manages risk through predefined stop, target, trailing, and bias-failure exits.
Core Concepts
1. Regime Detection
ADX, choppiness, and compression work together to classify whether the market is suitable for directional participation.
2. Trend Bias Filter
Fast, intermediate, and structural EMAs plus anchored VWAP context define directional bias before any entry can pass.
3. Structure Confirmation
Confirmed bullish or bearish breaks of recent swing structure add structural alignment to the trade decision.
4. Momentum Breadth
A compact ribbon engine classifies whether fast momentum is actually expanding in the same direction as trend and structure.
5. Pressure and Risk Layer
Chart-derived pressure and crowding inputs help confirm continuation and suppress entries during elevated stress.
6. Risk Management
Each trade uses ATR-based initial stop placement, ATR-based profit target, optional trailing activation, and bias-failure closure if internal conditions deteriorate.
Features
Regime gate: Expansion, compression, and transitional filtering
Trend alignment: EMA stack plus anchored VWAP bias logic
Structure filter: Recent swing break confirmation
Momentum breadth: Ribbon spread confirmation instead of a single oscillator line
Pressure confirmation: Chart-derived directional pressure and crowding logic
Risk model: ATR stop, ATR target, trailing trigger, and bias-failure exit
Top-right dashboard: Regime, bias, structure, momentum, pressure, risk, setup scores, active position, and stop/target levels
Confirmed-bar entries: All setup logic is gated on confirmed bars
How to Use This Strategy
Step 1: Start with liquid markets
Concordia is better suited to instruments where anchored VWAP, ATR, and structure transitions behave consistently.
Step 2: Use realistic assumptions
Commission, slippage, and position sizing inputs should match your actual market and trading conditions before evaluating performance.
Step 3: Evaluate regime quality first
The strategy is intentionally selective. If the market is compressing or structurally unstable, fewer trades should occur.
Step 4: Review bias-failure exits
These exits are included to avoid overstaying trades when internal alignment breaks down before the stop or target is reached.
Strategy Limitations
Like any rules-based strategy, it can underperform in abrupt gap conditions or news-driven spikes
ATR-based exits adapt to volatility, but they are not guaranteed to be optimal for every instrument
The strategy is intentionally conservative and may miss some fast reversals
Historical performance does not guarantee future results
Originality Statement
Concordia Regime Execution is original in the way it integrates regime, trend, structure, momentum breadth, pressure confirmation, and ATR-based trade management into a single open-source strategy designed for realistic chart use rather than decorative backtest output.
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice and should not be treated as a recommendation to buy or sell any instrument. Strategy results are based on historical chart data and platform assumptions. Live trading results can differ materially. Always validate settings and use independent risk management.
ストラテジー

Sortino Ratio Oscillator [MarkitTick]💡 The Sortino Ratio Oscillator introduces a sophisticated, risk-adjusted performance metric typically reserved for portfolio analysis, adapting it into a highly responsive momentum oscillator. By strictly penalizing downside volatility while rewarding upside momentum, it provides a much clearer picture of market strength compared to traditional oscillators that treat all volatility equally.
✨ Originality and Utility
Standard momentum indicators measure the velocity of price movement based on general variance. However, traditional models penalize both upside and downside volatility. A massive bullish breakout creates "high volatility," which standard indicators often misinterpret as an overextended or risky market condition.
This script resolves that inherent flaw by migrating the academic Sortino Ratio into a technical trading framework. It isolates "bad" volatility (price drops) from "good" volatility (price gains). The utility here is immense: traders can identify trends where the price action is genuinely supported by positive risk-adjusted returns, filtering out noisy markets where the downside deviation is too high. Furthermore, this tool features an integrated divergence detection engine, dynamic histogram coloring, and built-in webhook alert formatting, making it a comprehensive suite for algorithmic and discretionary traders alike.
🔬 Methodology and Concepts
The core engine of this indicator relies on continuously assessing the bar-to-bar percentage return of the asset.
First, it calculates the raw percentage return between the current close and the previous close.
Next, it isolates the downside returns. If a return is positive, it is ignored for the risk calculation (treated as zero). If it is negative, it is squared to emphasize larger drawdowns, following standard variance practices.
The script then computes the Simple Moving Average of these squared negative returns over a user-defined lookback window, calculating the square root to determine the final Downside Deviation.
Simultaneously, the Simple Moving Average of the raw returns is calculated to find the mean return over the same period.
The final Sortino Ratio is produced by dividing the mean return by the downside deviation.
To smooth the output and generate actionable crossovers, a secondary Signal Line is derived by applying an average to the raw Sortino Ratio.
To enhance the analytical depth, the script incorporates a robust divergence engine that scans for pivot highs and lows over a customizable lookback window. By comparing price action pivots with the oscillator's momentum peaks and troughs, it systematically maps out both regular and hidden divergences.
🎨 Visual Guide
The visual presentation is meticulously structured to provide instant clarity on risk-adjusted momentum states.
• The Sortino Histogram
The core oscillator is plotted as a multi-colored histogram. It utilizes a four-state coloring system to indicate momentum shifts:
Solid Bull Color: The ratio is above zero and rising, indicating accelerating positive risk-adjusted returns.
Transparent Bull Color: The ratio is above zero but falling, suggesting positive momentum is decelerating.
Solid Bear Color: The ratio is below zero and falling, indicating accelerating downside risk.
Transparent Bear Color: The ratio is below zero but rising, showing that downside risk is waning.
• Signal Line and Cloud Fill
A highlighted Signal Line tracks the moving average of the Sortino Ratio. The space between the Sortino histogram and the Signal Line is filled with a dynamic cloud, helping traders easily spot shifts in immediate trend strength.
• Threshold Lines
Dashed lines represent the Overbought and Oversold thresholds. A solid gray line marks the Zero Level, acting as the primary baseline for positive versus negative risk-adjusted states.
• Divergence Mapping
Regular Bullish (RB): Displayed as a solid line connecting price lows to oscillator lows, complete with a label below the candle.
Hidden Bullish (HB): Displayed as a dashed line, indicating trend continuation.
Regular Bearish (RD): Displayed as a solid line connecting price highs to oscillator highs.
Hidden Bearish (HD): Displayed as a dashed line.
• Candle Coloring
When enabled, the price chart's candles are painted to match the four-state color logic of the Sortino Histogram, linking the oscillator's data directly to the price action on the main chart.
📖 How to Use
Traders can interpret the Sortino Ratio Oscillator through several distinct frameworks depending on their trading style.
• Zero-Line Crossovers
A baseline shift occurs when the histogram crosses the zero line. A cross into positive territory confirms that the average returns now outweigh the downside deviation, signaling a structurally sound bullish environment. Conversely, a drop below zero warns that downside volatility is dominating the asset's behavior.
• Signal Line Interactions
Watch for the histogram to cross the Signal Line. When the Sortino Ratio spikes above its signal line, momentum is expanding. When it crosses below, it often precedes a consolidation or a reversal, as highlighted by the cloud fill changing colors.
• Extremes and Reversals
The Overbought and Oversold threshold lines act as exhaustion markers. An asset sustaining a Sortino Ratio above the Overbought level is exhibiting unusually high, unpenalized upside movement. While strong, traders should watch for the histogram to peak and cross back below the Signal Line as an early warning of a pullback.
• Trading Divergences
Divergences are perhaps the most powerful signals generated by this tool. Look for Regular Bullish Divergences when the price makes a lower low, but the Sortino Ratio makes a higher low. This indicates that despite the price drop, the underlying downside volatility is shrinking relative to the mean return, hinting at a bottom. Hidden Divergences are excellent for trading pullbacks in the direction of the macro trend.
⚙️ Inputs and Settings
• Sortino Settings
Lookback Length: Defines the period used to calculate the mean return and downside deviation. A shorter length is highly reactive, while a longer length provides macroscopic trend stability.
Signal Length: Adjusts the smoothness of the Signal Line.
Overbought / Oversold Levels: Customizes the threshold lines for extreme readings.
• Candle Coloring
A simple toggle to enable or disable the dynamic coloring of the main chart price candles based on the oscillator's state.
• Divergence Settings
Enable Divergence: Master toggle for the divergence engine.
Show Regular / Hidden: Independent toggles to filter specific divergence types.
Pivot Lookback Left / Right: Determines the strictness of the pivot point detection. Higher values require more significant peaks and troughs to form a valid pivot, filtering out noise.
• Webhook Action Names
Customizable string inputs allowing algorithmic traders to map specific script events directly to JSON payloads for automated execution platforms.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The Sortino Ratio, developed by Dr. Frank A. Sortino, is a vital modification of the Sharpe Ratio. In Modern Portfolio Theory, the Sharpe Ratio evaluates the performance of an investment by adjusting for its risk, defined universally as the standard deviation of its returns. However, standard deviation measures total volatility, treating an unexpected positive gain exactly the same as a negative loss.
This oscillator resolves that mathematical paradox by isolating downside deviation. The scientific framework dictates that a minimum acceptable return—in this script's case, zero—must be established. Only returns falling strictly below this threshold are aggregated and squared to calculate the downside variance. By exclusively measuring the standard deviation of negative asset returns, the formula effectively removes the penalty for upside volatility.
In a purely academic sense, a high Sortino Ratio mathematically proves that the asset is generating its returns without suffering significant, erratic drawdowns. Translated into technical analysis, when the indicator rises, it mathematically proves that the ratio of upward momentum relative to downward variance is expanding. This makes it an incredibly robust statistical measure, completely immune to the standard look-around bias of typical mathematical oscillators that collapse under the weight of sudden, positive price shocks.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. インジケーター

Impulse Regime Engine [JOAT]Impulse Regime Engine
Introduction
Impulse Regime Engine is a hybrid breakout-and-trend indicator designed to detect when participation expands, when that expansion compresses into a tradeable box, and when price finally resolves that box with directional intent. It combines a volume regime engine with an RSI-projected price trend framework, creating a clean overlay built for timing impulsive releases without sacrificing directional context.
This indicator is especially useful for traders who like breakout structures but do not want to trade every range break blindly. The regime box defines the event. The projected trend framework defines the context.
Why This Indicator Exists
Participation Regime Classification: Distinguishes low-quality price movement from meaningful volume expansion
Lifecycle-Based Box Engine: Separates the setup into building, armed, and resolved states
Projected Trend Overlay: Maps RSI into price space for contextual trend direction
Strength-Based Candle Coloring: Visualizes conviction without overloading the chart
Active Risk Map: Adds optional stop and target staging after valid breaks
Core Components Explained
1. Volume Regime Engine
volRatio = shortVolMA / longVolMA
Volume is classified into Low, Normal, High, and Extreme states by comparing short-term participation to a longer-term baseline. Only elevated regimes are allowed to build a valid impulse box.
2. Regime Box Lifecycle
Building: While elevated volume persists, the box expands to contain the active burst
Armed: Once the burst cools, the box freezes and waits for release
Resolved: A confirmed close beyond the boundary triggers the breakout event and resets the cycle
The script now includes a cooldown between resolved boxes so repeated high-volume churn does not keep repainting fresh structures on every minor burst.
3. RSI Projection Framework
projected = priceLow + smoothedRsi * priceRange / 100.0
avgLine = ta.ema(projected, smoothLen)
Instead of reading RSI only as a sub-pane oscillator, the script converts RSI into projected price space. This produces a trend reference line directly on the chart.
4. Dynamic Tolerance Bands
tolerance = avgBody * toleranceMultiplier
marginUp = avgLine + tolerance
marginDn = avgLine - tolerance
Price above the upper band confirms bullish projected trend. Price below the lower band confirms bearish projected trend. This acts like a directional bias filter around the projection basis.
5. Breakout Risk Framework
When price resolves the armed box, the script can draw one stop and three profit levels using either ATR-derived or percentage-derived distance. The lines auto-expire so old trade maps do not crowd the chart.
Visual Elements
Regime Box: Semi-transparent box during build and armed phases
Projection Basis: Gold-accent projected trend line
Tolerance Bands: Bull and bear projection boundaries
Gradient Candles: Optional candle coloring by directional strength
Breakout Markers: Compact IRE triangles on confirmed release
TP/SL Lines: Optional risk staging while the active breakout remains valid
Dashboard: Volume regime, ratio, bias, box state, signal state, RSI, and strength
Input Parameters
Regime Engine:
Short / Long Volume MA
Low / Normal / High thresholds
Max build bars
Max armed bars
New box cooldown bars
Trend Projection:
RSI length and smoothing
Projection range bars
Projection EMA
Tolerance multiplier
Strength lookback
Risk Framework:
ATR period
ATR stop multiplier
TP1 / TP2 / TP3 risk-reward ratios
TP/SL maximum life
How to Use This Indicator
Step 1: Wait for elevated participation to build the impulse box.
Step 2: Let the box transition into the armed state.
Step 3: Read whether projected trend bias agrees with the likely breakout direction.
Step 4: Use confirmed breaks, not intrabar pokes, as the actual event trigger.
Step 5: Manage the trade against the active risk map or your own execution rules.
Best Practices
Use on instruments with reliable participation data
Prefer breakouts aligned with the projected trend state
Treat extreme volume bursts as high-opportunity but also high-volatility events
Use the cooldown to avoid overreacting in noisy compression cycles
Disable extra visuals if you want a cleaner execution chart
Indicator Limitations
Volume regime logic depends on the quality of the feed
Not every armed box will produce a sustained move
Projected RSI trend is a contextual guide, not a guarantee
Breakouts can fail or reverse quickly in low liquidity
Repeated tests of the same area reduce signal quality
Technical Implementation
Built in Pine Script v6 using:
Short-vs-long volume regime classification
Stateful box lifecycle logic
RSI-to-price projection
Body-based tolerance bands
Strength-gradient candle coloring
Optional ATR or percent risk mapping
Confirmed-bar breakout and trend-shift alerts
Originality Statement
This indicator is original in the way it combines regime participation, lifecycle breakout structure, and projected momentum context into one overlay. Its edge is not just detecting expansion, but framing when expansion is worth respecting.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Breakout trading involves risk, including false breaks and fast reversals. Always manage risk carefully and confirm signals with your own process.
-Made with passion by officialjackofalltrades
インジケーター

Volatility Stop SelectorThe Volatility Stop Selector is a comprehensive trend-following tool designed to automatically identify the optimal volatility stop strategy. It features adjustable parameters and an integrated backtester that delivers institutional-grade insights into the recommended strategy. The model continuously adapts to new data in real time by evaluating multiple volatility length and factor combinations, determining the best-performing configuration, and presenting the backtest results in a clear, color-coded table that benchmarks performance against the buy-and-hold strategy.
At its core, the model systematically backtests a wide range of volatility stop combinations to identify the configuration that maximizes the selected optimization metric. Users can choose to optimize for absolute returns or risk-adjusted returns using metrics such as the Sharpe, Sortino, Martin, or Calmar ratios. The Martin ratio is particularly well suited for volatility-based risk management strategies, as it evaluates returns relative to the Ulcer Index, capturing both the depth and duration of drawdowns and therefore favoring smoother equity curves. Alternatively, users can enable manual optimization to test custom volatility length and factor settings and view the corresponding backtest results. The label displays the Compounded Annual Growth Rate (CAGR) of the strategy, with the buy-and-hold CAGR in parentheses for comparison. The table presents the backtest results based on the volatility length and factor displayed at the top:
Sharpe = CAGR per unit of standard deviation.
Sortino = CAGR per unit of downside deviation.
Calmar = CAGR relative to maximum drawdown.
Max DD = Largest peak-to-trough decline in value.
Beta (β) = Return sensitivity relative to buy-and-hold.
Alpha (α) = Excess annualized risk-adjusted returns.
Win Rate = Ratio of profitable trades to total trades.
Profit Factor = Total gross profit per unit of losses.
Expectancy = Average expected return per trade.
Trades/Year = Average number of trades per year.
This indicator is designed with flexibility in mind, enabling users to specify the start date of the backtesting period, the preferred volatility type, and the price source. Supported volatility types include the Average True Range (ATR), Standard Deviation (SD), and Mean Absolute Deviation (MAD). Supported price sources include Close, Heikin Ashi, HL2, HLC3, and OHLC4. To minimize overfitting, users can define constraints such as a minimum and maximum number of trades per year, as well as an optional optimization margin that prioritizes more robust combinations by requiring more reactive combinations to exceed this threshold. The table follows an intuitive color-coded logic that enables quick performance comparison against buy-and-hold (B&H):
Sharpe = Green indicates better than B&H, while red indicates worse.
Sortino = Green indicates better than B&H, while red indicates worse.
Calmar = Green indicates better than B&H, while red indicates worse.
Max DD = Green indicates better than B&H, while red indicates worse.
Beta (β) = Green indicates better than B&H, while red indicates worse.
Alpha (α) = Green indicates above 0%, while red indicates below 0%.
Win Rate = Green indicates above 50%, while red indicates below 50%.
Profit Factor = Green indicates above 2, while red indicates below 1.
Expectancy = Green indicates above 0%, while red indicates below 0%.
In summary, the Volatility Stop Selector is a powerful tool designed to help investors make data-driven decisions when selecting volatility-based trend-following strategies. By optimizing for risk-adjusted returns, investors can identify the best configurations using institutional-grade metrics. While results are based on the selected historical period, users should be mindful of overfitting, as past results may not persist under future market conditions. Since the model continuously recalibrates to incorporate new data, the recommended length and factor may evolve over time. インジケーター

Regression Deviation Channel [JOAT]Regression Deviation Channel
Introduction
The Regression Deviation Channel is an institutional-style statistical trend and execution framework built around segmented regression, deviation envelopes, premium/discount zoning, breakout qualification, and risk mapping. Instead of acting like a plain moving-average channel, it models price through a best-fit regression path, measures dispersion with RMSE, then classifies where price is trading inside that structure: discount, equilibrium, or premium.
This version is designed to feel more like a desk-grade directional map than a simple overlay. It combines a frozen regression segment, internal band hierarchy, confidence scoring, Supertrend stack alignment, breakout detection, and ATR-based trade mapping into one visual structure. The goal is not just to show where price is, but whether the current move is balanced, compressed, expanding, or resolving.
Why This Indicator Exists
Most channels are too simple. They show boundaries but do not explain what price is doing inside those boundaries. This indicator was built to solve that by combining:
Segmented Regression: Tracks the current directional price path with a proper best-fit slope
Deviation Architecture: Uses RMSE to define statistically meaningful channel width
Premium / Discount Zoning: Splits the channel into expensive, fair value, and cheap territory
Breakout Qualification: Scores breakout quality using slope, participation, structure, and location
Trend Stack Context: Adds Supertrend alignment to distinguish strong directional pressure from noise
Trade Mapping: Builds clean ATR-based stop and multi-target projections after confirmed breaks
The result is a regression channel that does more than draw lines. It gives context, bias, execution framing, and visual hierarchy.
Core Components Explained
1. Segmented Regression Engine
= f_ols(winLen)
basisVal = intercept + slope * float(barsInSeg - 1)
upperVal = basisVal + rmse * multiplier
lowerVal = basisVal - rmse * multiplier
The core engine uses manual ordinary least squares regression to calculate the channel basis. Once the segment matures, the regression values are frozen and projected forward until price resolves beyond the envelope.
This “freeze and resolve” behavior keeps the channel visually stable instead of constantly shifting every bar.
2. RMSE Deviation Structure
Root mean squared error defines channel width, making the envelope responsive to how tightly price is hugging the trend.
Tight RMSE = cleaner trend structure
Wide RMSE = unstable or volatile structure
Internal bands split the envelope into inner, quarter, and outer zones
These nested bands create a true structure ladder instead of a single upper/lower shell.
3. Premium / Discount Channel Arrays
The channel is separated into three value areas:
Premium: Upper edge territory where price is extended and expensive relative to the current regression path
Equilibrium: The center band around fair value and neutral orderflow balance
Discount: Lower edge territory where price is cheap relative to the active path
This makes the indicator more useful for directional context:
Bull channels pressing premium signal strong continuation pressure
Bear channels pressing discount signal strong downside control
Repeated failure to hold premium/discount can signal exhaustion or rebalancing
4. Breakout Confidence Model
Breakouts are not treated equally. The indicator scores breakout quality using four ingredients:
Participation: Distance from the regression basis normalized by ATR
Slope Force: Strength of the normalized regression slope
Location: Whether price is already pressing the outer structure
Alignment: Whether price direction and Supertrend stack agree with the channel
breakoutConfidence = participation + slopeForce + location + alignment
This helps separate lazy drifts from high-quality channel resolution.
5. Supertrend Ribbon Stack
The Supertrend layer is not there as a generic add-on. It acts as a second-order directional filter.
Bull channel + bull Supertrend = higher-quality directional stack
Bear channel + bear Supertrend = stronger downside stack
When regression and Supertrend disagree, price is more likely in transition
The fill between regression basis and Supertrend visually shows whether pressure is aligned or conflicted.
6. ATR Risk Map
After a confirmed breakout, the indicator projects:
1 ATR-based stop level
3 reward targets using configurable risk-reward multiples
Auto-expiring lines so stale trade maps are removed
This gives the channel direct execution value instead of leaving the user to manually measure every move.
Visual Elements
Metallic Basis Line: Gold-toned centerline for the active regression basis
Outer Deviation Shell: Main channel boundaries with glow
Inner Structure Bands: Internal ladder for pressure staging
Premium / Discount Fills: Separate upper and lower value zones inside the channel
Equilibrium Fill: Neutral fair-value region
Supertrend Ribbon: Context layer showing secondary directional alignment
Iridescent Candles: Candle coloring that intensifies as control and confidence improve
Breakout Markers: Compact signals for confirmed resolves
Readiness Diamonds: Pre-break alignment markers when channel conditions are strong
The visual hierarchy is designed so you can read the channel at a glance without relying on heavy objects or clutter.
Dashboard
The dashboard is intentionally compact and fixed to the right side. It shows only the highest-signal metrics:
Bias
Regime
Flow
Channel Position
Confidence
Compression
Trend Stack
Trade Map
How to Use This Indicator
Step 1: Identify Channel Bias
Check whether the regression slope is bullish or bearish. That defines the primary directional path.
Step 2: Read Value Location
See whether price is trading in premium, equilibrium, or discount. This tells you whether price is extended or balanced inside the channel.
Step 3: Watch Trend Stack Alignment
When Supertrend and regression agree, directional pressure is cleaner. When they disagree, reduce conviction.
Step 4: Monitor Confidence
Use the breakout confidence score to judge whether price is merely drifting or building a meaningful resolution.
Step 5: Trade the Resolve, Not the Noise
Use breakout markers and ATR map levels when price exits the frozen envelope with qualified pressure.
Best Practices
Use higher timeframes for cleaner channel geometry
Treat equilibrium as fair value, not a signal by itself
Bull channels work best when premium holds and pullbacks respect the inner bands
Bear channels work best when discount holds and rallies fail at internal structure
High compression followed by rising confidence often precedes expansion
Use the risk map for framing, not blind automation
Indicator Limitations
Regression is still a model of recent price, not a guarantee of future direction
Sudden event-driven moves can invalidate the frozen segment quickly
Premium and discount are relative to the current channel, not absolute market value
High breakout confidence can still fail in thin or news-driven markets
Short segments increase responsiveness but also increase noise
Technical Implementation
Built in Pine Script v6 using:
Manual OLS regression
RMSE deviation envelopes
Segment freeze-and-resolve logic
Internal quarter and inner bands
Premium/discount channel zoning
Supertrend stack integration
Breakout confidence scoring
ATR-based stop and target map
Compact institutional dashboard
Originality Statement
This indicator is original in how it treats a regression channel as a full market-state framework instead of a static overlay. The value is not just in plotting upper and lower lines, but in combining:
Segment freezing
Internal value zoning
Directional stack confirmation
Breakout qualification
Execution mapping
Each layer contributes different information: regression defines path, RMSE defines structure, premium/discount defines value, Supertrend defines stack, and confidence defines quality.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Regression channels, premium/discount zones, and breakout scores are analytical tools, not guarantees of market outcome. All trading decisions remain the responsibility of the user.
-Made with passion by officialjackofalltrades
インジケーター

Volatility Prism [JOAT]Volatility Prism
Introduction
Volatility Prism is an open-source dual Bollinger Band envelope system with percentile-based bandwidth squeeze detection and Stochastic RSI confirmation. It renders two independent envelopes — an inner band at a configurable standard deviation multiplier and an outer band at a wider multiplier — with gradient fills that color dynamically based on whether price is in a bullish or bearish position relative to the moving average basis. When the bandwidth compresses to a historically low percentile, a squeeze state is declared. When the squeeze releases, an expansion signal fires.
The problem Volatility Prism solves is that volatility states are cyclical: periods of compression (squeeze) reliably precede periods of expansion (breakout), and the direction of the breakout is where the opportunity lies. By combining a statistically-based squeeze detector — which uses percentile thresholds rather than fixed bandwidth levels — with Stochastic RSI extreme confirmation, Volatility Prism identifies both the compression state and the likely directional bias of the coming expansion simultaneously.
Core Concepts
1. Dual Bollinger Band Structure
Two separate Bollinger Band pairs share the same basis (SMA of the source) but use different standard deviation multipliers. The inner band (default 2.0x) is the primary envelope. The outer band (default 3.0x) defines the extreme extension zone. Price trading beyond the inner band but inside the outer band is in the elevated zone. Price trading beyond the outer band is in a statistical extreme:
basis = ta.sma(src, bbLen)
dev = ta.stdev(src, bbLen)
upper1 = basis + bbMult1 * dev // Inner upper
lower1 = basis - bbMult1 * dev // Inner lower
upper2 = basis + bbMult2 * dev // Outer upper
lower2 = basis - bbMult2 * dev // Outer lower
The trend bias is determined by whether the close is above or below the basis. When bullish, all envelope lines and fills render in the bullish color. When bearish, they render in the bearish color. This makes the trend state immediately visible from the envelope color alone.
2. Gradient Envelope Fills
Four gradient fills create the visual envelope structure. The inner fills gradient from a near-opaque shade at the band edge to a nearly transparent shade at the basis, creating a density effect that visually represents how far price is from the center. The outer fills extend this gradient into the extreme zone at reduced opacity, cleanly separating the normal, elevated, and extreme price zones:
fill(basisPlot, upper1Plot, upper1, basis, color.new(envCol, 85), color.new(envCol, 98), "Upper Inner Fill")
fill(upper1Plot, upper2Plot, upper2, upper1, color.new(envCol, 75), color.new(envCol, 88), "Upper Outer Fill")
3. Percentile-Based Bandwidth Squeeze Detection
The bandwidth (the width of the inner band as a percentage of the basis) is computed on each bar and added to a rolling history array of configurable length. The current bandwidth is compared to the percentile threshold of that history — if the current bandwidth is below the configured percentile (default 15th percentile), the squeeze state is active:
bandwidth = basis > 0 ? (upper1 - lower1) / basis * 100 : 0.0
// Sort history and find threshold at configured percentile
threshIdx = int(array.size(sorted) * sqzPctile / 100) - 1
sqzThreshold = array.get(sorted, threshIdx)
isSqueezing = bandwidth <= sqzThreshold
This approach adapts to the instrument and timeframe automatically — a 15th percentile squeeze on a low-volatility bond future and on a high-volatility crypto asset will both correctly identify when that specific instrument is in an unusually compressed state relative to its own history.
4. Stochastic RSI Extreme Confirmation
The Stochastic RSI (an oscillator that applies Stochastic logic to RSI values) provides momentum extreme confirmation. Overbought and oversold readings from the K and D lines confirm when band extremes coincide with momentum extremes, strengthening band rejection signals:
rsiVal = ta.rsi(src, rsiLen)
stochVal = ta.stoch(rsiVal, rsiVal, rsiVal, stochLen)
kLine = ta.sma(stochVal, smoothK)
dLine = ta.sma(kLine, smoothD)
stochOB = kLine > upperLim and dLine > upperLim // Overbought
stochOS = kLine < lowerLim and dLine < lowerLim // Oversold
5. Band Rejection Signals and Squeeze Breakout
Three signal types are generated. Bullish band rejection fires when price was below the inner lower band on the previous bar and closes back above it, with Stochastic RSI confirming oversold — a failed breakdown with momentum confirmation. Bearish band rejection fires on the symmetric condition above the inner upper band. Squeeze Breakout fires on the first bar that transitions from squeeze to non-squeeze state — the moment the bandwidth begins expanding:
bearRejection = close > upper1 and close <= upper1 and stochOB
bullRejection = close < lower1 and close >= lower1 and stochOS
sqzBreakout = isSqueezing and not isSqueezing
6. Band Price Labels at the Right Edge
All five band lines (U2, U1, MA, L1, L2) receive price labels at the right edge of the chart. These labels update every bar to show the current price of each level, eliminating the need to hover over lines or read the y-axis to determine band values:
if barstate.islast and showBandLbls
lblU2 := label.new(bar_index + 2, upper2,
"U2 " + str.tostring(upper2, format.mintick),
style=label.style_label_right, ...)
Features
Dual Bollinger Band envelopes: Inner and outer bands with independently configurable multipliers
Adaptive gradient fills: Four gradient fills (inner upper, inner lower, outer upper, outer lower) color dynamically with trend bias
Dynamic trend coloring: All envelope elements switch between bullish and bearish colors based on close vs. basis
Percentile-based squeeze detection: Bandwidth compared to a configurable percentile of its rolling history — adapts to any instrument's volatility profile
Configurable squeeze lookback: Rolling bandwidth history window from 20 to 500 bars
Squeeze background shading: Optional chart background shading during active squeeze state
Stochastic RSI confirmation: K and D line extreme zones confirm band rejection signal quality
Three signal types: Bull Rejection, Bear Rejection, and Squeeze Breakout markers with distinct shapes
Band price labels at right edge: Live price labels for all five band levels (U2, U1, MA, L1, L2) at bar_index + 2
Institutional dashboard (top right): 11-row table with Volatility state (SQUEEZE/EXPANDING), Bandwidth %, Trend, StochRSI state, K and D values, Basis price, and Envelope range
Fully configurable inputs: BB length, both multipliers, squeeze lookback and percentile, Stochastic RSI parameters, and all colors independently adjustable
Alerts: Bull Rejection, Bear Rejection, Squeeze Breakout, and Squeeze Entry alertconditions
Input Parameters
Bollinger Bands:
Source: Price source (default: close)
BB Length: MA and standard deviation period (default: 20)
Inner Mult: Standard deviation multiplier for inner bands (default: 2.0)
Outer Mult: Standard deviation multiplier for outer bands (default: 3.0)
Squeeze Detection:
Bandwidth Lookback: Rolling history window for percentile calculation (default: 120 bars)
Squeeze Percentile: Bandwidth percentile below which squeeze is active (default: 15th)
Stochastic RSI:
K Smoothing (default: 3), D Smoothing (default: 3)
RSI Length (default: 14), Stochastic Length (default: 14)
Overbought level (default: 80), Oversold level (default: 20)
Display:
Show Dashboard toggle
Squeeze Background toggle
Band Price Labels toggle
Bullish Envelope color, Bearish Envelope color, Basis Line color, Squeeze Background color
How to Use This Indicator
Step 1: Identify the Volatility State
The dashboard's Volatility row shows SQUEEZE (yellow) or EXPANDING (gray). When SQUEEZE is active, the chart background shades yellow. A squeeze state means bandwidth has compressed to a historically low percentile — the market is loading energy for a directional move.
Step 2: Watch for Squeeze Breakout Signals
The cross (x) marker appears at the first bar that exits a squeeze. This is the moment bandwidth begins expanding. The direction of the breakout bar (bullish or bearish candle) combined with the trend color of the envelope provides the directional lean for the expansion phase.
Step 3: Interpret Envelope Color for Trend Bias
When all envelope elements are teal, price is above the basis — bullish bias. When all elements are orange, price is below the basis — bearish bias. Use the envelope color as a continuous trend indicator overlaid directly on the price.
Step 4: React to Band Rejection Diamonds
Diamond markers at the band edge indicate price failed to sustain a move beyond the inner band and recovered inside, with Stochastic RSI confirming the extreme. These are mean-reversion entry signals — price rejected the statistical extreme with momentum confirmation.
Step 5: Reference Band Price Labels
The right-edge labels show the current price of each band level. Use these when planning take-profit targets (opposite band) or stop-loss placement (outer band beyond entry) without needing to manually read prices from band lines.
Indicator Limitations
The squeeze detector requires a minimum of sqzLen bars of bandwidth history to activate. On short charts or immediately after the indicator is applied, the squeeze state will not register until enough history is accumulated
The percentile-based squeeze threshold adapts to the lookback window. A longer lookback produces a more stable threshold; a shorter lookback adapts faster but may produce more frequent squeeze entries and exits
Band rejection signals require the close to recover inside the band on the bar immediately following the outside close. Multi-bar breakouts that recover more slowly are not detected as rejections
Squeeze Breakout markers fire on the first bar exiting a squeeze regardless of candle size or direction. They do not independently confirm the breakout direction — the envelope trend color and Stochastic RSI must be used to assess directional bias
Stochastic RSI is a double-transformed oscillator (RSI → Stochastic). It can reach and hold extreme levels for extended periods in strong trends, producing frequent overbought or oversold readings that reduce the specificity of band rejection confirmation
Originality Statement
Volatility Prism is original in its adaptive, percentile-based squeeze detection combined with a dual-envelope gradient structure and Stochastic RSI extreme confirmation with right-edge band price labels. This indicator is published because:
Using the rolling percentile of bandwidth history — rather than fixed bandwidth values or the classic Keltner Channel comparison method — for squeeze detection provides an instrument-adaptive and timeframe-adaptive threshold that requires no manual calibration
The dual-envelope structure (inner and outer bands) with four independent gradient fills that change color based on real-time trend bias creates a visually rich, information-dense chart overlay without adding separate indicator panes
The right-edge band price labels for all five band levels eliminate a common usability friction point in Bollinger Band analysis, where traders must hover over lines or estimate prices from the y-axis scale
The three-signal system (Bull Rejection, Bear Rejection, Squeeze Breakout) operating from two independent mechanisms (band geometry + Stochastic RSI for rejections, bandwidth percentile for breakout) provides distinct signal categories suited to different trading styles
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Bollinger Bands and Stochastic RSI readings are historical statistical tools. Squeeze states can persist for extended periods without producing a breakout, and breakouts can occur in either direction. Band rejection signals do not guarantee price will reverse from the band. Always use proper risk management. The author is not responsible for any trading losses resulting from the use of this indicator.
-Made with passion by jackofalltrades
インジケーター
