Market Structure Break & OB Probability Toolkit [LuxAlgo]The Market Structure Break & OB Probability Toolkit indicator provides an institutional framework for identifying high-probability liquidity zones and significant market structure transitions using momentum-based filters and volume analysis.
🔶 USAGE
The indicator aims to provide a systematic approach to structural analysis, allowing traders to identify clear institutional footprints. By integrating statistical filters, the tool helps isolate high-conviction signals from market noise.
🔹 Market Structure Breaks (MSB)
Unlike standard fractal-based breaks, the MSB logic in this toolkit utilizes a Momentum Z-Score filter . This ensures that structural shifts are only highlighted when price breaks a pivot with significant conviction.
Pivot Lookback: Custom sensitivity for identifying swing highs and lows.
Volatility Filtering: Only breaks exceeding the statistical threshold are labeled, helping traders avoid low-momentum fakeouts.
🔹 Institutional Order Blocks (OB)
The script automatically detects and manages Order Blocks based on the candle preceding an MSB. Every zone includes a Point of Control (POC) line for precise entry or target consideration.
Standard OBs: Formed during structural transitions, representing potential institutional interest.
High-Probability OBs (HP-OB): Zones identified with exceptionally high impulse and volume signatures (score > 80%). These are visually distinct to highlight their increased significance.
🔹 Session Range Integration
Traders can track the ranges of the London, New York, Tokyo, and Sydney sessions. This allows for the identification of structural breaks occurring at session extremes or during high-liquidity windows.
🔹 Strategy Application
Trend Direction: Identify the prevailing bias through MSB signals. A bullish MSB followed by a retracement into a Bullish OB provides a classic institutional entry scenario.
Zone Confluence: Look for High-Probability OBs that align with Session Highs/Lows for increased trade conviction.
Re-test Analysis: Enable "Extend Broken OBs" to see how price interacts with flipped liquidity zones.
🔶 DETAILS
The toolkit utilizes several advanced logic components to maintain chart clarity and analytical depth:
Intelligent Mitigation Logic: Active zones are managed in real-time. Traders can choose between "Historical" (shows all past zones) or "Present" (shows only active zones) display modes.
Mitigated Extension: A specialized feature to extend recently broken zones, allowing for re-test analysis of formerly active liquidity.
Overlap Filter: Option to hide overlapping Order Blocks to maintain a clean, actionable chart.
🔹 Analytics Dashboard
The built-in dashboard provides a real-time performance suite:
OB Reliability: A percentage-based efficiency metric tracking how many detected zones have been successfully mitigated by price.
High-Prob Zone Count: A live counter of active HP-OBs currently remaining on the chart.
🔶 SETTINGS
🔹 Market Structure
Pivot Lookback: Defines the sensitivity of the market structure detection by adjusting the lookback period for pivots.
MSB Momentum Z-Score: Sets the statistical threshold for a price move to be considered a valid structural break.
🔹 Visuals
Display Mode: Toggles between showing historical mitigated zones or only currently active ones.
🔹 Order Blocks
Max Active OBs: Controls the maximum number of blocks stored and displayed on the chart.
Extend Broken OBs: If enabled, recently mitigated blocks will remain visible to observe potential re-tests.
Hide Overlapping OBs: Removes redundant zones that occupy the same price area as existing ones.
🔹 Sessions
Show Session Ranges: Global toggle for session visualizations.
Session Toggles: Individual controls to enable London, New York, Tokyo, or Sydney ranges with custom time and color inputs.
Institutional trading concepts and Smart Money Concept (SMC) indicators involve significant risk. This tool is designed for educational and analytical purposes. Past performance is not indicative of future results.
指標和策略
Jurik MA Trend Breakouts [BigBeluga]🔵 OVERVIEW
Jurik MA Trend Breakouts is a precision trend-breakout detector built on a custom Jurik-smoothed moving average.
It identifies trend direction with ultra-low lag and maps breakout levels using pivot-based swing highs/lows.
The indicator plots dynamic breakout lines and confirms trend continuation or reversal when price breaks them — providing clean, minimalistic yet extremely accurate trend signals.
🔵 CONCEPTS
Jurik Moving Average (JMA) — A highly smooth and low-lag moving average that reacts quickly to trend shifts without noise. This becomes the core trend baseline.
Trend Bias —
• JMA rising → bullish trend
• JMA falling → bearish trend
The JMA color updates instantly based on slope.
Swing Pivots — Recent pivot highs/lows are detected to define structural break levels while filtering out weak noise.
Trend Breakout Levels —
The indicator draws horizontal levels at the last valid pivot in the direction of the trend.
These levels act as “confirmation gates” for breakout entries.
ATR Validity Filter — Ensures only meaningful pivots within a threshold are used to prevent fake breakouts.
🔵 FEATURES
Ultra-Smooth Jurik Trend Line — A visually clean trend baseline changing color based on direction.
Automatic Swing High Breakout Setup (Bullish) —
• During an uptrend, the indicator tracks the most recent pivot high.
• A horizontal breakout line is extended across the chart.
• A ✔ marker appears at both pivot points when the breakout structure becomes valid.
Automatic Swing Low Breakout Setup (Bearish) —
• During a downtrend, pivot lows are tracked.
• A horizontal breakout line marks the breakdown level.
• ✔ markers confirm valid structure before the breakout triggers.
Breakout Detection —
• Price closing above the bullish breakout line → “↑” signal printed on the chart.
• Price closing below the bearish breakout line → “↓” signal printed on the chart.
Automatic Reset on Trend Change —
When the JMA trend flips, all breakout structures are cleared and the model starts tracking new pivot levels.
Trend-Colored Visualization —
Glow + main JMA line give instant clarity of market direction.
🔵 HOW IT WORKS
1. JurikMA defines the main trend — Slope determines bullish or bearish state.
2. The indicator continuously searches for pivots in the direction of the trend.
3. When a valid pivot forms and passes ATR proximity filter, a structural breakout level is drawn.
4. As long as price stays below that level (bullish case), the trend setup remains active.
5. When price finally breaks the level , the indicator prints a directional arrow (↑ or ↓).
6. Trend flip instantly resets all levels and begins tracking pivots on the opposite side.
🔵 HOW TO USE
Breakout Trading — Enter long on “↑” and short on “↓” signals when price breaks key pivot structure.
Trend Confirmation — Use the JurikMA color to stay aligned with the main trend direction.
Reversals — Trend flips often mark major turning points.
Structure Mapping — Use the horizontal breakout lines to understand how close price is to confirming a new trend leg.
🔵 CONCLUSION
Jurik MA Trend Breakouts combines the speed of a Jurik MA with structural breakout logic to deliver clean, reliable entry signals.
Its minimal design, pivot-based confirmation, and trend-aligned logic make it suitable for scalping, swing trading, and intraday trend continuation setups.
If you want fast yet filtered breakout recognition with almost zero noise, this tool gives you everything you need.
Market Structure & Supply-Demand EngineMarket Structure & Supply-Demand Engine (MSD-Engine) is a professional, non-repainting market structure and supply-demand analysis tool built purely on price action and volatility logic.
This indicator is designed for discretionary traders who want a clean, institutional-style view of market structure without lagging indicators or strategy automation.
🔍 What This Indicator Does
MSD-Engine identifies major structural reversals, plots price-action based supply & demand zones, and provides multi-timeframe confluence in a single, unified framework.
It is visual and analytical only — no strategy orders, no backtesting, and no repainting.
🚀 Core Features
• Non-Repainting Market Structure
Event-based swing reversal detection
ATR-adaptive displacement filtering
Confirmed pivots only (no future leaks)
• Pure Supply & Demand Zones
Candle-structure based zone detection
Volume-weighted zone strength
Automatic invalidation on breach
Configurable zone limits to maintain chart clarity
• Multi-Timeframe Context (MTF)
Chart timeframe structure
Two independent higher-timeframe supply & demand layers
Higher-timeframe directional bias visualization
HTF zones plotted only on confirmed HTF closes
• Volatility-Adaptive Logic
ATR normalized across timeframes
Dynamic reversal thresholds
Stable behavior from scalping to swing charts
• Trendline Lifecycle Tracking
Automatic major trendline construction
Single-fire break detection
Break validation / failure logic
HTF-aligned vs counter-trend classification
🧠 Designed For
• Discretionary price-action traders
• Supply & demand traders
• Market structure & smart-money style analysis
• Multi-timeframe confluence trading
• Futures, indices, forex, crypto, and equities
⚠️ Important Notes
This is NOT a strategy or auto-trading system
No buy/sell signals or performance metrics
No repainting (uses barmerge.lookahead_off)
Educational & analytical use only
📜 Disclaimer
This script is provided for educational and analytical purposes only.
It does not constitute financial advice. Trading financial markets involves risk.
Volume Profile Skew [BackQuant]Volume Profile Skew
Overview
Volume Profile Skew is a market-structure indicator that answers a specific question most volume profiles do not:
“Is volume concentrating toward lower prices (accumulation) or higher prices (distribution) inside the current profile range?”
A standard volume profile shows where volume traded, but it does not quantify the shape of that distribution in a single number. This script builds a volume profile over a rolling lookback window, extracts the key profile levels (POC, VAH, VAL, and a volume-weighted mean), then computes the skewness of the volume distribution across price bins. That skewness becomes an oscillator, smoothed into a regime signal and paired with visual profile plotting, key level lines, and historical POC tracking.
This gives you two layers at once:
A full profile and its important levels (where volume is).
A skew metric (how volume is leaning within that range).
What this indicator is based on
The foundation comes from classical “volume at price” concepts used in Market Profile and Volume Profile analysis:
POC (Point of Control): the price level with the highest traded volume.
Value Area (VAH/VAL): the zone containing the bulk of activity, commonly 70% of total volume.
Volume-weighted mean (VWMP in this script): the average price weighted by volume, a “center of mass” for traded activity.
Where this indicator extends the idea is by treating the volume profile as a statistical distribution across price. Once you treat “volume by price bin” as a probability distribution (weights sum to 1), you can compute distribution moments:
Mean: where the mass is centered.
Standard deviation: how spread-out it is.
Skewness: whether the distribution has a heavier tail toward higher or lower prices.
This is not a gimmick. Skewness is a standard statistic in probability theory. Here it is applied to “volume concentration across price”, not to returns.
Core concept: what “skew” means in a volume profile
Imagine a profile range from Low to High, split into bins. Each bin has some volume. You can get these shapes:
Balanced profile: volume is fairly symmetric around the mean, skew near 0.
Bottom-heavy profile: more volume at lower prices, with a tail toward higher prices, skew tends to be positive.
Top-heavy profile: more volume at higher prices, with a tail toward lower prices, skew tends to be negative.
In this script:
Positive skew is labeled as ACCUMULATION.
Negative skew is labeled as DISTRIBUTION.
Near-zero skew is NEUTRAL.
Important: accumulation here does not mean “buying will immediately pump price.” It means the profile shape suggests more participation at lower prices inside the current lookback range. Distribution means participation is heavier at higher prices.
How the volume profile is built
1) Define the analysis window
The profile is computed on a rolling window:
Lookback Period: number of bars included (capped by available history).
Profile Resolution (bins): number of price bins used to discretize the high-low range.
The script finds the highest high and lowest low in the lookback window to define the price range:
rangeHigh = highest high in window
rangeLow = lowest low in window
binSize = (rangeHigh - rangeLow) / bins
2) Create bin midpoints
Each bin gets a midpoint “price” used for calculations:
price = rangeLow + binSize * (b + 0.5)
These midpoints are what the mean, variance, and skewness are computed on.
3) Distribute each candle’s volume into bins
This is a key implementation detail. Real volume profiles require tick-level data, but Pine does not provide that. So the script approximates volume-at-price using candle ranges:
For each bar in the lookback:
Determine which bins its low-to-high range touches.
Split that candle’s total volume evenly across the touched bins.
So if a candle spans 6 bins, each bin gets volume/6 from that bar. This is a practical, consistent approximation for “where trading could have occurred” inside the bar.
This approach has tradeoffs:
It does not know where within the candle the volume truly traded.
It assumes uniform distribution across the candle range.
It becomes more meaningful with larger samples (bigger lookback) and/or higher timeframes.
But it is still useful because the purpose here is the shape of the distribution across the whole window, not exact microstructure.
Key profile levels: POC, VAH, VAL, VWMP
POC (Point of Control)
POC is found by scanning bins and selecting the bin with maximum volume. The script stores:
pocIndex: which bin has max volume
poc price: midpoint price of that bin
Value Area (VAH/VAL) using 70% volume
The script builds the value area around the POC outward until it captures 70% of total volume:
Start with the POC bin.
Expand one bin at a time to the side with more volume.
Stop when accumulated volume >= 70% of total profile volume.
Then:
VAL = rangeLow + binSize * lowerIdx
VAH = rangeLow + binSize * (upperIdx + 1)
This produces a classic “where most business happened” zone.
VWMP (Volume-Weighted Mean Price)
This is essentially the center of mass of the profile:
VWMP = sum(price * volume ) / totalVolume
It is similar in spirit to VWAP, but it is computed over the profile bins, not from bar-by-bar typical price.
Skewness calculation: turning the profile into an oscillator
This is the main feature.
1) Treat volumes as weights
For each bin:
weight = volume / totalVolume
Now weights sum to 1.
2) Compute weighted mean
Mean price:
mean = sum(weight * price )
3) Compute weighted variance and std deviation
Variance:
variance = sum(weight * (price - mean)^2)
stdDev = sqrt(variance)
4) Compute weighted third central moment
Third moment:
m3 = sum(weight * (price - mean)^3)
5) Standardize to skewness
Skewness:
rawSkew = m3 / (stdDev^3)
This standardization matters. Without it, the value would explode or shrink based on profile scale. Standardized skewness is dimensionless and comparable.
Smoothing and regime rules
Raw skewness can be jumpy because:
profile bins change as rangeHigh/rangeLow shift,
one high-volume candle can reshape the distribution,
volume regimes change quickly in crypto.
So the indicator applies EMA smoothing:
smoothedSkew = EMA(rawSkew, smooth)
Then it classifies regime using fixed thresholds:
Bullish (ACCUMULATION): smoothedSkew > +0.25
Bearish (DISTRIBUTION): smoothedSkew < -0.25
Neutral: between those values
Signals are generated on threshold cross events:
Bull signal when smoothedSkew crosses above +0.25
Bear signal when smoothedSkew crosses below -0.25
This makes the skew act like a regime oscillator rather than a constantly flipping color.
Volume Profile plotting modes
The script draws the profile on the last bar, using boxes for each bin, anchored to the right with a configurable offset. The width of each profile bar is normalized by max bin volume:
volRatio = binVol / maxVol
barWidth = volRatio * width
Three style modes exist:
1) Gradient
Uses a “jet-like” gradient based on volRatio (blue → red). Higher-volume bins stand out naturally. Transparency increases as volume decreases, so low-volume bins fade.
2) Solid
Uses the current regime color (bull/bear/neutral) for all bins, with transparency. This makes the profile read as “structure + regime.”
3) Skew Highlight
Highlights bins that match the skew bias:
If skew bullish, emphasize lower portion of profile.
If skew bearish, emphasize higher portion of profile.
Else, keep most bins neutral.
This is a visual “where the skew is coming from” mode.
Historical POC tracking and Naked POCs
This script also treats POCs as meaningful levels over time, similar to how traders track old VA levels.
What is a “naked POC”?
A “naked POC” is a previously formed POC that has not been revisited (retested) by price since it was recorded. Many traders watch these as potential reaction zones because they represent prior “maximum traded interest” that the market has not re-engaged with.
How this script records POCs
It stores a new historical POC when:
At least updatebars have passed since the last stored POC, and
The POC has changed by at least pochangethres (%) from the last stored value.
New stored POCs are flagged as naked by default.
How naked becomes tested
On each update, the script checks whether price has entered a small zone around a naked POC:
zoneSize = POC * 0.002 (about 0.2%)
If bar range overlaps that zone, mark it as tested (not naked).
Display controls:
Highlight Naked POCs: draws and labels untested POCs.
Show Tested POCs: optionally draw tested ones in a muted color.
To avoid clutter, the script limits stored POCs to the most recent 20 and avoids drawing ones too close to the current POC.
On-chart key levels and what they mean
When enabled, the script draws the current lookback profile levels on the price chart:
POC (solid): the “most traded” price.
VAH/VAL (dashed): boundaries of the 70% value area.
VWMP (dotted): volume-weighted mean of the profile distribution.
Interpretation framework (practical, not mystical):
POC often behaves like a magnet in balanced conditions.
VAH/VAL define the “accepted” area, breaks can signal auction continuation.
VWMP is a fair-value reference, useful as a mean anchor when skew is neutralizing.
Oscillator panel and histogram
The skew oscillator is plotted in a separate pane:
Line: smoothedSkew, colored by regime.
Histogram: smoothedSkew as bars, colored by sign.
Fill: subtle shading above/below 0 to reinforce bias.
This makes it easy to read:
Direction of bias (positive vs negative).
Strength (distance from 0 and from thresholds).
Transitions (crosses of ±0.25).
Info table: what it summarizes
On the last bar, a table prints key diagnostics:
Current skew value (smoothed).
Regime label (ACCUMULATION / DISTRIBUTION / NEUTRAL).
Current POC, VAH, VAL, VWMP.
Count of naked POCs still active.
A simple “volume location” hint (lower/higher/balanced).
This is designed for quick scanning without reading the entire profile.
Alerts
The indicator includes alerts for:
Skew regime shifts (cross above +0.25, cross below -0.25).
Price crossing above/below current POC.
Approaching a naked POC (within 1% of any active naked POC).
The “approaching naked POC” alert is useful as a heads-up that price is entering a historically important volume magnet/reaction zone.
How to use it properly
1) Regime filter
Use skew regime to decide what type of trades you should prioritize:
ACCUMULATION (positive skew): market activity is heavier at lower prices, pullbacks into value or below VWMP often matter more.
DISTRIBUTION (negative skew): activity is heavier at higher prices, rallies into value or above VWMP often matter more.
NEUTRAL: mean-reversion and POC magnet behavior tends to dominate.
This is not “buy when green.” It is context for what the auction is doing.
2) Level-based execution
Combine skew with VA/POC levels:
In neutral regimes, expect rotations around POC and inside VA.
In strong skew regimes, watch for acceptance away from POC and reactions at VA edges.
3) Naked POCs as targets and reaction zones
Naked POCs can act like unfinished business. Common workflows:
As targets in rotations.
As areas to reduce risk when price is approaching.
As “if it breaks cleanly, trend continuation” markers when price returns with force.
Parameter tuning guidance
Lookback
Controls how “local” the profile is.
Shorter: reacts faster, more sensitive to recent moves.
Longer: more stable, better for swing context.
Bins
Controls resolution of the profile.
Higher bins: more detail, more computation, more sensitive profile shape.
Lower bins: smoother, less detail, more stable skew.
Smoothing
Controls how noisy the skew oscillator is.
Higher smoothing: fewer regime flips, slower response.
Lower smoothing: more responsive, more false transitions.
POC tracking settings
Update interval and threshold decide how many historical POCs you store and how different they must be. If you set them too loose, you will spam levels. If too strict, you will miss meaningful shifts.
Limitations and what not to assume
This indicator uses candle-range volume distribution because Pine cannot see tick-level volume-at-price. That means:
The profile is an approximation of where volume could have traded, not exact tape data.
Skew is best treated as a structural bias, not a precise signal generator.
Extreme single-bar events can distort the distribution briefly, smoothing helps but cannot remove reality.
Summary
Volume Profile Skew takes standard volume profile structure (POC, Value Area, volume-weighted mean) and adds a statistically grounded measure of profile shape using skewness. The result is a regime oscillator that quantifies whether volume concentration is leaning toward lower prices (accumulation) or higher prices (distribution), while also plotting the full profile, key levels, and historical naked POCs for actionable context.
Relative Equal Highs/Lows by tncylyvRelative Equal Highs/Lows
Relative Equal Highs/Lows (REH/REL) is a technical analysis utility designed to identify significant liquidity pools based on Smart Money Concepts (SMC). Unlike standard support and resistance tools that look for single touches, this script identifies sequences of swing points that form relatively flat or slightly stepping structures.
These structures typically represent engineered liquidity or inducement levels where stop-losses are clustered. The indicator visualizes these areas and projects the price level that is likely to be targeted by future price action.
Core Concepts
Relative Structure Detection
Markets rarely form perfectly equal double tops or bottoms to the exact tick. This indicator detects "Relative" Equal Highs or Lows by analyzing a sequence of swing points. It looks for a user-defined number of swings (default is 3) that occur within a specific point threshold of each other, forming a trendline liquidity or flat structure.
Validation System (Noise Reduction)
A distinct feature of this script is its validation mechanism. When a potential pattern is detected, it is not drawn immediately. Instead, it enters a "pending" state for a specific number of bars.
• If price immediately breaks the level during this wait period, the pattern is discarded as noise.
• If the level remains unmitigated after the wait period, it is confirmed and drawn on the chart.
This logic helps reduce clutter and false signals caused by immediate volatility.
Standard Data Integrity
The indicator explicitly requests standard ticker data for all calculations. This ensures that even if you are viewing Heikin Ashi, Renko, or other synthetic chart types, the liquidity levels remain accurate to the real market OHLC prices.
Key Features
• Customizable Swing Detection: You can define how many swings are required to form a pattern (e.g., 2 for double tops/bottoms, 3 or more for extended liquidity pools).
• Gap Management: Options to enforce a minimum number of bars between swings to ensure the structure covers a significant timeframe.
• Mitigation Handling: Choose exactly how a level is considered broken (Wick Touch, Candle Close, or Sweep/Rejection).
• Visual Connectors: Optional dotted lines connect the specific pivot points used to derive the level, helping you visualize the structure of the liquidity.
Settings Overview
Pivot Length
Determines the lookback period to define a Swing High or Low. Higher values will identify more significant market structures.
Max Step Difference (Points)
This is the tolerance range allowed between consecutive swing points. Since this calculates based on raw points, this value must be adjusted significantly depending on the asset class (e.g., Forex pairs versus Crypto or Indices) to match the price scale of the instrument.
Required Swings Amount
The number of swing points required to confirm a pattern.
Min Bars Between Swings
Ensures that the detected pivots are distinct and spaced out by a minimum amount of time.
Validation Wait (Bars)
The duration a pattern must survive before being rendered. Increasing this value filters out structures that are immediately swept.
Mitigation Mode
• Wick Touch: The level is mitigated as soon as a wick touches it.
• Close Through: The level is only mitigated if a candle closes beyond it.
• Sweep Reject: The level is mitigated only if price sweeps it but closes back inside the range.
Visualization
Controls the colors, line styles, and line widths for both active and mitigated levels. Connectors can be toggled on or off to show the path of the swing points.
Extreme HMA ATR BandsExtreme HMA ATR Bands
Extreme HMA ATR Bands are a fast and smooth trend-following tool designed to capture directional moves while minimizing false signals across volatile markets.
🚀 Benefits
• High responsiveness to market moves
• Smooth trend tracking with fewer false signals
• Strong performance on assets such as SOLUSD, SUIUSD, and CROUSD
• Clear visual band structure for easier market interpretation
💡 Core Idea
The indicator builds adaptive bands around a smoothed price structure derived from Hull-type processing. By focusing on extreme values and combining them into a balanced midpoint, the bands capture trend direction while maintaining smooth behavior.
ATR is then applied to dynamically scale the bands according to market volatility.
⚙️ How It Works
A fast-smoothed price series is calculated using Hull-style logic.
Highest and lowest values of this series are measured over multiple stages.
These extremes are processed again to balance responsiveness and smoothness.
The resulting midpoint forms the base trend line.
ATR is added and subtracted from this midpoint to generate adaptive upper and lower bands.
The result is a fast yet stable band structure that reacts efficiently to market direction changes.
📌 Usage Notes
• Price moving above the upper band suggests bullish pressure.
• Price moving below the lower band suggests bearish pressure.
• Band expansion signals increasing volatility.
• Band contraction often indicates consolidation phases.
Enjoy and trade smart.
Cross-Market Regime Scanner [BOSWaves]Cross-Market Regime Scanner - Multi-Asset ADX Positioning with Correlation Network Visualization
Overview
Cross-Market Regime Scanner is a multi-asset regime monitoring system that maps directional strength and trend intensity across correlated instruments through ADX-based coordinate positioning, where asset locations dynamically reflect their current trending versus ranging state and bullish versus bearish bias.
Instead of relying on isolated single-asset trend analysis or static correlation matrices, regime classification, spatial positioning, and intermarket relationship strength are determined through ADX directional movement calculation, percentile-normalized coordinate mapping, and rolling correlation network construction.
This creates dynamic regime boundaries that reflect actual cross-market momentum patterns rather than arbitrary single-instrument levels - visualizing trending assets in right quadrants when ADX strength exceeds thresholds, positioning ranging assets in left quadrants during consolidation, and incorporating correlation web topology to reveal which instruments move together or diverge during regime transitions.
Assets are therefore evaluated relative to ADX-derived regime coordinates and correlation network position rather than conventional isolated technical indicators.
Conceptual Framework
Cross-Market Regime Scanner is founded on the principle that meaningful market insights emerge from simultaneous multi-asset regime awareness rather than sequential single-instrument analysis.
Traditional trend analysis examines assets individually using separate chart windows, which often obscures the broader cross-market regime structure and correlation patterns that drive coordinated moves. This framework replaces isolated-instrument logic with unified spatial positioning informed by actual ADX directional measurements and correlation relationships.
Three core principles guide the design:
Asset positioning should be determined by ADX-based regime coordinates that reflect trending versus ranging state and directional bias simultaneously.
Spatial mapping must normalize ADX values to place assets within consistent quadrant boundaries regardless of instrument volatility characteristics.
Correlation network visualization reveals which assets exhibit coordinated behavior versus divergent regime patterns during market transitions.
This shifts regime analysis from isolated single-chart monitoring into unified multi-asset spatial awareness with correlation context.
Theoretical Foundation
The indicator combines ADX directional movement calculation, coordinate normalization methodology, quadrant-based regime classification, and rolling correlation network construction.
A Wilder's smoothing implementation calculates ADX, +DI, and -DI for each monitored asset using True Range and directional movement components. The ADX value relative to a configurable threshold determines X-axis positioning (ranging versus trending), while the difference between +DI and -DI determines Y-axis positioning (bearish versus bullish). Coordinate normalization caps values within fixed boundaries for consistent quadrant placement. Pairwise correlation calculations over rolling windows populate a network graph where line thickness and opacity reflect correlation strength.
Five internal systems operate in tandem:
Multi-Asset ADX Engine : Computes smoothed ADX, +DI, and -DI values for up to 8 configurable instruments using Wilder's directional movement methodology.
Coordinate Transformation System : Converts ADX strength and directional movement into normalized X/Y coordinates with threshold-relative scaling and boundary capping.
Quadrant Classification Logic : Maps coordinate positions to four distinct regime states—Trending Bullish, Trending Bearish, Ranging Bullish, Ranging Bearish—with color-coded zones.
Historical Trail Rendering : Maintains rolling position history for each asset, drawing gradient-faded trails that visualize recent regime trajectory and velocity.
Correlation Network Calculator : Computes pairwise return correlations across all enabled assets, rendering weighted connection lines in circular web topology with strength-based styling.
This design allows simultaneous cross-market regime awareness rather than reacting sequentially to individual instrument signals.
How It Works
Cross-Market Regime Scanner evaluates markets through a sequence of multi-asset spatial processes:
Data Request Processing : Security function retrieves high, low, and close values for up to 8 configurable symbols with lookahead offset to ensure confirmed bar data.
ADX Calculation Per Asset : True Range computed from high-low-close relationships, directional movement derived from up-moves versus down-moves, smoothed via Wilder's method over configurable period.
Directional Index Derivation : +DI and -DI calculated as smoothed directional movement divided by smoothed True Range, scaled to percentage values.
Coordinate Transformation : X-axis position equals (ADX - threshold) * 2, capped between -50 and +50; Y-axis position equals (+DI - -DI), capped between -50 and +50.
Quadrant Assignment : Positive X indicates trending (ADX > threshold), negative X indicates ranging; positive Y indicates bullish (+DI > -DI), negative Y indicates bearish.
Trail History Management : Configurable-length position history maintains recent coordinates for each asset, rendering gradient-faded lines connecting sequential positions.
Velocity Vector Calculation : 7-bar coordinate change converted to directional arrow overlays showing regime momentum and trajectory.
Return Correlation Processing : Bar-over-bar returns calculated for each asset, pairwise correlations computed over rolling window.
Network Graph Construction : Assets positioned in circular topology, correlation lines drawn between pairs exceeding threshold with thickness/opacity scaled by correlation strength, positive correlations solid green, negative correlations dashed red.
Risk Regime Scoring : Composite score aggregates bullish risk-on assets (equities, crypto, commodities) minus bullish risk-off assets (gold, dollar, VIX), generating overall market risk sentiment with colored candle overlay.
Together, these elements form a continuously updating spatial regime framework anchored in multi-asset momentum reality and correlation structure.
Interpretation
Cross-Market Regime Scanner should be interpreted as unified spatial regime boundaries with correlation context:
Top-Right Quadrant (TREND ▲) : Assets positioned here exhibit ADX above threshold with +DI exceeding -DI - confirmed bullish trending conditions with directional conviction.
Bottom-Right Quadrant (TREND ▼) : Assets positioned here exhibit ADX above threshold with -DI exceeding +DI - confirmed bearish trending conditions with directional conviction.
Top-Left Quadrant (RANGE ▲) : Assets positioned here exhibit ADX below threshold with +DI exceeding -DI - ranging consolidation with bullish bias but insufficient trend strength.
Bottom-Left Quadrant (RANGE ▼) : Assets positioned here exhibit ADX below threshold with -DI exceeding +DI - ranging consolidation with bearish bias but insufficient trend strength.
Position Trails : Gradient-faded lines connecting recent coordinate history reveal regime trajectory - curved paths indicate regime rotation, straight paths indicate sustained directional conviction.
Velocity Arrows : Directional vectors overlaid on current positions show 7-bar regime momentum - arrow length indicates speed of regime change, angle indicates trajectory direction.
Correlation Web : Circular network graph positioned left of main quadrant map displays pairwise asset relationships - solid green lines indicate positive correlation (moving together), dashed red lines indicate negative correlation (diverging moves), line thickness reflects correlation strength magnitude.
Asset Dots : Multi-layer glow effects with color-coded markers identify each asset on both quadrant map and correlation web-symbol labels positioned adjacent to current location.
Regime Summary Bar : Vertical boxes on right edge display condensed regime state for each enabled asset - box background color reflects quadrant classification, border color matches asset identifier.
Risk Regime Candles : Overlay candles on price chart colored by composite risk score - green indicates risk-on dominance (bullish equities/crypto exceeding bullish safe-havens), red indicates risk-off dominance (bullish gold/dollar/VIX exceeding bullish risk assets), gray indicates neutral balance.
Quadrant positioning, trail trajectory, correlation network topology, and velocity vectors outweigh isolated single-asset readings.
Signal Logic & Visual Cues
Cross-Market Regime Scanner presents spatial positioning insights rather than discrete entry signals:
Regime Clustering : Multiple assets congregating in same quadrant suggests broad market regime consensus - all assets in TREND ▲ indicates coordinated bullish momentum across instruments.
Regime Divergence : Assets splitting across opposing quadrants reveals intermarket disagreement - equities in TREND ▲ while safe-havens in TREND ▼ suggests healthy risk-on environment.
Quadrant Transitions : Assets crossing quadrant boundaries mark regime shifts - movement from left (ranging) to right (trending) indicates breakout from consolidation into directional phase.
Trail Curvature Patterns : Sharp curves in position trails signal rapid regime rotation, straight trails indicate sustained directional conviction, loops indicate regime uncertainty with back-and-forth oscillation.
Velocity Acceleration : Long arrows indicate rapid regime change momentum, short arrows indicate stable regime persistence, arrow direction reveals whether asset moving toward trending or ranging state.
Correlation Breakdown Events : Previously strong correlation lines (thick, opaque) suddenly thinning or disappearing indicates relationship decoupling - often precedes major regime transitions.
Correlation Inversion Signals : Assets shifting from positive correlation (solid green) to negative correlation (dashed red) marks structural market regime change - historically correlated assets beginning to diverge.
Risk Score Extremes : Composite score reaching maximum positive (all risk-on bullish, all risk-off bearish) or maximum negative (all risk-on bearish, all risk-off bullish) marks regime conviction extremes.
The primary value lies in simultaneous multi-asset regime awareness and correlation pattern recognition rather than isolated timing signals.
Strategy Integration
Cross-Market Regime Scanner fits within macro-aware and intermarket analysis approaches:
Regime-Filtered Entries : Use quadrant positioning as directional filter for primary trading instrument - favor long setups when asset in TREND ▲ quadrant, short setups in TREND ▼ quadrant.
Correlation Confluence Trading : Enter positions when target asset and correlated instruments occupy same quadrant - multiple assets in TREND ▲ provides conviction for long exposure.
Divergence-Based Reversal Anticipation : Monitor for regime divergence between correlated assets - if historically aligned instruments split to opposite quadrants, anticipate mean-reversion or regime rotation.
Breakout Confirmation via Cross-Asset Validation : Confirm primary instrument breakouts by verifying correlated assets simultaneously transitioning from ranging to trending quadrants.
Risk-On/Risk-Off Positioning : Use composite risk score and safe-haven positioning to determine overall market environment - scale risk exposure based on risk regime dominance.
Velocity-Based Timing : Enter during periods of high regime velocity (long arrows) when momentum carries assets decisively into new quadrants, avoid entries during low velocity regime uncertainty.
Multi-Timeframe Regime Alignment : Apply higher-timeframe regime scanner to establish macro context, use lower-timeframe price action for entry timing within aligned regime structure.
Correlation Web Pattern Recognition : Identify regime transitions early by monitoring correlation network topology changes - previously disconnected assets forming strong correlations suggests regime coalescence.
Technical Implementation Details
Core Engine : Wilder's smoothing-based ADX calculation with separate True Range and directional movement tracking per asset
Coordinate Model : Threshold-relative X-axis scaling (trending versus ranging) with directional movement differential Y-axis (bullish versus bearish)
Normalization System : Boundary capping at ±50 for consistent spatial positioning regardless of instrument volatility
Trail Rendering : Rolling array-based position history with gradient alpha decay and width tapering
Correlation Engine : Return-based pairwise correlation calculation over rolling window with configurable lookback
Network Visualization : Circular topology with trigonometric positioning, weighted line rendering based on correlation magnitude
Risk Scoring : Composite calculation aggregating directional states across classified risk-on and risk-off asset categories
Performance Profile : Optimized for 8 simultaneous security requests with efficient array management and conditional rendering
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Micro-regime monitoring for intraday correlation shifts and short-term regime rotations
15 - 60 min : Intraday regime structure with meaningful ADX development and correlation stability
4H - Daily : Swing and position-level macro regime identification with sustained trend classification
Weekly - Monthly : Long-term regime cycle tracking with structural correlation pattern evolution
Suggested Baseline Configuration:
ADX Period : 14
ADX Smoothing : 14
Trend Threshold : 25.0
Trail Length : 15
Correlation Period : 50
Min |Correlation| to Show Line : 0.3
Web Radius : 30
Show Quadrant Colors : Enabled
Show Regime Summary Bar : Enabled
Show Velocity Arrows : Enabled
Show Correlation Web : Enabled
These suggested parameters should be used as a baseline; their effectiveness depends on the selected assets' volatility profiles, correlation characteristics, and preferred spatial sensitivity, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Assets clustering too tightly : Decrease Trend Threshold (e.g., 20) to spread ranging/trending separation, or increase ADX Period for smoother ADX calculation reducing noise.
Assets spreading too widely : Increase Trend Threshold (e.g., 30-35) to demand stronger ADX confirmation before classifying as trending, tightening quadrant boundaries.
Trail too short to show trajectory : Increase Trail Length (20-25) to visualize longer regime history, revealing sustained directional patterns.
Trail too cluttered : Decrease Trail Length (8-12) for cleaner visualization focusing on recent regime state, reducing visual complexity.
Unstable ADX readings : Increase ADX Period and ADX Smoothing (18-21) for heavier smoothing reducing bar-to-bar regime oscillation.
Sluggish regime detection : Decrease ADX Period (10-12) for faster response to directional changes, accepting increased sensitivity to noise.
Too many correlation lines : Increase Min |Correlation| threshold (0.4-0.6) to display only strongest relationships, decluttering network visualization.
Missing significant correlations : Decrease Min |Correlation| threshold (0.2-0.25) to reveal weaker but potentially meaningful relationships.
Correlation too volatile : Increase Correlation Period (75-100) for more stable correlation measurements, reducing network line flickering.
Correlation too stale : Decrease Correlation Period (30-40) to emphasize recent correlation patterns, capturing regime-dependent relationship changes.
Velocity arrows too sensitive : Modify 7-bar lookback in code to longer period (10-14) for smoother velocity representation, or increase magnitude threshold for arrow display.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Macro-aware trading approaches requiring cross-market regime context for directional bias
Intermarket analysis strategies monitoring correlation breakdowns and regime divergences
Portfolio construction decisions requiring simultaneous multi-asset regime classification
Risk management frameworks using safe-haven positioning and risk-on/risk-off scoring
Trend-following systems benefiting from cross-asset regime confirmation before entry
Mean-reversion strategies identifying regime extremes via clustering patterns and correlation stress
Reduced Effectiveness:
Single-asset focused strategies not incorporating cross-market context in decision logic
High-frequency trading approaches where multi-security request latency impacts execution
Markets with consistently weak correlations where network topology provides limited insight
Extremely low volatility environments where ADX remains persistently below threshold for all assets
Instruments with erratic or unreliable ADX characteristics producing unstable coordinate positioning
Integration Guidelines
Confluence : Combine with BOSWaves structure, volume analysis, or primary instrument technical indicators for entry timing within aligned regime
Quadrant Respect : Trust signals occurring when primary trading asset occupies appropriate quadrant for intended trade direction
Correlation Context : Prioritize setups where target asset exhibits strong correlation with instruments in same regime quadrant
Divergence Awareness : Monitor for safe-haven assets moving opposite to risk assets - regime divergence validates directional conviction
Velocity Confirmation : Favor entries during periods of strong regime velocity indicating decisive momentum rather than regime oscillation
Risk Score Alignment : Scale position sizing and exposure based on composite risk score - larger positions during clear risk-on/risk-off environments
Trail Pattern Recognition : Use trail curvature to identify regime stability (straight) versus rotation (curved) versus uncertainty (looped)
Multi-Timeframe Structure : Apply higher-timeframe regime scanner for macro filter, lower-timeframe for tactical positioning within established regime
Disclaimer
Cross-Market Regime Scanner is a professional-grade multi-asset regime visualization and correlation analysis tool. It uses ADX-based coordinate positioning and rolling correlation calculation but does not predict future regime transitions or guarantee relationship persistence. Results depend on selected assets' characteristics, parameter configuration, correlation stability, and disciplined interpretation. Security request timing may introduce minor latency in real-time data retrieval. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, volume context, fundamental macro awareness, and comprehensive risk management.
LDEF SENS Loss Dependent Error Filter Dominance Regime SwitchCAPITALCOM:GOLD
LDEF SENS stands for Loss Dependent Error Filter. This indicator is a dominance regime filter with an adaptive switch boundary. It separates the market into two main states.
Directional tradeable tape (trend and impulse conditions)
Balanced noisy tape (higher fakeout probability)
It also provides a dominance direction bias (bull vs bear) and an adaptive boundary you can use as a market switch signal.
What you see in the indicator pane (bottom panel)
Main line (0 to 100): dominance sensitivity score
Line color meaning
Green: bullish dominance (L greater than R)
Red: bearish dominance (R greater than L)
Gray: low strength or mixed tape
Purple line: adaptive regime boundary (moving threshold)
Violet shading: regime ON (tradeable conditions)
Key idea: height equals strength, color equals direction, violet shading equals regime state.
How to read the three images
Image A - Regime ON in a trending environment
Where to look
Price panel: left to middle shows a clean up move
Indicator panel: directly below the same time window
Violet band is present for a sustained stretch
Main line stays high and mostly green
What it means
When the violet band stays ON, the tape is directional enough for trend following setups to have higher quality. This is not an entry signal. It is an environment filter.
Image B - Switch boundary and state changes
Where to look
Indicator panel: focus on the purple adaptive line and the main line crossing relative to it
Watch the moment the main line moves above the purple line. In the same region, violet shading turns ON.
What it means
The purple line is the adaptive regime boundary.
Cross above: regime switches toward directional tape (state change confirmation)
Cross below: regime fades and chop risk returns
Image C - Direction semantics inside a regime
Where to look
Indicator panel: inside violet shaded regions
Main line is green during bullish dominance (L greater than R)
Main line is red during bearish dominance (R greater than L)
What it means
Violet answers: is this a tradeable regime
Green or red answers: which side is dominating
Together, they provide a filter plus bias framework.
Practical usage
Regime filter
Prefer setups only when the violet band is ON
Reduce size or tighten criteria when the violet band is OFF
Direction bias
Prefer longs when the line is green
Prefer shorts when the line is red
Treat gray as no edge or mixed tape
Switch boundary analysis
Cross above purple: treat as regime shift confirmation
Cross below purple: treat as regime cooling off and higher chop risk
Limitations
This is a regime and dominance tool, not a standalone entry generator. Regime confirmation can be late by design, especially after shocks. Use it with structure, liquidity, and risk management.
Bands and Channels Laboratory [DAFE]Bands and Channels Laboratory : The Ultimate Volatility & Envelope Engine
40+ Unique Algorithms. The Revolutionary MTF Horizon Display. Smart Kill Zones & Pattern Recognition. This is not just a band indicator; it is the definitive toolkit for mastering market volatility.
█ PHILOSOPHY: BEYOND THE BAND, INTO THE LABORATORY
Standard band indicators like Bollinger Bands or Keltner Channels are built on a simple, powerful idea: price tends to revert to a mean, and its deviation from that mean is a measure of volatility. However, their core calculations are primitive. A simple moving average for the basis and a simple standard deviation for the width are blunt instruments in a market that demands surgical precision and adaptability.
The Bands and Channels Laboratory was not created to be another band indicator. It was engineered to be the final word on volatility and envelope analysis. This is not just an indicator; it is a powerful, interactive research environment. It is a laboratory where you, the trader, can move beyond the static "one-size-fits-all" approach and forge a volatility system that is perfectly synchronized with the unique physics of your market.
We have deconstructed the very concept of a "band," separating it into its three core components— The Basis (Center Line) , The Deviation (Width) , and The Band Type (Envelope Logic) —and rebuilt each one with a library of dozens of advanced algorithms. This modular approach provides an almost infinite number of unique combinations, allowing you to construct a tool that is truly your own.
█ WHAT MAKES THIS THE "ULTIMATE" LABORATORY? THE CORE INNOVATIONS
This tool stands in a class of its own, offering a suite of proprietary features that collectively create an unparalleled analytical experience.
The 40+ Algorithm Core (Modular Engine): This is the heart of the Laboratory. You have independent control over the mathematical engine for each part of the band:
22 Basis Algorithms: Choose anything from a classic SMA to a zero-lag Hull MA, an adaptive KAMA, or a proprietary DAFE engine for your center line.
16 Deviation Algorithms: Move beyond simple standard deviation. Use statistically robust measures like Parkinson Volatility, advanced concepts like the Ulcer Index, or proprietary DAFE engines like "DAFE Dark Matter" to calculate your band width.
14 Band Types: Select the fundamental logic, from Bollinger and Keltner to unique DAFE models like "DAFE Quantum Bands."
The MTF Horizon Display: A revolutionary leap in data visualization. The Horizon projects up to three "holographic" displays of higher-timeframe band metrics (like Bandwidth % or Squeeze State) directly onto your main price chart. You can now see the "Macro Volatility" of the 1-Hour, 4-Hour, and Daily charts without ever leaving your 5-minute screen.
The Smart Kill Zone Engine: The indicator automatically identifies, plots, and tracks high-probability reversal zones. These are not based on simple price pivots. They are generated by identifying price levels where price interacted with the bands on high volume and with significant momentum, marking a true, institutionally defended level.
The Pattern Recognition Engine: The Laboratory isn't just reactive; it's proactive. It automatically detects and labels critical band patterns, including multiple types of Squeezes (Coiling, Compression), strong Walking Bands trends, and subtle Band Divergences that often precede major reversals.
The Visualization Core: Data should be intuitive and beautiful. Choose from 11 distinct, animated, and theme-aware rendering modes . From the glowing "Quantum Field" and flowing "Plasma Storm" to the abstract "Neural Network," you can transform the simple band into interactive data art.
█ A GUIDED TOUR OF THE ALGORITHMIC CORE
This is your library of mathematical DNA. Understanding your tools is the first step to mastery.
THE ENGINE FAMILIES
The Basis Algorithms (Center Line): You have over 22 choices. Replace the lagging SMA with a Hull MA for zero lag, a KAMA for adaptivity, or the DAFE Tensor Cloud for a 4D average of OHLC data. Your center line is now as intelligent as you want it to be.
The Deviation Algorithms (Band Width): You have over 16 choices. Go beyond simple standard deviation. Use advanced statistical measures like Garman-Klass or Yang-Zhang for a more efficient estimate of volatility. Or, deploy proprietary DAFE engines like DAFE Entropy , which widens the bands in chaotic markets, or DAFE Elastic , which resists extreme expansion.
The Band Types: Choose from 14 fundamental logics, including classics like Bollinger Bands, Keltner Channels , and Donchian Channels , as well as proprietary DAFE models like the DAFE Quantum Bands , which use a noise-canceling step function for their width.
█ ACTIONABLE INTELLIGENCE: THE SIGNAL & PATTERN ENGINES
The Laboratory transforms bands from a simple contextual tool into a complete trading framework.
The Signal Engine: You are not limited to one strategy. Choose from eight distinct signal modes, from classic Mean Reversion on a band touch to aggressive Squeeze Breakouts or robust Trend Following signals. The "Smart Composite" mode uses a multi-factor scoring system to identify only the highest quality setups.
The Pattern Engine: This is your early warning system.
Squeeze Classification: It doesn't just tell you there's a squeeze; it classifies its type ("Coiling," "Compression"), giving you insight into the potential energy being stored.
Walking the Bands: It automatically detects when price is "walking" or "riding" the upper or lower band—the signature of an extremely powerful trend.
Band Divergence: It alerts you to subtle but powerful divergences between the trend of the price and the trend of the bandwidth, often signaling trend exhaustion before it's visible in price action.
█ THE MASTER DASHBOARD: YOUR "AT-A-GLANCE" COMMAND CENTER
The professional-grade dashboard provides a comprehensive, real-time summary of the entire volatility system's state.
Position & State: Instantly see the price's position relative to the bands (%B), the current Bandwidth percentage, and the overall Volatility Regime (HIGH, LOW, NORMAL).
Pattern Readout: Get a real-time display of the currently detected band pattern (e.g., "SQUEEZE: COILING," "WALKING UPPER").
Signal Status: Confirms the most recent signal generated by your chosen signal mode and displays its calculated "Strength."
Optimizer Data: When enabled, shows the backtest results of your current settings, including Win Rate, Profit Factor, and a proprietary Robustness Score.
█ DEVELOPMENT PHILOSOPHY
Bands Laboratory Ultra was born from a fascination with the physics of the market: the constant ebb and flow between equilibrium and chaos, compression and expansion. We believe that volatility is not just a risk metric; it is the very energy that drives all market movement. This tool was designed for the serious trader who seeks to understand and harness that energy. It is for the analyst who wants to deconstruct, test, and build a volatility tool that is a perfect extension of their own mind.
This Laboratory is designed to help you be wrong less often by providing a crystal-clear, multi-dimensional view of market volatility, allowing you to filter out low-probability trades and act with precision when the odds are stacked in your favor.
█ DISCLAIMER AND BEST PRACTICES
THIS IS AN ADVANCED ANALYTICAL TOOL: This indicator provides a sophisticated volatility and signal framework. It must be integrated into a complete trading plan that includes your own analysis and risk management.
TEST, DON'T GUESS: The power of this tool is its adaptability. Use the built-in Optimizer Engine to rigorously test different algorithm combinations and settings on your chosen asset and timeframe.
START WITH A ROBUST BASE: A classic "Bollinger Bands" type with a "Hull MA" basis and "Standard Deviation" is an excellent, low-lag starting point. From there, begin experimenting with more advanced deviation methods or basis algorithms.
USE CONFLUENCE: The highest probability signals come from confluence. A "Squeeze Breakout" buy signal that is confirmed by high volume, a bullish ADX, and alignment with the MTF Horizon is an A++ setup.
"In the business of trading, the winner is not the person who is never wrong, but the person who is wrong the least."
— William Eckhardt, Market Wizard
Taking you to school. - Dskyz, Trade with Bands. Trade with Channels. Trade with Bands and Channels Laboratory
Liqudity Magnets [Zofesu]Liquidity Magnets is a high-precision institutional-grade tool designed to identify where large market participants place their orders. Instead of looking at basic support and resistance, this indicator focuses on Liquidation Levels and Stop-Loss cluster s, which act as "magnets" for price action.
🧠 The Concept
Markets move from one pocket of liquidity to another. Retail traders often place their stop-losses just above or below recent Swing Highs/Lows. Professional players and algorithms target these areas to fill their large orders (Stop-hunting) .
This indicator uses a Multi-Timeframe (MTF) approach to detect these critical zones based on leverage psychology:
🧲 Yellow Lines (4%) : Near-term liquidity/stop-loss clusters. Common targets for intraday sweeps.
💰 Red/Green Lines (10%): Major liquidation zones. These represent areas where high-leverage positions (10x) face forced liquidations, often leading to massive trend exhaustion and reversals.
🛠️ How it works
📊 MTF Liquidity Projection: The indicator automatically projects levels from a higher timeframe (Default: 4h) to ensure you are looking at significant market structure.
🎯 Filtered Stop-Run Signals (▲/▼): Grey triangles appear only when the price successfully "sweeps" a high/low AND penetrates deep enough into the liquidity pool. This filters out market noise.
🌑 Stealth Bar Coloring: Candles turn black/dark when a sweep is in progress, providing a clear visual cue that the market is currently "hunting" liquidity.
⚙️ Settings Guide
🕒 Select TF: Choose the anchor timeframe for magnets (Recommended: 240 for 4h).
🔍 Lookback: Sets the period for detecting the most relevant Swing Highs and Lows.
📏 Line Length: Controls how many bars the magnet lines extend into the future.
📈 Signal Sensitivity %: * 0%: Shows every minor sweep.
100%: Only triggers if price reaches the 4% magnet line exactly.
🎨 Color Settings: Fully customizable colors to fit any chart theme (Dark/Light).
💡 Trading Strategy
For the best results, look for the "Sweep & Reject" play:
1. Price enters a Magnet Line (Yellow or Red/Green).
2. A Stop-Run Triangle appears.
3. Wait for the price to reject the level and close back inside the previous range.
⚠️ Note
This script uses dark bar-coloring for sweep detection. If you are using a Dark Theme, ensure your candle borders are visible or adjust the Barcolor settings in the script inputs. On TF-H4 you can also use H1, you will see the channel in which the price moves and hits the lines, it is recommended to watch green and red there. Good use on titles like gold, silver - significant movements. Experiment.
For any questions or setup assistance, feel free to check my profile signature or better send me a private message here on TV!
Gold Decisions [DayFunded]Gold Decisions 🎯
A multi-timeframe decision system designed specifically for XAUUSD (Gold) traders who want clarity, not noise.
🔍 What It Does
This indicator helps you identify high-probability trade setups by checking 5 key conditions:
1️⃣ Direction — Weekly + Daily must agree (no fighting the trend!)
2️⃣ Breakout — Daily closes beyond a key H4 zone
3️⃣ Pullback — Price returns to the cleared level (no chasing!)
4️⃣ Structure — 15-minute confirms with a break of structure
5️⃣ Entry — Clean directional close = signal
When all gates pass, you get a simple BUY or SELL label with confidence level (H/M/L).
📊 Features
✅ Clean, minimal chart labels (no spam!)
✅ Smart panel showing exactly what to watch for
✅ Win/Loss tracking to see historical performance
✅ H4 Supply/Demand zones auto-detected
✅ Asia session levels (Gold reacts to these!)
✅ Weekly/Daily high-low reference points
✅ Pullback target line for easy visual
⚠️ Important Notes
This is an indicator, not an EA — it does NOT place trades
Signals fire on confirmed bar close — no repainting
Works best on 15m to 4H timeframes
Designed for XAUUSD but may work on other pairs
🎁 Free to Use
This script is completely free. If you find it helpful, a follow or comment is always appreciated!
📖 How to Use
Add to your Gold chart (15m-4H recommended)
Watch the panel for "WATCH FOR" guidance
Wait for BUY/SELL signal
Check confidence level (H = High, M = Medium, L = Low)
Manage your own risk
Not financial advice. Trade responsibly. ✌️
Adaptive RSIAdaptive RSI
Adaptive RSI is an enhanced version of the classic Relative Strength Index designed to automatically adjust its behavior to changing market conditions. The indicator can operate both as a mean-reversion oscillator and as a trend-following momentum tool, allowing traders to detect high/low value zones while also capturing directional moves.
Unlike the traditional RSI, which uses a fixed smoothing method, Adaptive RSI dynamically changes its calculation speed depending on market activity. This helps reduce false signals in slow or choppy markets while allowing faster responses during strong moves.
🔍 Concept & Idea
The goal behind Adaptive RSI is to make RSI responsive when opportunities appear and more conservative during uncertain or low-activity environments.
By automatically adjusting its internal smoothing and reaction speed, the indicator attempts to balance:
• Early entries during strong market moves
• Reduced noise during consolidation
• Mean-reversion opportunities in ranging markets
• Momentum confirmation in trending markets
This adaptive behavior makes the oscillator more versatile across multiple market conditions.
⚙️ How It Works
The indicator evaluates market activity using three drivers:
• True Range (volatility)
• Volume activity
• Rate of price change
Users can define which of these factors has priority. The script then checks up to three conditions; the more conditions that are satisfied, the faster and more responsive the RSI calculation becomes.
This creates multiple internal speed tiers ranging from smooth and conservative to highly responsive.
After the adaptive RSI is calculated, an additional adaptive smoothing layer is applied using the same logic, improving signal clarity while preserving responsiveness.
An optional feature allows the RSI to use a special Rate-of-Change weighted price source. This feature is more advanced and mainly intended for users who understand how weighted price construction affects oscillators.
A divergence measure between the base RSI and the smoothed Adaptive RSI is also plotted to help visualize shifts in momentum strength.
⚙️ Key Features
• Adaptive RSI calculation speed
• Works for both trend-following and mean-reversion approaches
• Adjustable long and short signal thresholds
• Overbought and oversold zone highlighting
• Divergence histogram between RSI and adaptive smoothing
• Trend-based coloring and visual signal markers
• Optional ROC-weighted source for advanced users
🧩 Inputs Overview
• RSI calculation length and smoothing length
• Price source selection or optional special weighted source
• Speed tier selection (slow, medium, fast behavior)
• Activity priority order (volatility, volume, momentum)
• Long/short and overbought/oversold thresholds
📌 Usage Notes
• Can be used both for trend continuation and mean-reversion strategies.
• Adaptive logic helps reduce noise during sideways markets.
• Strong moves may cause faster RSI transitions due to adaptive speed selection.
• Signals may update intrabar on lower timeframes.
• Works best when combined with risk management and confirmation tools.
• No indicator is perfect; always test before live use.
This script is intended for analytical purposes only and does not provide financial advice.
Saptx Trading Time Ranges v2Saptx – Trading Time Ranges is a session-based market timing indicator designed for traders who focus on specific intraday trading windows rather than constant screen time.
The indicator highlights predefined key trading times using vertical ranges and reference lines, allowing traders to quickly identify when to actively look for trade setups during live trading, backtesting, or TradingView Replay Mode.
Unlike many session indicators, this tool is specifically engineered to work reliably in Replay Mode without auto-scale or zoom distortions.
Once a trading window has ended, its range automatically freezes to the true High and Low of that session, providing clean and stable historical reference levels.
────────────────────
CORE FEATURES
────────────────────
• Session-based trading time ranges
• Automatic High & Low range detection
• Ranges freeze after the session window ends
• Clean and non-intrusive chart visuals
• Replay and backtesting optimized logic
• No auto-scale or zoom distortion issues
────────────────────
SESSION WINDOWS
────────────────────
• Frankfurt Open
• London Open
• MMM1
• MMM2
• New York Open
• New York Trap
• Market Closing
────────────────────
BACKTEST & REPLAY
────────────────────
• Displays previous, current, and next trading day
• Fast navigation to key trading windows in Replay Mode
• Designed for efficient historical trade review
• Stable behavior while scrolling and zooming the chart
────────────────────
CUSTOMIZATION
────────────────────
• Adjustable UTC offset (Winter / Summer time support)
• Custom colors and transparency for ranges and lines
• Clean session labels with optional visibility
• Optional next-session countdown timer
────────────────────
IMPORTANT NOTE
────────────────────
This indicator does NOT generate trade signals.
It is a visual timing and structural tool intended to support discretionary and session-based trading strategies.
────────────────────
RECOMMENDED MARKETS & TIMEFRAMES
────────────────────
• Forex (EUR/USD, GBP/USD, DXY, etc.)
• Intraday timeframes (M5, M15, H1)
Adaptive Moving AverageAdaptive Moving Average
The Adaptive Moving Average (AMA) dynamically adjusts to market conditions, selecting the most responsive behavior while filtering noise to provide clearer trend guidance.
🚀 Why It’s Unique
• Exclusive adaptive logic unique to this script
• High speed with reduced noise
• Strong performance on volatile assets such as SOLUSD and CROUSD
• Highly customizable moving average combinations
• Multi-layer processing for improved accuracy
• Color-changing plots and reversal highlights for quick interpretation
💡 Core Idea
The indicator blends multiple user-selected moving averages and dynamically emphasizes the one best suited to current market conditions. This preserves responsiveness during strong moves while filtering weak or noisy signals.
⚙️ How It Works
Three user-selected moving averages are calculated using the same base length.
A first adaptation layer weights the averages based on their rate of change responsiveness.
A second rate-of-change filter measures market conditions to suppress signals during unstable environments.
The final adaptive average changes behavior depending on market speed and direction.
The result is a moving average that reacts quickly during trends while remaining stable during choppy periods.
📌 Usage Notes
• Color changes indicate shifts in trend direction.
• Highlighted diamonds mark reversal events.
• Higher adaptation thresholds reduce signals but increase reliability.
• Lower thresholds increase responsiveness for faster trading styles.
🧭 Conclusion
The Adaptive Moving Average continuously adjusts its behavior to reduce false signals while maintaining speed and responsiveness. It offers a versatile tool for traders seeking clearer market structure and improved strategy execution.
ATR Impulse Reversal Traffic-Light + RSI Overlay (Normalised)ATR Impulse Reversal Traffic-Light + RSI Overlay (Normalised)
Short Title
Impulse TL + RSI (Norm)
Description (use this exactly)
What this indicator does
This indicator is a calm, context-gated reversal oscillator designed to reduce noise and cognitive overload.
It highlights potential reversal conditions only when price is stretched and momentum shows signs of turning.
The goal is not frequent signals, but clear decision states.
How it works (logic overview)
Stretch Band Gate (Location)
Price must be stretched below a lower ATR band (EMA ± ATR). If price is not stretched, the indicator remains neutral.
Oversold Context
ATR-normalised momentum must have reached an oversold condition within a recent lookback window.
Reversal Timing (Momentum)
Momentum is analysed for early turning behaviour and confirmed reversals.
Traffic-Light Colours
Grey → Ignore (no stretch and/or no oversold context)
Red → Stretched + oversold, momentum still falling
Orange → Momentum turning up (early warning)
Green → Reversal confirmed (signal-line cross or zero cross)
An optional GREEN Hold is included to reduce flicker and visual noise.
RSI Overlay
RSI is plotted normalised to the oscillator scale, allowing it to sit directly on top of the impulse bars for visual confluence.
RSI is not used in the traffic-light logic and is purely informational.
Suggested Use
Best suited for 4H swing trading
Use GREEN states when price remains stretched below the band
Can be paired with a higher-timeframe trend filter if desired (not included)
Repainting & Disclaimer
This script uses only current and historical bar data and does not use security().
Values may update on the realtime bar before close, which is normal TradingView behaviour.
This indicator is provided for educational purposes only and is not financial advice.
Auto Parallel Channel [KTY] Auto Parallel Channel
Automatically detects and draws parallel channels based on ZigZag pivot structure. Supports multi-level channel detection, slope filtering, and channel extension after breakout.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Features
- Auto Channel Detection
- Automatically generates parallel channels by connecting swing highs and lows
- Bullish Channel (Green): Based on HL (Higher Low) pivots
- Bearish Channel (Red): Based on LH (Lower High) pivots
- Multi-Level Structure
- Major Channels: Large trend structure (solid lines)
- Minor Channels: Short-term swing structure (dashed/dotted lines)
- 8 channels total (Major/Minor × External/Internal × Bull/Bear)
- Midline
- Dotted line at the 50% level of each channel
- Serves as a mean reversion reference
- Slope Display
- Each channel label shows its slope (%)
- Positive (+) for ascending, Negative (-) for descending
- Slope Filter
- Option to display only channels above a minimum slope threshold
- Separate threshold settings for bullish and bearish channels
- Channel Extension
- Extends the channel by N bars after price breaks out
- Adjustable extension length (default: 30 bars)
- Alerts
- Bullish Channel Touch: Price touches bullish channel support
- Bearish Channel Touch: Price touches bearish channel resistance
- Bullish Channel Break: Price breaks below bullish channel
- Bearish Channel Break: Price breaks above bearish channel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ How to Use
1. Channel bottom touch → Check for bounce
2. Channel top touch → Check for resistance
3. Channel break → Check for trend reversal or acceleration
4. Midline reaction → Check for mean reversion
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Tips
- Major channels are more reliable than Minor channels
- Channel breakout with increasing volume = higher confidence
- Overlapping channels = stronger support/resistance zones
- Combine with FVG, Order Blocks, and liquidity sweeps for confluence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 Notes
This indicator is open-source under the Mozilla Public License 2.0.
Created by Kim Thank You (김땡큐)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ Disclaimer
This indicator is provided for educational purposes only.
It is not financial advice. Always trade at your own risk.
Prime UltimateWill Write description and instructions soon, please wait for more info or contact me if you have questions
GK Trend Ribbon 10L (Ultra Tight) + PREPARE HUDThis upgraded GK Trend Ribbon keeps original ultra tight 10-line trend engine but now adds a Real Time Preparation system to help traders get ready before the signal print
New Additions
Prepare Alerts (Early Warming System)
Before a GK BUY or GK SELL confirms, the indicator now detects when trend conditions are forming and prints
PREPARE GK BUY
PREPARE GK SELL
this gives traders time to: Set lot Sizes
Mark entries
Prepare risk management
Avoid late entries
Live Trend HUD (heads up display)
green Bullish mode
red Bearish mode
grey Neutral/wait
Warning symbol PREPARE GK BUY/SELL when a move is building
this acts like a market control panel keeping traders aligned with the trend direction at all times
CORE ENGINE (unchanged power)
zero lag trend structure
ATR based dynamic bands
1 clean GK BUY/SELL per confirmed trend shift
visual ribbon showing strength and direction
this version improves timing, preparation, and confidence-without adding clutter
this indicator are for educational purposes only
Bollinger Bands - ALMA EditionBollinger Bands with Crossing Markers - A Small Simple Indicator as a Small Lightweight Supplement.
Green and red markers appear when the price breaks through the top and bottom of the bands, indicating weakening trend momentum and a possible correction or the beginning of a downtrend/uptrend. The BBand is excellent as the FIRST signal of weakening trends – it usually appears right after reaching extremes, i.e., after reaching the bottom or top of the local structure.
TPC-Buying and Selling areasTPC - Buying and Selling Areas
Open-source multi-timeframe indicator that automatically detects and displays Supply (resistance) and Demand (support) zones based on swing structure, along with Fair Value Gaps (FVGs) for imbalance visualization. Supports up to two higher timeframes (MTF) for Supply/Demand + optional current-chart or custom timeframe FVGs, with mitigation tracking, alerts, and a dashboard for FVG stats.
Overview
This tool helps identify key price areas where institutional buying/selling pressure may have accumulated (Supply/Demand zones) and inefficiencies/imbalances in price delivery (Fair Value Gaps).
It plots:
•Demand zones (potential support/buy areas) in green tones
•Supply zones (potential resistance/sell areas) in red tones
•Bullish/Bearish FVGs as filled or line areas (with dynamic or fixed extension options)
•A simple FVG dashboard showing count and mitigation percentage
Zones mitigate (disappear or mark as filled) when price closes/wicks through them. Designed for clean charts with configurable visibility, box pooling, and alerts on new zones or FVG events.
How It Works (Conceptual)
•Supply & Demand Zones
•Uses pivot-based swing highs/lows from one or two user-selectable higher timeframes (or chart timeframe).
•Detects structure breaks (e.g., higher highs/lows, lower highs/lows) near recent ATR range to form zones.
•Zones drawn as extendable boxes with timeframe label, customizable borders/text.
•Mitigation: Zones removed or marked when price breaches them (close or extreme/wick, configurable globally or per TF).
•Only shows recent zones (user-defined "show last N") and cleans up on lower timeframes if desired.
•Fair Value Gaps (FVGs)
•Detects 3-candle imbalances where price gaps aggressively (low > high for bullish, high < low for bearish, with optional size threshold).
•Plots as semi-transparent boxes (fixed extend) or dynamic fills that adjust with price.
•Tracks mitigation (when price fills the gap) and optionally draws dashed mitigation lines.
•Shows unmitigated recent FVGs as lines + dashboard stats (total count, % mitigated for bull/bear).
•Multi-timeframe logic uses request.security() for higher TFs, with careful handling for display on lower charts.
See the code for full pivot detection, array management, mitigation loops, and FVG conditions.
How to Use
•Best on volatile/liquid markets (crypto, forex, indices, futures) across intraday to daily timeframes.
•Use Demand zones (green) as potential long entries or support flips when price approaches from above.
•Use Supply zones (red) as potential short entries or resistance when price approaches from below.
•FVGs highlight inefficiencies: bullish FVGs often act as magnets/pullbacks in uptrends; bearish in downtrends.
•Combine with higher-timeframe bias (e.g., show HTF zones on LTF chart) for confluence.
•Alerts fire on: new demand/supply zone, new bullish/bearish FVG, or FVG mitigation.
•Keep "Show only on lower timeframes" enabled to avoid clutter on HTF charts.
•Adjust "Box Size" (pool) if you hit max_boxes limit on very long histories.
Settings
General Settings
•Hide all Demand / Supply zones
•Show S&D only on lower TFs
•S&D Box Size (pool limit, default 80)
•Mitigate on Close or Wick/Extreme
Timeframe 1 & Timeframe 2 (identical groups)
•Set to chart timeframe (or custom)
•Show Demand/Supply
•Alerts for new zones
•Timeframe multiplier + period (Min/Hour/Day/Week/Month)
•Swing Length for pivots
•Border type/width, text size/color
•Demand/Supply colors
•Show last N zones per type
FVG Settings
•Threshold % (min gap size) or Auto
•Unmitigated levels to show
•Mitigation levels (dashed lines)
•FVG Timeframe (blank = chart)
FVG Style
•Extend bars
•Dynamic fill (adjusts with price)
•Bullish/Bearish colors
FVG Dashboard
•Show dashboard
•Location (Top Right etc.)
•Text size
Notes / Limitations
•Non-repainting after bar close (uses confirmed pivots/security data).
•Heavy on boxes/lines — increase pool size carefully (TradingView limits apply).
•FVGs can fill quickly in ranging markets; use with structure/context.
•Always backtest and combine with your analysis — not financial advice, trading carries risk.
•Open-source: feel free to fork, improve, or learn from it.
Length Adaptive MA SuperTrendLength Adaptive MA SuperTrend
Length Adaptive MA SuperTrend is a third-generation evolution of the SuperTrend concept, designed to improve signal accuracy while maintaining high responsiveness across different market conditions. The indicator dynamically adjusts its moving-average length to better match current market activity, allowing it to react quickly in fast markets while remaining stable during slower phases.
This adaptive behavior helps traders and investors visualize trend direction more clearly while reducing unnecessary noise, making the tool suitable for both beginners and advanced users seeking a responsive trend overlay.
🔍 How It Works
The indicator uses a moving average as the foundation for a SuperTrend-style structure, but instead of keeping the moving-average length fixed, it continuously adapts to changing market environments.
The script compares average activity levels across three horizons:
• Long-term period
• Medium-term period (half length)
• Short-term period (square-root length)
Activity is measured using one of three selectable drivers:
• ATR (volatility)
• Volume
• Standard deviation
Whichever period shows the strongest average activity becomes the active length used for calculating the moving-average base. This allows the indicator to automatically shift between faster and slower behavior depending on market conditions.
After selecting the active length, the result is slightly smoothed using the chosen moving-average type to produce a cleaner and more stable trend structure.
ATR-based bands are then applied around the adaptive base, and trend direction changes when price crosses these bands.
⚙️ Key Features
• Adaptive moving-average length selection
• Automatic adjustment between short, medium, and long market conditions
• Multiple smoothing types (SMA, EMA, WMA, HMA, VWMA, DEMA, TEMA, EWMA)
• ATR-based SuperTrend structure
• Trend transition markers
• Optional candle coloring based on active trend
🧩 Inputs Overview
• Moving-average smoothing type
• Base length and price source
• ATR length and multiplier
• Adaptive driver selection (ATR, Volume, or Standard Deviation)
📌 Usage Notes
• Helps visualize prevailing market trends across changing environments.
• Automatically adapts speed for trending and consolidating markets.
• Signals may change intrabar on lower timeframes.
• Best used with confirmation tools and proper risk management.
• Intended as an analytical tool, not financial advice.
True Range Smoothed SuperTrendTrue Range Smoothed SuperTrend (TRS SuperTrend | MisinkoMaster)
The True Range Smoothed SuperTrend is an innovative trend analysis indicator designed to identify clear market trends while minimizing noise. By combining a smoothed price source weighted by true range values with an ATR-based volatility multiplier, this tool delivers reliable trend signals adaptable to a wide variety of asset classes and timeframes.
It’s particularly useful for traders seeking a versatile trend-following system that balances sensitivity and stability.
🔍 Concept & Idea
The indicator enhances the classic SuperTrend concept by using a true range–weighted smoothing of price data instead of raw price or simple moving averages. This weighting helps focus on periods with higher volatility, improving the relevance of trend detection.
Along with smoothing, the indicator applies an ATR-based volatility multiplier to dynamically adjust the upper and lower trend bands, adapting to current market volatility conditions.
⚙️ How It Works
True Range Weighted Smoothing:
The source price (default: low) is multiplied by the true range values over the lookback period.
These weighted values are summed and normalized by the total true range sum.
The result is further smoothed using an Exponential Moving Average (EMA) with a length proportional to the square root of the input length, reducing noise while preserving trend responsiveness.
ATR-based Bands:
The Average True Range (ATR) is calculated with the same length as the smoothing period.
The ATR is multiplied by a user-defined multiplier to establish dynamic upper and lower bands around the smoothed price.
Trend Determination:
When the source price crosses above the upper band, a bullish trend is signaled.
Conversely, crossing below the lower band signals a bearish trend.
These crossings update the trend state, which controls plotted bands and trend labels.
🧩 Inputs Overview
Length – Controls the lookback period for true range weighting, ATR calculation, and smoothing. Affects sensitivity and smoothness (default 37).
Source – Price source used for calculation, defaulting to low.
Multiplier – Scales the ATR bands to adjust volatility sensitivity (default 1.45).
📌 Usage Notes
The TRS SuperTrend works well across various asset classes and timeframes.
The true range weighting improves trend detection in volatile markets by emphasizing price moves during active periods.
Adjust the length and multiplier inputs to balance between noise reduction and responsiveness for your specific market and strategy.
Trend changes are visually marked with “𝓛𝓸𝓷𝓰” and “𝓢𝓱𝓸𝓻𝓽” labels directly on the chart.
Background fills between bands and price improve visual clarity.
Combine with other confirmation tools and risk management practices for best results.
Not a standalone trading system; always validate and backtest prior to live trading.
⚠️ Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk and users should perform their own analysis before making trading decisions.
Enjoy smoother and clearer trend analysis with the True Range Smoothed SuperTrend!






















