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.
Análisis de tendencia
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.
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.
GCM Apex Predator AlgoTitle: GCM Apex Predator Algo
Overview
The GCM Apex Predator is a high-performance, multi-engine trading system designed for traders who demand precision and clarity. Whether you are a fast-paced scalper or a patient swing trader, this algorithm adapts to market conditions using a sophisticated "Apex Score" momentum engine combined with institutional-grade volume and trend filters.
Key Features
• Triple Engine Logic: Switch seamlessly between Scalper Mode (Fast), Trend Mode (Swing), or a Hybrid setup that captures both micro-moves and macro-trends.
• Apex Score Momentum: A proprietary loop-based engine that calculates the "persistence" of price action. It filters out "fake" moves by ensuring momentum is backed by structural strength.
• Institutional Filters: Includes built-in ADX Trend Power and Relative Volume filters to keep you out of "chop" and only in high-probability trades.
• Dynamic Risk Management: Automatically calculates and draws Entry, Stop Loss (SL), and Take Profit (TP) zones using ATR-based volatility, giving you a professional "desk" feel.
• Corporate Dashboard: A real-time HUD (Heads-Up Display) that monitors Trend Bias, ADX Power, Apex Momentum, and VWAP positioning at a glance.
How to Use
1. Select Your Mode: Use the "Scalper Mode" for lower timeframes (1m, 5m) or "Trend Mode" for higher timeframes (1h, 4h).
2. The "Sniper" Signal: Look for the Gold Circle symbols. These represent "Sniper" entries where all engines (Trend, Volume, and Apex) align for a high-conviction move.
3. Market Structure: Pay attention to the dashed reversal lines. These project potential structural shifts based on fast-reversal HMA logic.
Alerts
This indicator is fully optimized for Any alert() function call. You can set one single alert to receive detailed notifications like:
• 🎯 SNIPER LONG: BTCUSD @ 65000
• ⚡ SCALP BUY: EURUSD @ 1.0850
Disclaimer
Trading involves significant risk. This tool is for educational and technical analysis purposes. Past performance does not guarantee future results.
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.
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.
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.
Dynamic Trend-Based Fibonacci Extension💡 This indicator is a sophisticated, automated technical analysis tool designed to identify high-probability trend continuation setups using the principles of market structure and Fibonacci geometry. By algorithmically detecting "A-B-C" price structures (Pivot -> Impulse -> Retracement), it projects dynamic Fibonacci Extension levels to forecast potential price targets for the next impulsive move (Wave C to D). Unlike static drawing tools, this script adapts to market volatility and features an advanced invalidation engine to keep your charts clean and your risk managed.
✨ Originality and Utility
Traders often struggle with the subjectivity of drawing Fibonacci extensions manually. This script solves that by standardizing the identification of market structure using a proprietary ZigZag algorithm enhanced with Average True Range (ATR) for volatility-adjusted sensitivity.
Key unique features include:
Automated Structure Detection: Instantly spots Bullish (Higher High, Higher Low) and Bearish (Lower Low, Lower High) sequences without manual input.
Dynamic Invalidation: The script monitors price action in real-time. If price breaks the invalidation point (Point A), the structure is immediately "grayed out" or deleted, preventing you from trading based on broken setups.
Golden Zone Targeting: Highlights the high-probability reversal zone between the 1.5 and 1.618 extensions, often associated with the completion of a measured move.
JSON Alerting: Built-in support for algorithmic trading with structured JSON payloads (Entry, TP, SL) ready for webhook integration.
🔬 Methodology and Concepts
The core logic operates on a three-step algorithmic sequence:
1. Pivot Identification: The script uses a "ZigZag" approach to find significant swing highs and lows. It employs an ATR-based threshold (or fixed deviation) to filter out market noise, ensuring only significant structural points are considered.
2. Geometric Validation: It evaluates the last three pivot points (A, B, C) to confirm a valid trend structure.
Bullish Setup: Point C must be higher than Point A but lower than Point B (a valid retracement).
Bearish Setup: Point C must be lower than Point A but higher than Point B.
3. Projection Mathematics: Once a valid ABC structure is locked, the script calculates extension targets using the standard formula: Target = Price C + ((Price B - Price A) * Ratio) . It also supports Logarithmic Scale calculations for assets with exponential growth, such as cryptocurrencies, ensuring proportional accuracy over large price ranges.
🎨 Visual Guide
The indicator paints a clear, detailed roadmap on your chart. Here is how to interpret the visual elements:
● Structure Lines
Solid Line (A to B): Represents the initial "Impulse" leg of the move.
Dashed Line (B to C): Represents the "Retracement" or corrective leg.
Green Structures: Indicate Bullish setups (looking for long entries).
Red Structures: Indicate Bearish setups (looking for short entries).
Gray/Dimmed Structures: These are invalidated setups where the price has breached the Stop Loss level (Point A).
● Extension Levels (Targets)
The script projects the following key Fibonacci ratios extending from Point C:
0.618 (Wave 5): An early profit-taking level, often corresponding to a truncated 5th wave.
1.0 (Measured Move): Where the extension equals the length of the initial impulse (AB = CD pattern).
1.272 (Harmonic): A common extension level for corrective structures or deep pullbacks.
Golden Zone (1.5 - 1.618): A highlighted fill area. The 1.618 level (Solid Line) is the "Golden Ratio" and is statistically one of the most significant targets in trending markets, often labeled as "Wave 3".
● Labels
Points A, B, C: Clearly marks the swing points defining the structure.
Right-Side Labels: Display the Ratio (e.g., 1.618) and the exact Price Level for easy order placement.
📖 How to Use
This tool is best used as a trend-following system.
1. Trend Identification
Wait for a new Solid Colored Structure (Green or Red) to appear. This confirms that a valid ABC retracement has occurred.
2. Entry Strategy
The "Trigger" is generally the reversal from Point C. Aggressive traders enter near C, while conservative traders may wait for a breakout above B.
Stop Loss: Place your SL just beyond Point A . If price breaks A, the script will automatically gray out the structure, signaling invalidation.
3. Profit Taking
Use the projected extension lines as dynamic Take Profit (TP) zones:
TP1: 1.0 (The Measured Move).
TP2: The Golden Zone (1.5 to 1.618). This is often the strongest target for a Wave 3 impulsive move.
4. Automation
For automated traders, create an alert using the "Any alert() function call" option. The script outputs a JSON string containing the Action, Ticker, Entry Price, TP (1.618), and SL (Point A).
⚙️ Inputs and Settings
You can fully customize the script to fit your asset class and timeframe:
● ZigZag Detection
Pivot Lookback Depth: (Default: 5) Determines how many bars to check left/right for a pivot. Higher numbers find larger, more significant structures.
Use ATR-Based Threshold: (Default: True) Adapts the sensitivity to market volatility.
ATR Multiplier: (Default: 2.0) Adjusts how much price must reverse to form a new leg.
● Structure Invalidation
Enable Structure Invalidation: (Default: True) Toggles the logic that checks if Point A is breached.
Invalidation Action: Choose "Gray Out" to keep history visible but dimmed, or "Delete" to remove failed setups entirely.
● Fibonacci Settings
Use Logarithmic Scale: Essential for crypto or long-term timeframe analysis.
Show 0.618 / 1.0 / 1.272 / 1.618: Toggles individual levels on/off to declutter the chart.
Extend Lines Right: Extends the target lines into the future for better visibility.
● Display Settings
Keep Last N Structures: Controls how many historical structures remain on the chart to prevent visual clutter.
Show Elliott Wave Labels: Adds theoretical wave counts (e.g., "Wave 3") to the ratio labels.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator is grounded in Fractal Market Geometry and Elliott Wave Theory .
1. The Golden Ratio (Phi - 1.618):
Mathematically derived from the Fibonacci sequence, the 1.618 ratio is omnipresent in natural growth patterns. In financial markets, it represents the psychological "tipping point" of crowd behavior during an impulsive trend. This script emphasizes the 1.618 extension as the primary target for a "Wave 3," which is academically cited as typically the longest and strongest wave in a 5-wave motive sequence.
2. Harmonic AB=CD Patterns:
The inclusion of the 1.0 extension validates the "Measured Move" concept. Statistically, markets often move in symmetrical legs where the secondary impulse (CD) equals the magnitude of the primary impulse (AB).
3. Volatility Normalization (ATR):
By utilizing the Average True Range (ATR) for pivot detection, the script adheres to statistical volatility normalization. This ensures that the structures identified are statistically significant relative to the asset's current volatility regime, rather than relying on arbitrary percentage moves which fail across different asset classes.
⚠️ 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.
ZenAlgo - GridOverview and anchoring logic
This indicator constructs a price grid based on a dynamically or manually defined price swing. The entire calculation starts by defining two anchor points that represent a completed directional move. These anchors can be selected in two ways:
Manually, by specifying a start time and an end time, where the indicator uses the candle corresponding to those times and selects either wick highs or lows depending on direction.
Automatically, by detecting significant swing points derived from recent price extremes over a configurable historical window.
The chosen anchors form a reference segment between point A and point B. This segment defines both direction and magnitude of the move. All subsequent levels and zones are derived relative to this segment, ensuring the grid adapts to current market structure rather than using fixed price distances.
Difference from traditional grid and Fibonacci tools
Unlike fixed price grids or standard Fibonacci tools that require manual anchoring and remain static once drawn, this indicator continuously derives its grid from the most relevant completed price swing. Instead of treating levels as independent horizontal prices, all values are expressed as proportions of a single measured move, allowing the grid to automatically rescale and realign as market structure evolves.
Market structure detection and directional context
Before the grid itself is drawn, the script continuously evaluates price structure using swing detection over two different sensitivities. Larger swings establish the dominant structural direction, while smaller swings can optionally be shown for internal context.
Swing highs and swing lows are detected by comparing historical highs and lows over a rolling window.
When price crosses above or below the most recent structural level, the script classifies the event as either a continuation in the same direction or a change in direction.
This structural state determines whether the grid is treated as upward or downward and influences the visual orientation of labels and zones.
This step matters because retracement and extension levels only have meaning when referenced to a clearly defined directional move.
Primary range construction between anchors
Once the anchor points are established, the indicator measures the vertical price distance between them. This distance is treated as a normalized range rather than an absolute value. Every level drawn afterward is positioned as a proportional offset of this range.
If the second anchor is above the first, the grid is considered bullish.
If the second anchor is below the first, the grid is considered bearish.
Colors and label orientation adapt automatically to this direction.
By normalizing the range, the grid remains comparable across assets and timeframes.
Retracement and extension level placement
The indicator plots a predefined set of proportional levels between and beyond the anchor points. Each level represents a fraction or multiple of the original move.
Lower values correspond to deeper retracements toward the origin of the move.
Mid-range values represent partial pullbacks within the move.
Higher values extend beyond the move, projecting potential continuation zones.
Each level is drawn as a horizontal line extending into future bars, accompanied by a label. Labels can be shown either as descriptive names or as raw proportional values, depending on user preference.
Zone construction instead of single levels
Rather than relying only on precise price lines, the indicator groups selected proportions into zones. This reflects the observation that price interaction typically occurs across ranges rather than at exact prices.
A retracement zone highlights an area between two closely spaced proportional levels.
A projection zone marks a continuation region beyond the measured move.
These zones are drawn as shaded areas extending forward in time.
Visual reference points
The indicator explicitly marks the two anchor points on the chart.
Point A represents the origin of the measured move.
Point B represents the completion of that move.
This allows the user to visually verify which price swing the grid is derived from.
How to interpret the values
All plotted levels express proportional relationships to the measured move, not independent price predictions.
Lower proportional values indicate proximity to the start of the move.
Mid-range values represent partial retracements.
Higher values indicate projected continuation areas.
How to best use this indicator
This indicator serves as a structural reference tool rather than a signal generator.
Apply it after a clear directional swing has formed.
Use higher-timeframe context to validate anchor selection.
Combine the grid with price behavior and other contextual tools.
Limitations and disclaimers
This indicator is purely proportional and structure-based.
It does not incorporate volume, volatility regimes, or fundamental data.
Automatic anchoring may differ from subjective swing selection.
Levels and zones represent reference areas, not guaranteed reaction points.
The indicator describes price structure and proportional relationships only.
AI Smart Entry Pro v4 (AVINASH27)AI Smart Entry Pro v4 is a rule-based trading strategy designed to identify high-probability market entries using trend confirmation and momentum logic.
This strategy is intended for educational and back-testing purposes only.
It does not repaint and all signals are generated strictly on closed candles.
Key Features:
Works best in trending market conditions
Uses predefined logic for entry and exit
Suitable for intraday and scalping timeframes
Designed for consistent risk-controlled trading
No future data or repainting logic used
Recommended Usage:
Apply on liquid instruments (Forex, Indices, Gold, Crypto)
Combine with proper risk management
Always forward-test before live trading
⚠️ Disclaimer:
This strategy does not guarantee profits. Trading involves risk, and past performance is not indicative of future results. Use at your own discretion.
Bookmap-ish Volume Diagram Aggregated Delta + Level Flags [v5.3]What this gives you
✅ True volume-diagram pane (no chart overlay)
✅ Buy vs Sell columns (aggression visualization)
✅ Net delta bars
✅ Pressure oscillator + signal
✅ CVD
✅ Bookmap-style “pressure at levels” flags
(upper = supply, lower = demand, VWAP = acceptance)
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.
Volatility Smoothed Moving Average BandVolatility Smoothed Moving Average Bands
The Volatility Smoothed Moving Average Bands are volatility-based bands that combine multiple measurements to provide a robust and accurate view of market trend and direction.
🚀 Benefits
• Reduced noise through multi-source averaging
• Fast response to market changes
• Strong performance on volatile assets, especially altcoins (notably CROUSD)
💡 Core Idea
The goal is to generate accurate and robust signals by averaging multiple components without requiring additional historical data. The method extracts more information from the same data, improving stability and responsiveness simultaneously.
⚙️ How It Works
A fast and a slow moving average are calculated.
Multiple intermediate values are derived and averaged to build a highly stable center line.
Differences between all components are averaged to estimate volatility.
This volatility is added and subtracted from the center line to form dynamic upper and lower bands.
The result is adaptive bands that track market structure with high accuracy and reduced lag.
📌 Usage Notes
• Best suited for trend detection and dynamic support/resistance.
• Bands expanding → volatility increasing.
• Bands contracting → market compression or consolidation.
• Crosses above/below bands often signal strong directional shifts.
Enjoy and trade smart.
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!
ICT Bias ProICT Bias Pro: Dashboard + First Hour Range & Session FVGs
This indicator is a comprehensive "Bias Builder" designed for traders who follow Inner Circle Trader (ICT) concepts. It combines a multi-timeframe trend dashboard with a specific intraday strategy derived from ICT's recent teaching: "How Do I Engage Markets When I Don't Have An Initial Bias?"
The tool is designed to help traders find confluence between the Macro trend (Daily/4H) and the Micro execution (15M/5M) during the New York AM Session.
Features & Methodology
1. Multi-Timeframe Bias Dashboard Located in the corner of your chart, this dashboard provides a quick "Traffic Light" view of the market structure across 4 key timeframes:
Daily & 4-Hour: Establishes the macro direction.
15-Min & 5-Min: Monitors intraday order flow.
Logic: Bias is determined by comparing price relative to the 20 EMA and checking for Market Structure alignment. Green = Bullish, Red = Bearish.
2. The "First Hour" Trading Range (No-Bias Strategy) Following ICT’s specific logic for days when bias is unclear, this tool automatically highlights the 9:30 AM – 10:30 AM (New York Time) trading range.
Range High & Low: Defining the volatility of the opening hour.
Equilibrium (50%): The "Line in the Sand." Price holding above the 50% signals bullish strength (Premium); price below signals bearish weakness (Discount).
Quadrants (25% & 75%): Deep discount/premium zones for precision entries.
3. Session-Specific Fair Value Gaps (FVG) The indicator automatically detects and draws Fair Value Gaps that form only within that critical first hour of trading.
Auto-Extension: Boxes extend to the right until price "mitigates" (fills) them.
Consequent Encroachment (C.E.): Automatically plots the 50% dashed line inside every FVG, a key institutional support/resistance level.
Smart Mitigation: Once a gap is filled, the box changes color (user-selectable) to indicate it is no longer an active magnet.
How to Use This Indicator
This tool is designed to identify Confluence:
Check the Dashboard: Look for alignment on the Daily and 4H timeframes (e.g., Both Green).
Wait for 10:30 AM EST: Allow the script to draw the First Hour Range.
Trade the Confluence:
Bullish Setup: If the Dashboard is Green, look for price to hold above the 50% Equilibrium of the First Hour Range. Look for entries inside Bullish FVGs that form near the 50% or 75% levels.
Bearish Setup: If the Dashboard is Red, look for price to reject the 50% Equilibrium and stay in the lower half. Target Bearish FVGs near the 50% or 25% levels.
Settings & Customization
Dashboard Toggle: Show or hide the table to keep charts clean.
Colors: Fully customizable colors for Range High/Low, FVGs (Bullish/Bearish), and Mitigated gaps.
Text Positioning: Adjust FVG labels (Left/Center/Right) to prevent visual clutter on candles.
Credits & Attribution
Concept: Inner Circle Trader (Michael Huddleston).
Core Strategy: Based on the video "How Do I Engage Markets When I Don't Have An Initial Bias?"
Disclaimer: This tool is for educational purposes only. Past performance is not indicative of future results.
Continuous CVD with Enhanced FeaturesOverview
This indicator provides a high-precision Cumulative Volume Delta (CVD) experience, calculated by scanning lower timeframe (LTF) data for maximum accuracy. Unlike standard CVD tools, this script seamlessly integrates Candlestick, RSI, and MACD visualizations while featuring an advanced Dual Divergence Engine (Regular & Hidden) to spot market reversals and trend continuations in real-time.
Key Features
Continuous Accumulation: Tracks cumulative delta across bars with precise Open, High, Low, and Close mapping.
Three Visualization Modes:
Candle Mode: View CVD as a price action chart to spot supply/demand imbalances.
RSI Mode: Identify overbought/oversold conditions in volume flow.
MACD Mode: Track volume momentum and trend shifts.
Advanced Divergence Engine (Candle Mode):
Single Candle Divergence: Different color for divergent candles.
Regular Divergence (Solid Line): Spots potential trend reversals (Price makes a new peak, but CVD fails to follow).
Hidden Divergence (Dashed Line): Spots trend continuation (CVD makes a deep retracement while Price stays resilient).
Optimized Performance: Fully customizable Pivot settings (Lookleft/Lookright) to balance between signal speed and reliability.Add some functions to original CVD
MACD Standard DeviationMACD Standard Deviation
The MACD Standard Deviation is a smoother, volatility-adjusted version of MACD designed to improve signal quality and reduce noise while preserving fast market responsiveness.
🚀 Benefits
• Strong performance on assets like BNBUSDT
• Faster entries with reduced signal noise
• Simple and efficient calculation method
• Improved trend clarity compared to classic MACD
💡 Core Idea
The objective is to create a cleaner MACD signal by measuring and adapting to its volatility. By accounting for dispersion, the indicator filters weak fluctuations and keeps meaningful momentum moves.
⚙️ How It Works
A standard MACD is calculated using selected moving averages.
Standard deviation of the MACD is computed over a chosen period.
Upper and lower dynamic levels are derived from MACD median and volatility.
These adaptive bands help filter false signals and better capture trend direction.
The result is a smoother, more stable MACD-based trend tool.
📌 Usage Notes
• Crosses around the zero line indicate potential trend shifts.
• Expanding band distance suggests rising momentum volatility.
• Contracting distance often signals consolidation phases.
• Histogram changes help visualize acceleration or weakening momentum.
Momentum RSIMomentum RSI (MRSI | MisinkoMaster)
Momentum RSI is an enhanced version of the classic Relative Strength Index (RSI) developed by J. Welles Wilder. This indicator integrates momentum components directly into the RSI calculation, resulting in a faster, smoother oscillator that helps traders identify trend strength and value zones with greater precision.
Unlike the traditional RSI, which relies on a fixed smoothing approach, the Momentum RSI dynamically incorporates momentum derived from differences between moving averages of RSI values over different lookback periods. This improves signal responsiveness while reducing noise, providing clearer insights for both trend-following and mean-reversion trading strategies.
🔍 Concept & Idea
Momentum RSI aims to improve the original RSI by adding momentum elements that speed up its reaction to price changes without sacrificing smoothness. This hybrid approach helps:
Capture early signals in trending markets
Reduce false signals during sideways or choppy conditions
Highlight overbought and oversold zones more effectively
Provide additional momentum context for more informed trading decisions
By combining RSI with momentum derived from moving average differences, the indicator balances sensitivity and stability for a versatile application across different asset classes and timeframes.
⚙️ How It Works
The Momentum RSI calculation involves several key steps:
Standard RSI Calculation:
The indicator first calculates the classic RSI using user-defined length and smoothing parameters. Users can customize the RSI source price and the smoothing moving average (MA) type applied (options include RMA, SMA, EMA, WMA, DEMA, TEMA, HMA, ALMA).
Momentum Derivation:
Two versions of the RSI are computed with different smoothing lengths—a base RSI and a longer smoothed RSI. The difference between their moving averages represents a momentum component that measures the short-term trend strength.
Additional Momentum:
The difference between shorter-length and longer-length RSI calculations adds another momentum layer, reflecting momentum shifts over different timescales.
Momentum Integration:
These momentum components are combined and added to the previous RSI value, resulting in a momentum-enhanced RSI value (mrsi) that oscillates between 0 and 100.
Trend Detection:
Customizable upper and lower thresholds define long and short signal zones, allowing users to interpret when the market is trending bullish or bearish.
Overbought/Oversold Zones:
Additional thresholds highlight extreme value zones for potential mean-reversion trades.
🧩 Inputs Overview
RSI Length - Controls the primary RSI calculation length (default 20).
Source - Selects the price source for the RSI calculation (default: close).
Smoothing Length - Length used to smooth RSI values with the chosen MA type (default 12).
MA Type - Moving average method used for smoothing (options: RMA, SMA, EMA, WMA, DEMA, TEMA, HMA, ALMA).
ALMA Offset - Offset parameter for ALMA smoothing (applicable only if ALMA is selected).
ALMA Sigma - Sigma parameter for ALMA smoothing (applicable only if ALMA is selected).
Upper Threshold - RSI level above which a bullish (long) signal is triggered (default 55).
Lower Threshold - RSI level below which a bearish (short) signal is triggered (default 45).
Overbought Threshold - RSI level indicating overbought conditions (default 85).
Oversold Threshold - RSI level indicating oversold conditions (default 15).
📌 Usage Notes
Versatile Application: Use Momentum RSI for both trend-following and mean-reversion strategies.
Signal Clarity: The momentum integration reduces noise, helping avoid false breakouts and improving entry timing.
Customization: Adjust smoothing lengths and MA types to match the characteristics of your trading style or the specific asset.
Visual Aids: Background colors, candle coloring, and shape markers facilitate quick interpretation of momentum strength and trend changes.
Threshold Sensitivity: Fine-tune thresholds to balance between early signals and signal reliability.
Intrabar Updates: Signals may update on lower timeframes for responsive trading.
Combine with Other Tools: For best results, use Momentum RSI alongside volume, price action, or other confirmation indicators.
Backtest Before Live Trading: Always validate settings on historical data to ensure suitability for your trading instrument and timeframe.
⚠️ Disclaimer
This script is intended for educational and analytical purposes only and does not constitute financial advice. Trading involves risk, and users should perform their own due diligence before making any trading decisions.
Filtered Percentile OscillatorFiltered Percentile Oscillator (FPO | MisinkoMaster)
The Filtered Percentile Oscillator is a modern trend-following tool designed to combine the power of percentile ranking with adaptive trend strength filtering. By integrating a filter based on ADX strength, this oscillator aims to reduce noise and improve signal quality, helping traders identify more reliable bullish and bearish momentum zones.
This indicator works well across different markets, especially where volatility and trend clarity fluctuate. Although it can be noisy at times, the intelligent filtering mechanism provides strong potential for spotting actionable trend signals.
🔍 Concept & Idea
The idea behind the Filtered Percentile Oscillator is to use the percentile rank of price changes as a normalized measure of momentum, then apply an adaptive filter based on the Average Directional Index (ADX) to adjust sensitivity dynamically.
By combining these two concepts:
The Percentile Oscillator captures how extreme the current price is relative to recent price history.
The ADX-based filter adjusts threshold levels and confirms if the market is trending strongly enough to trust these percentile signals.
This dual-filtering mechanism improves the indicator’s ability to avoid false signals caused by noisy or non-trending environments.
⚙️ How It Works
The indicator calculates the Percentile Rank of the user-selected price source over a defined length (len). This percentile oscillator oscillates between -100% and +100%, reflecting relative price positioning.
It calculates the ADX and its percentile rank over a separate filter length (adx_len and ap_len) to estimate trend strength and market activity.
A combined potential filter checks if the sum of the absolute percentile oscillator and ADX percentile exceeds a user-defined threshold (pot_t). This filter controls whether signals are considered valid.
Thresholds for long and short signals dynamically adapt based on whether the ADX percentile exceeds the filter threshold (adx_t):
When strong trend strength is detected (ADX percentile > threshold), tighter upper and lower thresholds (ut and lt) apply to capture sharper trend signals.
When trend strength is weaker, wider thresholds (utm and ltm) are used to filter noise and reduce false signals.
Trend states are determined by comparing the percentile oscillator to these adaptive thresholds and validating the potential filter condition.
Overbought and oversold zones are also plotted for identifying potential reversal or exhaustion areas.
🧩 Inputs Overview
Length – Controls the lookback period for the Percentile Oscillator calculation (default 29).
Source – The price data source used for oscillator calculation (default: close).
Filter Length – Lookback period for ADX calculation used as a filter (default 12).
Filter % Length – Length used to calculate the percentile rank of the ADX filter (default 8).
Trending Upper Threshold – Upper bound for bullish signals when trend strength is strong (default 10).
Trending Lower Threshold – Lower bound for bearish signals when trend strength is strong (default -10).
Ranging Upper Threshold – Upper bound for bullish signals when trend strength is weak (default 15).
Ranging Lower Threshold – Lower bound for bearish signals when trend strength is weak (default -15).
Sum Filter Threshold – Minimum combined percentile value required to validate signals (default 100).
Filter Threshold – Minimum ADX percentile value required to switch to tighter thresholds (default 50).
Overbought – Level indicating overbought conditions for the oscillator (default 80).
Oversold – Level indicating oversold conditions for the oscillator (default -80).
📌 Usage Notes
Adaptive Filtering: The indicator dynamically adjusts sensitivity to market trend strength, reducing false signals during ranging or low-activity periods.
Normalized Momentum: Using percentile ranks allows comparison across different instruments and timeframes on a consistent scale.
Trend Confirmation: The ADX percentile filter ensures signals are stronger and more reliable when the market is trending.
Visual Guidance: Colored plots, threshold lines, and background fills improve signal interpretation and decision-making.
Customization: Thresholds and lengths can be fine-tuned for different markets or trading styles.
Complementary Use: Best combined with volume analysis, price action, or other indicators for comprehensive trade confirmation.
Backtest First: Always validate settings on historical data to match your preferred instrument and timeframe before live trading.
⚠️ Disclaimer
This indicator is provided solely for educational and analytical use. It is not financial advice. Trading involves risk, and users should perform their own due diligence before making trading decisions.
Enjoy improved trend filtering with the Filtered Percentile Oscillator!
ST Order Block EngineAdvanced order block detection based on displacement and structural validation.
DarkFutures Where/How/WhenTesting - for 15min Gold scalps
It identifies 4hr Where, 30m How and 5min When sareas of trade, then gives a signal to buy/sell based on that trend and momentum information using 8/21 EAM and Vwaps.
Moving Average Divergence BandsMoving Average Divergence Bands
Moving Average Divergence Bands (MADB) is a trend-following overlay indicator designed to capture fast-moving trends while filtering out low-quality signals. It was developed with highly volatile markets in mind, particularly altcoins, where rapid entries are important but false breakouts are common.
The indicator builds adaptive price bands using two moving averages of different speeds and applies a statistical filter to allow signals only when market conditions show sufficient momentum. The result is a structure that attempts to combine fast reaction with controlled signal quality.
🚀 Core Idea
The objective of MADB is to create bands that respond quickly to market moves while avoiding entries during low-probability conditions.
This is achieved by combining fast and slower moving averages and activating signals only when price movement shows statistically meaningful deviation from its recent norm. In this way, entries tend to occur during periods with higher potential reward and reduced noise.
🔍 How It Works
The indicator calculates two moving averages:
• A primary moving average using the chosen length
• A secondary moving average using half of that length
Both averages are mathematically combined using exponent-based transformations, producing two divergence-based values. The higher value becomes the upper band, and the lower value becomes the lower band.
To filter signals, the script then computes a Z-score of price relative to its recent average. A trend switch occurs only when:
• Price breaks above or below the adaptive band, and
• The absolute Z-score exceeds the user-defined threshold.
This ensures signals occur only when price movement is statistically significant, reducing entries during low-volatility noise.
⚙️ Key Features
• Fast trend-following bands optimized for volatile markets
• Dual moving-average divergence construction
• Z-score filtering to reduce false signals
• Multiple moving-average types supported
• Adjustable statistical sensitivity
• Visual band and trend coloring styles
🧩 Inputs Overview
• Moving-average length and source
• Moving-average type selection
• Z-score calculation length
• Z-score activation threshold
• Visual style presets for band coloring
📌 Usage Notes
• Designed to identify strong market moves while filtering weak breakouts.
• Particularly suited for volatile markets and altcoin trading environments.
• Band breaks without sufficient Z-score strength will not trigger signals.
• Signals may change intrabar on lower timeframes.
• Best used alongside risk management and confirmation tools.
• No indicator eliminates risk; testing and validation are always recommended.
This script is intended for analytical use only and does not constitute financial advice.






















