Supply/Demand HTF (RBD/DBR) – FIX + DebugOverview:
This indicator automatically detects and plots institutional supply and demand zones on any timeframe.
It analyzes price action to identify Drop-Base-Rally (DBR) and Rally-Base-Drop (RBD) structures — the core formations of supply and demand trading.
How It Works
1. The script scans price candles to detect “base” formations — small consolidation candles between impulsive moves.
2. When it finds a valid base followed by a strong move, it marks that area as:
• 🟩 Demand Zone (DBR): price dropped → consolidated → rallied upward
• 🟥 Supply Zone (RBD): price rallied → consolidated → dropped downward
3. Each detected zone is extended to the right so you can see if price returns to it later.
Color
Meaning
Description:
🟩 Green Zone
Demand
Institutional buy area (potential bullish reversal)
🟥 Red Zone
Supply
Institutional sell area (potential bearish reversal)
🟦 Blue Box
(Debug) HTF candle box used for internal analysis — can be hidden
🟡 Yellow Fill
Zone has been touched by price (reactivated)
Usage
• Works best when detecting zones from H4 or H1 and trading confirmations on M5 or M15.
• Ideal for institutional-style or “Smart Money Concepts” traders.
• Zones are auto-updated as new structures appear.
Volatilität
Information-Geometric Market Dynamics + MLInformation-Geometric Market Dynamics + ML (IGMD-ML)
Foreword: Beyond the Shadows on the Wall
If you have traded for any length of time, you understand the frustration of a perfect setup that fails, the whipsaw that stops you out just before a major move, or the persistent feeling that the price chart is only telling you half the story. For decades, technical analysis has focused on interpreting the shadows—the patterns left behind by price. We draw lines, apply indicators, and hope to derive future movement from this historical data.
But what if we could stop analyzing the shadows and instead measure the object casting them?
This script, Information-Geometric Market Dynamics (IGMD), introduces a new paradigm for market analysis. Its core premise is that the price chart is merely a one-dimensional projection of a much richer, higher-dimensional reality—an "information field" generated by the collective actions, beliefs, and emotions of all market participants.
This is not just another collection of indicators. It is a unified framework for measuring the geometry of this information field—its memory, its complexity, its uncertainty, its causal flows—and making high-probability decisions based on that deeper reality.
The IGMD Framework: A Multi-Kernel Approach
At the heart of IGMD are mathematical "kernels"—specialized engines that transform raw price data into meaningful measurements of abstract market properties. The framework's power lies in its ability to fuse the outputs of five distinct kernels, synthesizing their diverse perspectives into a single, coherent picture of the market's state.
The Five Core Kernels of Market Dynamics:
1. The Wavelet Kernel (The "Microscope"): Decomposes price into different frequency scales, separating short-term noise from the underlying market "thesis."
2. The Hurst Exponent Kernel (The "Memory Gauge"): Measures the market's "long-term memory" to determine if it is in a trending, mean-reverting, or random state.
3. The Fractal Dimension Kernel (The "Complexity Compass"): Quantifies the geometric complexity of the price path, acting as a primary filter for tradable vs. untradable conditions.
4. The Shannon Entropy Kernel (The "Uncertainty Meter"): Provides a pure measure of information and uncertainty, gauging market conviction and predictability.
5. The Transfer Entropy Kernel (The "Causality Probe"): Moves beyond correlation to measure the directed flow of information, assessing if a driver (like volume) is genuinely leading price.
Major Update: The Intelligence Layer & Machine Learning Integration
This version of IGMD introduces a significant advancement: an integrated machine learning (ML) engine that acts as an intelligent decision-making layer on top of the core five-kernel analysis. This is not a "black box" system but a transparent, adaptive filter designed to improve signal quality by learning from the market in real time.
How the ML Engine Works
The ML model processes the outputs from all five IGMD kernels and other market variables (like RSI and Volume) to build a comprehensive, multi-dimensional understanding of the current market state.
Core Technology: The engine uses an online logistic regression model. "Online" means it learns and updates its parameters with every new bar of data, allowing it to adapt continuously to changing market dynamics without needing to be retrained.
Non-Linear Pattern Recognition: To capture the market's complex behavior, the model projects the kernel data into a higher-dimensional space using Random Fourier Features (RFF) . This technique allows a linear model to recognize highly intricate patterns that would otherwise be invisible.
Probabilistic Filtering: The ML engine’s primary function is to act as a final confirmation filter. For every signal generated by the core IGMD system, the ML model calculates a probability score—its confidence that the price will move in the predicted direction. Signals are only displayed if they pass this confidence check.
Key Features of the ML Engine
Automated Regime Filter: The ML engine uses the Fractal Dimension and Shannon Entropy kernels to identify choppy, unpredictable markets. During these periods, the system automatically pauses new signal generation to help preserve capital.
Adaptive Confidence Threshold: To optimize performance, the ML engine features an optional self-adjusting confidence threshold. This system tracks its own rolling accuracy and adjusts its selectivity accordingly, becoming more cautious in uncertain periods and more opportunistic when its accuracy is high.
Feature Importance Monitoring: The dashboard displays which of the core IGMD features (e.g., Wave, Hurst, Entropy) the ML model is currently relying on most. This provides valuable insight into the market's character and what is driving the model's decisions.
Advanced Adaptation: The Reinforcement Learning Bandit (Experimental)
For advanced users, this version includes an experimental feature based on a Multi-Armed Bandit , a concept from reinforcement learning. When enabled, this system can automatically switch between different parameter presets (e.g., Conservative, Balanced, Aggressive) based on the current market regime. It learns over time which preset performs best under specific conditions by balancing the exploitation of known successful strategies with the exploration of others.
Fusion & Interpretation: The Field Score & Enhanced Dashboard
The Field Score: The outputs of the five kernels are fused into a single, comprehensive "Field Score" ranging from -1 (maximum bearish alignment) to +1 (maximum bullish alignment). This remains the ultimate at-a-glance metric for the market's net state.
The Enhanced Dashboard: Your mission control has been upgraded to include the ML engine's analysis. Alongside the core kernel readouts, you can now monitor:
ML Status: See if the model is active, warming up, or disabled.
ML Probability: View the model's real-time confidence for a bullish move.
Regime Status: Instantly know if the market is "Trending," "Normal," or "Choppy (Paused)."
Top Feature: Identify the most influential IGMD kernel according to the ML model.
Signal Status: See the final, ML-vetted signal.
Mastering the Controls: A Guide to the Inputs
The inputs menu gives you full control over the IGMD and ML engines.
🤖 Machine Learning Engine:
Enable ML Probability Model: The master switch for the entire ML layer.
Prediction Horizon: Set how many bars ahead you want the ML model to predict. This should align with your trading style.
ML Confidence Threshold: The minimum probability required for the ML model to approve a signal. This is your primary tool for adjusting signal quality versus frequency.
Pause in Choppy Regimes: Enable or disable the automated filter that stops trading in unfavorable conditions.
Auto-Adjust Threshold: Allow the system to self-optimize its confidence threshold based on recent accuracy.
🎰 Adaptive Parameter Bandit:
Enable Parameter Bandit: Activate the experimental reinforcement learning agent to manage strategy presets automatically.
Reading the Battlefield: On-Chart Visuals
In addition to the established pattern boxes, RR rails, and signal markers, a new visual element has been added:
ML Rejection Markers (✗): An orange '✗' will appear on the chart when the core IGMD system identifies a potential setup, but the ML model's confidence is below your defined threshold. This provides crucial feedback, showing you which signals were intelligently filtered out by the intelligence layer for having a lower probability of success.
A Methodological Distinction: What Sets IGMD Apart **
What sets this framework apart is its foundational approach. Instead of relying on traditional technical indicators, IGMD is architected as a multi-disciplinary engine that fuses concepts from signal processing, chaos theory, and information theory. It moves beyond analyzing simple price action to measure the market's underlying "information field"—quantifying its memory, complexity, and causal flows into a single, unified score. The integrated machine learning layer builds on this foundation, creating a transparent, adaptive filter that learns from market conditions in real-time. This combination of a fused, multi-dimensional analysis with a live, probabilistic intelligence layer offers a more dynamic and nuanced perspective than static, single-purpose indicators.
Development Philosophy & A Final Word
This script was designed to answer a single question: "What is the market *really* doing?" The addition of a transparent, adaptive machine learning layer is the next logical step in this pursuit—using computational intelligence to navigate the vast amount of information the core kernels provide.
This tool is offered for educational and analytical purposes and does not constitute financial advice. Its goal is to elevate market analysis from interpreting flat shadows to measuring the rich, geometric reality of the market's information field.
As the great mathematician Benoit Mandelbrot, father of fractal geometry, noted:
"Clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth, nor does lightning travel in a straight line."
Neither does the market. IGMD is a tool designed to help navigate that beautiful, complex, and fractal reality.
— Dskyz, Trade with insight. Trade with anticipation.
Dashboard — Vol & PriceDashboard for traders
Indicator Description
1. Prev Day High
What it shows: the previous trading day's high.
Why it shows: a resistance level. Many traders watch to see if the price will hold above or below this level. A breakout can signal buying strength.
2. Prev Day Low
What it shows: the previous day's low.
Why it shows: a support level. If the price breaks downwards, it signals weakness and a possible continuation of the decline.
3. Today
What it shows:
The difference between the current price and yesterday's close (in absolute values and as a percentage).
Color: green for an increase, red for a decrease.
Why it shows: immediately shows how strong a gap or movement is today relative to yesterday. This is an indicator of current momentum.
4. ADR, % (Average Daily Range)
What it shows: Average daily range (High – Low), expressed as a percentage of the closing price, for the selected period (default 7 days).
Why it's useful: To understand the "normal" volatility of an instrument. For example, if the ADR is 3%, then a 1% move is small, while a 6% move is very large.
5. ATR (Average True Range)
What it shows: Average fluctuation range (including gaps), in absolute points, for the specified period (default 7 days).
Why it's useful: A classic volatility indicator. Useful for setting stops, calculating position sizes, and identifying "noise" movements.
6. ATR (Today), %
What it shows: How much the current movement today (from yesterday's close to the current price) represents in % of the average ATR.
Why it shows: Shows whether the instrument has "played out" its average range. If the value is already >100%, there is a high probability that the movement will begin to slow.
7. Vol (Today)
What it shows:
Current trading volume for the day (in millions/billions).
Comparison with yesterday as a percentage (for example: 77.32M (-52.78%)).
Color: green if the volume is higher than yesterday; red if lower.
Why it shows:Quickly shows whether the market is active today. Volume = fuel for price movement.
8. Avg Vol (20d)
What it shows: Average daily volume over the last 20 trading days.
Why it's useful:"normal" activity level. It's a convenient backdrop for assessing today's turnover.
9. Rel. Vol (Today), % (Relative Volume)
What it shows: Deviation of the current volume from the average (20 days).
Formula: `(today / average - 1)` * 100`.
+30% = volume 30% above average, -40% = 40% below average.
Color: green for +, red for –.
Why it's useful:A key indicator for a trader. If RelVol > 100% (green), the market is "charged," and the movement is more significant. If low, activity is weak and movements are less reliable.
10. Normalized RS (Relative Strength)
What it shows: the relative strength of a stock to a selected benchmark (e.g., SPY), normalized by the period (default 7 days).
100 = same result as the market.
> 100 = the stock is stronger than the index.
<100 = weaker than the index.
Why it's needed: filtering ideas. Strong stocks rise faster when the market rises, weak stocks fall more sharply. This helps trade in the direction of the trend and select the best candidates.
In summary:
Prev High / Low — key support and resistance levels.
Today — an instant understanding of the current momentum.
ADR and ATR — volatility and potential movement.
ATR (Today) — how much the instrument has already "run."
Vol + Rel.Vol — activity and confirmation of the movement's strength.
RS — selecting strong/weak leaders against the market.
Trendilo + Adaptive Volatility Prediction AlgorithmTrendilo + Adaptive Volatility Prediction Algorithm
Credit: Original Trendilo created by dudeowns. This version keeps the original trend logic and adds an algorithmic based volatility predictive method used in other proprietary, high end indicators I had created in the past.
Timeframe and Usage:
Designed for use on the 15m timeframe but can be used on any timeframe. Settings are available for tweaking and fine tuning based on your trading strategy and preferences.
Note: In my testing I've found the 3D to be HIGHLY effective as determining major volatile breakouts after periods of consolidation.
3 Day chart example
What this indicator shows:
• 📈 Trend Line: A simple line plot showing the general direction of price (up, down, or neutral).
• 🎨 Volatility Band: A colored visual layer that shows how tight or loose the market currently is.
Volatility Color Meanings:
• Transparent / Wide = Expanded (normal market movement)
• 🔵 Blue = Normal volatility
• 🟣 Purple = Compressed (price is tightening)
• 🔴 Red = Highly Compressed (strong pressure build-up)
• 💛 Yellow = Extremely Compressed (market is tightly coiled at a rare level)
How to interpret / use this indicator
This indicator does not predict direction. It shows how much volatile energy is building in the market for an upcoming move.
The stronger the compression (Purple > Red > Yellow), the bigger the volatility release tends to be relative to recent price action.
The yellow state is the most significant. It indicates the market is at extremely compressed levels and has enough energy stored for substantial and volatile movement.
Display Panel:
A small panel on the chart shows the current volatility condition in plain text for fast recognition.
QuantumFlow MTF System Extended
QuantumFlow MTF System Extended
Multi-Timeframe Directional Flow & Volatility Alignment Engine — Higher-Timeframe Edition
The QuantumFlow MTF System Extended is a higher-timeframe analytical framework that expands upon the original QuantumFlow concept.
While the base version focuses on short-term structures (1M – 15M), this edition is designed for traders who need to observe medium- to long-term directional harmony across the 30M, 45M, 1H, 2H, 3H and 4H timeframes.
Its purpose is to provide a structured, non-repainting overview of how momentum and volatility align over broader market horizons — helping traders understand the prevailing directional flow rather than predicting future prices.
Concept
The system aggregates confirmed Supertrend directions from each higher timeframe, converting them into normalized bullish or bearish values.
These values are then processed through dual-layer EMA momentum filters that validate the directional strength of each component.
The resulting matrix displays a precise snapshot of how higher-timeframe market structures are synchronized — serving as a compass of directional alignment rather than a buy/sell signal generator.
A multi-ATR framework defines adaptive volatility zones, allowing each instrument to react proportionally to its intrinsic volatility profile.
This approach smooths sensitivity shifts that often occur between intraday and multi-hour structures, delivering consistent analytical behavior across asset classes.
How It Works
Confirmed Multi-Timeframe Supertrend
Each timeframe produces a close-confirmed Supertrend direction, ensuring signal stability and preventing repainting.
Adaptive Multi-ATR Model
Multiple ATR instances with distinct deviation factors define dynamic volatility thresholds that self-adjust to market conditions.
Dual EMA Momentum Validation
Two independent EMA layers filter and confirm each Supertrend direction, improving directional clarity and reliability.
Flow Totals Engine
The indicator sums all timeframe states into real-time bullish/bearish totals and percentage ratios, clearly visualized within a single panel.
Configurable Alerts (Optional)
Users may set threshold-based alerts when directional alignment reaches specified intensity levels (for example, when all timeframes are synchronized).
Full Customization
All visual elements — colors, text, background, and layout — can be adjusted to match personal preferences or chart themes.
Intended Use and Benefits
Observe how higher-timeframe trends align to reveal medium-term directional bias.
Quantify the balance of bullish vs bearish momentum across multiple timeframes.
Combine with lower-timeframe analysis (e.g. the original QuantumFlow System) to establish multi-layer confirmation between short- and mid-term flows.
Maintain awareness of trend synchronization or divergence without relying on subjective chart interpretation.
This indicator does not provide trading signals, forecasts, or financial advice.
It is an analytical tool intended to assist users in studying market structure and volatility behavior.
Chart Display
QuantumFlow Extended presents a unified dashboard that lists each analyzed timeframe, its active directional state, and the overall flow balance in numeric and percentage form.
It functions seamlessly on all instruments and can be used standalone or alongside the original short-term version.
Access
This is an invite-only indicator.
To request access or additional information, please contact the author privately via the TradingView profile.
ATR SL/TP Precision Zones (Dots)ATR SL/TP Precision Zones (Dots) is a volatility-based tool designed to help traders set accurate Stop Loss and Take Profit levels based on real market volatility — not fixed pips or emotion.
This indicator uses ATR (Average True Range) multiplied by 1.2 to calculate dynamic distance bands.
Instead of drawing a ribbon or channel, it places simple dots above and below each candle:
Upper Dot (Green) → Suggested Take Profit / Price Stretch Zone
Lower Dot (Red) → Suggested Stop Loss Cushion / Support Expansion Zone
Because ATR measures market volatility, these dots expand during high volatility and tighten during slow markets, helping traders avoid stop-loss hunts and premature exits.
Why This Works
Most traders lose because:
They set SL too close → stopped out by noise
They set TP too far → price never reaches it
This tool calibrates those distances automatically based on real price movement behavior.
ATR = volatility
Volatility = market breathing room
This indicator ensures your trade has room to breathe, increasing win consistency.
Best Use Cases
Scalping
Swing trading
Trend continuation entries
Reversal confirmations with support/resistance
Works on Crypto / Forex / Stocks / Futures
Inter-symmetric Forecast (ISF)Concept:
The Inter-Symmetric Forecast (ISF) is a physics-inspired price projection tool that visualizes both trend-continuation and mean-reversion scenarios in one dynamic structure. It extends the classic ADAM Projection by introducing a regime-sensitive weighting based on the Market Reynolds Number (Reₘ), a dimensionless ratio of market momentum × liquidity to volatility-derived “viscosity.”
Mechanism:
ISF mirrors past price action around the current close (the continuation path) while also forward-pasting the same pattern unreflected (the anti-trend path). It then blends these paths bar-by-bar using time-reflected Reₘ values — meaning the liquidity-momentum regime of each past segment determines how much its future mirror leans toward continuation or reversion.
Interpretation:
High Reₘ → strong inertia/liquidity, favors trend continuation.
Low Reₘ → high friction/volatility, favors mean reversion.
The yellow blended forecast shows the regime-weighted midpoint between both outcomes.
Use:
ISF offers traders a visual probability corridor rather than a fixed prediction — illustrating how far a move might extend if momentum persists, or fade if conditions become viscous. It’s best used as a contextual forecasting overlay for discretionary or systematic analysis.
ATR-Based Volatility SL/Target Planner (MTF Table)✅ ATR SL & Target Planner (MTF Table – Chart, 10m, 15m)
This indicator provides a clean multi-timeframe ATR table showing:
✅ ATR (Chart / 10m / 15m)
✅ Entry price (manual or auto)
✅ ATR-based Stop-Loss
✅ Target 1 & Target 2
✅ MTF level comparison
✅ High-contrast color-coded SL (Red) + Targets (Green)
✅ Selected timeframe highlighted automatically
Designed for intraday traders, positional traders, and volatility-based strategies.
✅ How to Use It
✅ 1. Choose Entry Mode
Manual Entry ON → Type your entry price
Manual Entry OFF → Last candle close is used
The script calculates ATR(14) on:
Current chart timeframe
10-minute timeframe
15-minute timeframe
Then it uses standard volatility-based formulas:
Stop-Loss = Entry ± (ATR × SL Multiplier)
Target 1 = Entry ± (ATR × T1 Multiplier)
Target 2 = Entry ± (ATR × T2 Multiplier)
Direction depends on Long/Short mode.
You can switch which ATR timeframe becomes active (affecting plotted lines + alerts).
✅ Why This Indicator Is Useful
This script solves 3 common problems:
✅ 1. “How wide should my stop-loss be?”
ATR automatically adjusts the SL to market volatility.
✅ 2. “Which timeframe ATR should I trust?”
You can compare Chart, 10m, and 15m in one panel.
✅ 3. “The table is too big in other indicators.”
This is compact, clean, color-coded, and readable.
Happy Trading :)
Hindenburg OmenThe Hindenburg Omen highlights periods of internal market stress — when both new 52-week highs and new lows expand while the NYSE remains in an uptrend.
This condition often precedes major corrections or volatility spikes by revealing divergence beneath the surface of an advancing market.
The indicator triggers when four classic breadth rules align: elevated highs and lows, a positive trend, a negative McClellan Oscillator, and a highs-to-lows ratio under 2:1.
Use it on broad indices (NYSE, S&P 500) as an early-warning context tool, NOT a standalone sell signal.
Quantura - Supply & Demand Zone DetectionIntroduction
“Quantura – Supply & Demand Zone Detection” is an advanced indicator designed to automatically detect and visualize institutional supply and demand zones, as well as breaker blocks, directly on the chart. The tool helps traders identify key areas of market imbalance and potential reversal or continuation zones, based on price structure, volume, and ATR dynamics.
Originality & Value
This indicator provides a unique and adaptive method of zone detection that goes beyond simple pivot or candle-based logic. It merges multiple layers of confirmation—volume sensitivity, ATR filters, and swing structure—while dynamically tracking how zones evolve as the market progresses. Unlike traditional supply and demand indicators, this script also detects and plots Breaker Zones when previous imbalances are violated, giving traders an extra layer of market context.
The key values of this tool include:
Automated detection of high-probability supply and demand zones.
Integration of both volume and ATR filters for precision and adaptability.
Dynamic zone merging and updating based on price evolution.
Identification of breaker blocks (invalidated zones) to visualize market structure shifts.
Optional bullish and bearish trade signals when zones are retested.
Clear, visually optimized plotting for efficient chart interpretation.
Functionality & Core Logic
The indicator continuously scans recent price data for swing highs/lows and combines them with optional volume and ATR conditions to validate potential zones.
Demand Zones are formed when price action indicates accumulation or a strong bullish rejection from a low area.
Supply Zones are created when distribution or strong bearish rejection occurs near local highs.
Breaker Blocks appear when existing zones are invalidated by price, helping traders visualize potential market structure shifts.
Bullish and bearish signals appear when price re-enters an active zone or breaks through a breaker block.
Parameters & Customization
Demand Zones / Supply Zones: Enable or disable each individually.
Breaker Zones: Activate breaker block detection for invalidated zones.
Volume Filter: Optional filter to only confirm zones when volume exceeds its long-term average by a user-defined multiplier.
ATR Filter: Optional filter for volatility confirmation, ensuring zones form under strong momentum conditions.
Swing Length: Controls the number of bars used to detect structural pivots.
Sensitivity Controls: Adjustable ATR and volume multipliers to fine-tune detection responsiveness.
Signals: Toggle for on-chart bullish (▲) and bearish (▼) signal plotting when price interacts with zones.
Color Customization: User-defined bullish and bearish colors for both standard and breaker zones.
Core Calculations
Zones are detected using pivot highs and lows with a defined lookback and lookahead period.
Additional filters apply if ATR and volume are enabled, requiring conditions like “ATR > average * multiplier” and “Volume > average * multiplier.”
Detected zones are merged if overlapping, keeping the chart clean and logical.
When price breaks through a zone, the original box is closed, and a new breaker zone is plotted automatically.
Bullish and bearish markers appear when zones are retested from the opposite side.
Visualization & Display
Demand zones are shaded in semi-transparent bullish color (default: blue).
Supply zones are shaded in semi-transparent bearish color (default: red).
Breaker zones appear when previous imbalances are broken, helping to spot structural shifts.
Optional arrows (▲ / ▼) indicate potential buy or sell reactions on zone interaction.
Use Cases
Identify institutional areas of accumulation (demand) or distribution (supply).
Detect potential breakout traps and market structure shifts using breaker zones.
Combine with other tools such as volume profile, EMA, or liquidity indicators for deeper confirmation.
Observe retests and reactions of zones to anticipate possible reversals or continuations.
Apply multi-timeframe analysis to align higher timeframe zones with lower timeframe entries.
Limitations & Recommendations
The indicator does not predict future price movement; it highlights structural imbalances only.
Performance depends on chosen swing length and sensitivity—users should optimize parameters for each market.
Works best in volatile markets where supply and demand imbalances are clearly expressed.
Should be used as part of a broader trading framework, not as a standalone signal generator.
Markets & Timeframes
The “Quantura – Supply & Demand Zone Detection” indicator is suitable for all asset classes including cryptocurrencies, Forex, indices, commodities, and equities. It performs reliably across multiple timeframes, from intraday scalping to higher timeframe swing analysis.
Author & Access
Developed 100% by Quantura. Published as a Open-source script indicator. Access is free.
Important
This description complies with TradingView’s Script Publishing and House Rules. It clearly explains the indicator’s originality, underlying logic, functionality, and intended use without unrealistic claims or performance guarantees.
Quantura - Trendchange ZonesIntroduction
“Quantura – Trendchange Zones” is an advanced technical indicator that identifies and visualizes potential market reversal zones using dynamic RSI-based logic. It highlights areas of overbought and oversold conditions, marking them as visual zones directly on the price chart, and generates corresponding bullish and bearish signals when the RSI exits these extremes. The tool helps traders anticipate possible trend change regions and confirm momentum shifts in a clean, intuitive way.
Originality & Value
Unlike traditional RSI indicators that only show a static oscillator, this tool transforms RSI behavior into on-chart visual zones that represent structural overbought and oversold phases. It converts RSI threshold breaches into price-based regions (boxes) and marks reversal signals at the moment of momentum change.
The indicator’s originality and usefulness come from its:
Direct visualization of RSI overbought and oversold areas as dynamic chart zones.
Automatic detection of potential reversal regions where momentum exhaustion is likely.
Integration of RSI-based signals and visual cues without requiring users to monitor the RSI window.
Adjustable sensitivity for RSI length and upper/lower levels.
Clear color-coded separation of bullish and bearish phases.
Functionality & Core Logic
The indicator continuously monitors RSI values relative to the user-defined thresholds.
When RSI moves above the upper level, an Overbought Zone is created and extends until RSI falls back below that threshold.
When RSI moves below the lower level, an Oversold Zone is generated and extends until RSI returns above that level.
When RSI exits one of these zones, a corresponding Trendchange Signal (▲ bullish or ▼ bearish) appears at the transition point.
Each zone dynamically adjusts its high and low levels during formation, representing the complete range of the exhaustion phase.
Parameters & Customization
RSI Length: Defines the sensitivity of RSI calculation. Shorter lengths make signals more responsive; longer lengths filter noise.
Upper Level / Lower Level: Set thresholds for overbought and oversold conditions (default 70 / 30).
Signals: Toggle on/off for displaying bullish (▲) and bearish (▼) reversal signals.
Zones: Toggle the visualization of shaded RSI-based zones.
Colors: Fully customizable bullish and bearish colors for both signals and zones.
Visualization & Display
Bullish reversal zones (oversold exits) are shaded using the chosen bullish color (default: blue).
Bearish reversal zones (overbought exits) are shaded using the chosen bearish color (default: red).
Each completed zone is outlined and filled with transparent shading for better clarity.
Reversal arrows (▲ for bullish, ▼ for bearish) are displayed at the bar where RSI exits the extreme level.
Clean overlay design ensures compatibility with any chart style or color scheme.
Use Cases
Identify overbought and oversold periods directly on the price chart without switching to the RSI window.
Anticipate potential market reversals or exhaustion points based on RSI momentum shifts.
Combine with trend indicators, moving averages, or volume tools for confirmation.
Apply across multiple timeframes to align short-term reversal signals with higher timeframe momentum.
Use zone width and duration to assess the strength and persistence of overbought/oversold conditions.
Limitations & Recommendations
The indicator is not a standalone trading system but a visual confirmation tool.
False signals may occur in strongly trending markets where RSI remains overextended.
Optimal RSI settings may differ between assets (e.g., crypto vs. equities).
Combining this indicator with additional trend or structure filters can enhance accuracy.
Markets & Timeframes
The “Quantura – Trendchange Zones” indicator works across all markets and timeframes, including cryptocurrencies, Forex, stocks, and commodities. It is suitable for both short-term scalping and long-term swing analysis.
Author & Access
Developed 100% by Quantura. Published as a Open-source script indicator. Access is free.
Important
This description complies with TradingView’s Script Publishing and House Rules. It provides a clear explanation of the indicator’s originality, logic, and function while avoiding unrealistic performance or predictive claims.
Quantura - Fair Value GapIntroduction
“Quantura – Fair Value Gap” is a precision-engineered institutional concept indicator designed to automatically identify, visualize, and manage Fair Value Gaps (FVGs) across any market or timeframe. It enables traders to observe price inefficiencies, potential liquidity voids, and retracement areas that often act as magnets for price rebalancing.
Originality & Value
Unlike many public FVG scripts that only highlight candle gaps, this indicator integrates dynamic filters and adaptive logic to determine the strength and reliability of each gap. It merges overlapping zones intelligently and optionally extends valid imbalances forward for ongoing reference.
Its value lies in:
Dynamic statistical filtering based on gap standard deviation.
Optional volume confirmation for high-confidence FVGs.
Automatic merging of overlapping or adjacent gaps for clean visualization.
Support for both bullish and bearish imbalances.
Signal alerts when gaps are filled or rebalanced by price.
Functionality & Core Logic
Detects Fair Value Gaps by comparing candle-to-candle price displacement.
Applies a Gap Filter (standard deviation-based) to qualify valid gaps.
Optionally validates gaps formed under significant volume conditions.
Draws color-coded boxes to mark bullish (discount) and bearish (premium) inefficiencies.
Monitors each FVG until price fills the gap, at which point the box is visually closed.
Provides optional signal markers (“▲” or “▼”) when rebalancing occurs.
Parameters & Customization
Gap Filter: Sets the minimum statistical deviation required for a valid FVG. Higher values detect fewer, stronger gaps.
Volume Filter: Toggles additional validation using relative volume strength.
Volume Sensitivity: Adjusts how much above-average volume must be present to confirm a gap.
Bullish/Bearish Colors: Customize color schemes for imbalance zones.
Extend Gaps: Optionally extend open gaps forward for better confluence tracking.
Signals: Enables or disables gap-fill signal markers.
Visualization & Display
Bullish FVGs: Appear in blue-tinted boxes, indicating potential demand-side inefficiencies.
Bearish FVGs: Appear in red-tinted boxes, representing potential supply-side inefficiencies.
Overlapping zones are merged automatically to maintain clarity.
Filled gaps remain visible for historical context, allowing for post-event analysis.
Optional signal arrows display when price returns to rebalance an FVG.
Use Cases
Identify institutional inefficiencies and liquidity voids.
Detect premium and discount levels in trending markets.
Combine with market structure or order block indicators for confluence.
Track when price rebalances inefficiencies to refine entry/exit points.
Build FVG-based algorithmic strategies that rely on structural imbalance resolution.
Limitations & Recommendations
The indicator detects structural imbalances but does not predict future direction or guarantee profitability.
Volume filters may behave differently across brokers due to data-source differences.
Use alongside structure or liquidity tools for enhanced decision-making.
Extreme volatility or illiquid assets may generate temporary invalid gaps.
Markets & Timeframes
Compatible with all markets (crypto, forex, equities, indices, futures) and all timeframes. Recommended for multi-timeframe confluence analysis — e.g., detecting higher-timeframe FVGs and refining lower-timeframe entries.
Author & Access
Developed 100% by Quantura. Published as a Open-source script indicator. Access is free.
Compliance Note
This description adheres fully to TradingView’s House Rules and Script Publishing Requirements . It provides a detailed explanation of originality, core logic, limitations, and appropriate use — with no unrealistic or misleading performance claims.
Transactional Rate of Change (TROC)TRANSACTIONAL RATE OF CHANGE (TROC) INDICATOR
Transaction Rate of Change (TROC) is an advanced momentum indicator that analyzes the rate of change in cumulative inferred buy/sell volume data to identify shifts in buying and selling acceleration and deceleration of transaction flow, providing early signals of potential trend changes, exhaustion/absorption, and momentum shifts. It builds further upon the official Volume Delta indicator released by TradingView.
If a stock price is a rocket climbing , then volume delta is the total fuel burned, and TROC is the fuel burn rate . A rocket can keep rising even after engines start throttling down (decelerating TROC), but it won't go much higher without more thrust. When TROC shows extreme positive readings, the engines are at maximum burn—expect explosive price movement. When TROC drops to zero while price is still high, the fuel is depleted and gravity (selling pressure) takes over. Are buyers pushing on the gas, or are they backing off? Are more buyers coming to the table, or are they losing interest or taking profits? Are excited retail buying highs while smart money close their positions using the excited retail liquidity?
KEY FEATURES
• Volume Delta Analysis - Approximates up and down volume from lower timeframe data to calculate true buying vs. selling pressure.
• Rate of Change Calculation - Measures the momentum of cumulative delta over a customizable period. Essentially, it displays the rate of change between buying and selling. How fast is it going, is it slowing, how excited are they?
• Momentum State Detection - Automatically identifies four distinct market states: accelerating up, decelerating up, accelerating down, and decelerating down
• Extreme Threshold Zones - Bands based on standard deviation to highlight unusually high or low transaction rates, helping to spot potential extreme values, blow offs, and capitulation.
• Z-Score Normalization - Optional standardization for comparing momentum across different timeframes and instruments.
• Momentum Strength Index (MSI) - Filters out weak signals by highlighting only bars with momentum exceeding a threshold.
• Flexible Reset Modes - Reset cumulative delta daily, weekly, monthly, or per session to prevent data drift, or leave it default for continual cumulative data.
APPLICATION
Trend Confirmation
When price makes a new high but TROC is decelerating (lighter colors), it suggests weakening buying pressure and potential exhaustion. Conversely, strong acceleration (darker colors) confirms robust trend continuation. Either buyers are supporting the move, or they aren't. Same goes for selling. It can also assist spotting short covering.
Divergence Trading
Use it similar to MACD divergence strategies. Is price movement confirmed by expansion in TROC, or is the TROC showing weakness while price is continuing it's trend?
Momentum Breakouts
When TROC crosses above the upper threshold zone with strong momentum (MSI activated), it signals institutional-level buying that often precedes significant price moves. Use this for breakout entries.
Mean Reversion
Extreme readings beyond the threshold zones often precede short-term reversals as transaction rates normalize. Consider taking profits or counter-trend positions when TROC reaches statistical extremes. Utilizing the extreme threshold bands can help you identify tops and bottoms.
Absorption Detection
Spot areas where buying or selling is being done, but price is hitting a wall or floor and not moving. This can indicate a hidden seller or a buyer reloading at price levels/zones.
SETTINGS
Timeframe for Volume Delta Calculation
Select the lower timeframe used to calculate buying and selling volume. Default: 1S (1 second)
• 1S or 5S - Maximum precision for scalping and intraday trading on liquid markets
• 1m or 5m - Balanced precision for swing trading and less liquid instruments
• Higher timeframes - Provide more historical data but reduce accuracy
Note: Higher frequency data yields more accurate delta calculations but may not be available for all symbols or historical periods. If you are using higher timeframes (Daily, Weekly) you will need to change this setting to a higher timeframe.
Rate of Change Period
Determines how many bars back to measure the momentum change. Default: 14
• Short periods (7-10) - More responsive, ideal for scalping and quick momentum shifts
• Medium periods (14-20) - Balanced sensitivity for day trading
• Long periods (25-50) - Smoother readings for swing trading and trend analysis
Shorter periods generate more signals but increase false positives; longer periods reduce noise but may lag significant changes.
Extreme Threshold Zones
Bands that highlight unusual transaction rate extremes based on standard deviation.
• Show Zones - Enable/disable the upper and lower threshold lines (Default: Enabled)
• Multiplier - Standard deviation multiplier for zone placement (Default: 2.0)
Values of 1.5-2.0 catch moderate extremes
Values of 2.5-3.0 identify only the most extreme readings
• Lookback Period - Number of bars used to calculate mean and standard deviation (Default: 100)
Shorter lookback (50-75) adapts faster to changing market conditions
Longer lookback (150-200) provides more stable, consistent zones
Smooth Cumulative Delta
Applies Adaptive Moving Average to reduce noise in the cumulative volume delta before calculating rate of change. Default: Enabled
• Smoothing Length - period (Default: 5)
Lower values (3-5) preserve responsiveness
Higher values (7-10) significantly reduce noise on choppy markets
Smoothing is particularly useful on volatile instruments or when using very short ROC periods.
Momentum Strength Index (MSI)
Filters the histogram to highlight only bars exceeding a specified momentum threshold, eliminating weak signals.
• Show MSI - Enable/disable momentum strength filtering (Default: Disabled)
• MSI Threshold - Minimum momentum strength multiplier (Default: 2.0)
Values of 1.5-2.0 show above-average momentum
Values of 2.5-3.5 isolate only exceptional momentum bars
When enabled, bars meeting the threshold display in the "Strong Up/Down" colors, while normal bars use standard momentum colors.
Display Settings
• Histogram Bar Width - Visual thickness of the columns (Default: 1, Range: 1-10)
• Use Z-Score Normalization - Standardizes TROC values for cross-asset comparison (Default: Disabled)
Enable when comparing multiple instruments or timeframes simultaneously
Z-Score converts values to standard deviations from the mean
• Z-Score Threshold - When using Z-Score Normalization mode, sets the extreme zone levels (Default: 2.0)
Represents standard deviations from mean (2.0 = ~95% confidence interval)
Cumulative Transaction Reset
Determines when the cumulative volume delta resets to zero, preventing infinite accumulation. Default: None
• None - Cumulative delta never resets (continues from symbol history start)
• Daily - Resets at the start of each new trading day
• Weekly - Resets at the start of each week
• Monthly - Resets at the start of each month
• On session change - Resets when market opens (useful for 24-hour markets)
Reset modes prevent cumulative drift that can distort ROC calculations over extended periods.
Color Customization Fully customizable color scheme.
-------------------------------------------------------------------
Note: This indicator requires volume data from your data vendor. It uses inferred buy/sell volume. To learn more, read the TradingView Volume Delta documentation. Optimal performance is achieved on liquid instruments with high-frequency data.
Liquidity Pools by Ivanliquidity is marked by red and green
RED is institutions
GREEN is retail
it works by time frames so chart doesnt get clutterd
so for example on 15 min you will only get 15 min tf liquidity on 4h you will only get liquidity for 4h tf liquidity and so on
Cloud and Table - Ostinato TradingMain indicator of Ostinato Trading, the moving averages cloud and table. You can superpose various moving averages, bollinger bands and their color fill. Additionaly the table is used to plot the distance from the price to moving averages, the ATR value, the stop loss ... You can also plot a bulls eyes of SL and TP in points to visualise it on the chart.
QuantumFlowTraderQuantumFlowTrader
Adaptive Flow Visualizer with Multi-ATR Volatility Engine and Multi-EMA Clouds
Overview
QuantumFlowTrader is an adaptive market flow visualizer that integrates multiple EMA clouds, a session VWAP framework, and a tested multi-ATR volatility engine.
It is built to help traders interpret directional strength, institutional balance, and volatility synchronization across any asset and timeframe available on TradingView.
How It Works
1. Multi-EMA Clouds — Trend Structure and Flow Context
QuantumFlowTrader employs several EMA-based cloud layers to represent short-, medium-, and long-term structure simultaneously.
Each cloud adapts dynamically to price movement, revealing trend alignment and momentum stacking across depths of the market.
When all EMA clouds align in the same direction, the color gradient intensifies (green for bullish, red for bearish).
When structure conflicts, transparency increases, signaling mixed or transitional phases.
This multi-cloud approach allows traders to see structure, flow, and trend shifts at a glance, eliminating guesswork and highlighting transitions between trend and consolidation.
2. Session VWAP — Institutional Equilibrium and Reaction Zones
The Session VWAP represents the real-time mean price that institutional participants often reference.
QuantumFlowTrader enhances it with tested adaptive deviation envelopes, which highlight zones where price frequently reacts or pauses.
These deviation zones dynamically expand or contract with volatility, defining institutional fair-value regions and potential continuation or mean-reversion boundaries.
VWAP color automatically changes based on whether price trades above or below the equilibrium, giving immediate visual feedback on session bias.
3. QuantumFlow ATR Engine — Core Innovation
At the heart of QuantumFlowTrader is its proprietary multi-ATR engine, a deeply tested system that runs multiple ATR calculations and deviation layers at the same time.
Unlike single-metric approaches, this composite engine merges several ATRs with different sensitivities and deviations to identify synchronized volatility alignment.
When all ATR layers align bullish, a green up-arrow appears below the bar.
When all align bearish, a red down-arrow appears above the bar.
This configuration has been tested for many years across market types and volatility regimes.
Its goal is to detect moments when price action, volatility, and structure converge, which historically coincide with the start or continuation of strong directional flows.
This multi-ATR architecture is what makes QuantumFlowTrader genuinely unique among volatility-based systems.
Adaptability Across Assets and Timeframes
QuantumFlowTrader is universally adaptable:
Works effectively on any timeframe, from scalping to swing or position trading.
Performs consistently across Forex, Stocks, Indices, Commodities, and Crypto.
The internal algorithms automatically adjust their sensitivity and scaling to the selected chart’s behavior, ensuring smooth adaptation to different volatility environments.
This makes it suitable for traders who want a consistent analytical framework adaptable to both short-term and long-term contexts.
Customization and Alerts
EMA Clouds: adjust colors, transparency, and visibility for each structural layer.
VWAP Zones: toggle the equilibrium line and deviation visualization.
ATR Arrows: control arrow appearance and size for bullish/bearish events.
Dynamic Scaling: built-in adaptive multiplier auto-balances volatility response.
Built-in alerts:
Buy Condition: all ATR layers bullish and price above VWAP.
Sell Condition: all ATR layers bearish and price below VWAP.
These alerts identify situations where both directional flow and volatility alignment agree.
Originality and Value
QuantumFlowTrader is not a mash-up of public indicators.
Its originality lies in how it integrates:
Multiple EMA clouds for layered structural analysis.
Session VWAP with adaptive deviation zones to reveal institutional equilibrium and price reactions.
A proprietary multi-ATR engine that combines several ATR and deviation configurations simultaneously for volatility confirmation.
Together, these systems produce a unified, adaptive visualization of market structure, volatility, and flow — helping traders stay aligned with dynamic directional conditions while filtering out low-efficiency noise.
Example — Multi-Timeframe Integration (Optional Use)
While QuantumFlowTrader works effectively on any single chart, many traders use a three-screen workflow to synchronize trend, momentum, and execution:
1 Screen: 15-minute, Defines dominant trend direction (multi-EMA cloud + VWAP bias).
2 Screen: 5-minute, Confirms flow alignment and momentum coherence.
3 Screen: 1-minute, Executes entries when ATR arrows appear in the same direction as the 15-minute trend.
Example workflow:
1. Identify overall direction from 15m cloud and VWAP structure.
2. Wait for 5m confirmation.
3. Time entries on 1m using ATR arrows aligned with the higher timeframe.
This structure enhances precision and reduces counter-trend exposure.
Best Practices and Limitations
Always use proper risk management and forward testing before applying live.
Author’s Instructions:
To request access, please contact the author through the TradingView profile.
AUD/USD Optimized Sentiment Pro By Revan BlezinskyAUD/USD Global Sentiment Pro is an advanced trading indicator that combines both technical and fundamental analysis to provide comprehensive sentiment signals for the AUD/USD currency pair.
Key Features:
Multi-Timeframe Analysis: Utilizes daily data from key financial instruments including DXY (US Dollar Index), XAU/USD (Gold), CNY/USD (Chinese Yuan), SPX (S&P 500 Index), and AUD/CAD for a holistic view.
Dynamic Scoring System:
Fundamental Score: Weighted changes in DXY, Gold, CNY, SPX, and AUD/CAD.
Technical Score: Based on EMA crossovers (13, 48, 89), RSI with dynamic levels, and trend direction.
Momentum Confirmation: MACD for additional momentum insight.
Adaptive Thresholds: Uses moving average and standard deviation of the total score to generate dynamic buy/sell thresholds.
Risk Management: Includes ATR-based stop loss and take profit levels, and limits the number of signals per day to avoid overtrading.
Advanced Filtering:
Volume spike detection
Volatility filter (high/low/normal)
Trend filter (using 89 EMA)
Parameters:
EMA Lengths: Fast (13), Slow (48), Trend (89)
RSI Length: 14
Dynamic Lookback: 55 periods
Risk/Reward Ratio: 1.5
Max Signals Per Day: 3
Signals:
Bullish: Total score above dynamic threshold and above zero, with trend and volume confirmation.
Bearish: Total score below dynamic threshold and below zero, with trend and volume confirmation.
This indicator is designed for traders who want to incorporate both technical and fundamental factors into their trading decisions, providing a systematic approach to trading the AUD/USD pair.
Period Range AnalyzerThis indicator analyzes a specific periodic range, which can start from a fixed date or a defined lookback period. It draws percentage levels and colored zones between the highest and lowest price. It also displays a detailed information table, which shows the price's position within the range in "Trend" mode, and the relative strength of currency pairs in "Forex" mode. The current price position is also indicated by a label with a percentage value and the name of the corresponding zone.
User Guide
Calculation Method
This setting determines how the indicator defines the range used for the calculation.
Lookback Period: In this mode, the indicator uses the last N candles (the number can be specified in the "Lookback Period (bars)" field). The range (the highest and lowest price) is "floating," meaning it is recalculated with each new candle based on the last N candles.
Date Based: In this mode, the calculation starts from a fixed date and time you select. The indicator finds the opening price of the start date and continuously tracks the highest and lowest price from that point on. This mode is ideal for measuring performance from a specific event (e.g., start of a week/month/year, news).
Data Handling Note: If you select a date in "Date Based" mode for which no data is available on the current timeframe (e.g., switching to a very low timeframe), the indicator will automatically use the earliest available candle as the starting point. All calculations (Open, Max, Min, Range, Percentage, Change, Trend) are based on this actual start date.
Start Date & Time
This setting is only active in "Date Based" mode.
Here you can specify the fixed starting point for the calculation.
The specified time is in the Exchange timezone.
Important limitation: Due to TradingView platform limits, visual elements (levels, zones) are only drawn for a maximum of 250 candles back. If the set date is older than this, the calculation still applies to the entire period (from the set date), but the drawing only covers the last 250 candles. The table always displays accurate data for the entire period.
When switching to a higher timeframe, the range may restart from a slightly later bar due to TradingView's bar alignment. For best accuracy, set your timeframe first, then select the start date.
Table Mode
This setting controls what data the information table displays.
Trend: This is the default mode, which works on any symbol (stock, index, crypto, etc.). It displays information related to the trend and the range.
Forex: This is a special mode used to measure the strength of currency and crypto pairs. It only works on symbols with exactly 6 characters (e.g., "EURUSD", "BTCUSD"). It treats the first 3 characters as the base currency (e.g., EUR) and the last 3 as the quote currency (e.g., USD). If the symbol does not have 6 characters, the table will automatically display in "Trend" mode.
Trend
This trend determination operates based on the formation order of the high and low within the analyzed range:
Its switch is located in the “Table Additional Rows” menu.
Bullish: Indicated if the low was formed before the high (on different candles). Or if they formed on the same candle, it was a bullish candle.
Bearish: Indicated if the high was formed before the low (on different candles). Or if they formed on the same candle, it was a bearish candle.
Neutral: Indicated if the high and low formed on the same candle, and it was a "doji" candle (close = open).
Upper & Lower Threshold
These settings (Upper Threshold (%) and Lower Threshold (%) in the "Label Coloring" section) primarily determine the state (Bullish/Bearish/Neutral) of the top row of the table.
The logic is not based on the percentage change of the price movement, but on the current price's position within the range, where the bottom of the range is 0% and the top is 100%.
Upper Threshold (%): The percentage level (e.g., 60.0) above which the indicator considers the price position "Bullish" (or "Strong").
Lower Threshold (%): The percentage level (e.g., 40.0) below which the indicator considers the price position "Bearish" (or "Weak").
If the price is between the two (e.g., between 40% and 60%), the signal is Neutral.
Secondary function: These thresholds also control the color of the label next to the price, provided the "Dynamic Label Coloring" option is enabled.
SMC ORB vs Pre-Market SPY/IWMStacks institutional confluences such as Smart Money Concepts, Inner Circle Trading, volatility, and structure.
Plots Premarket high/low and 15 minute Opening range
Plots the first sweep of Premarket high/low and any subsequent orb breaks
SMC ORB vs PM ALPHADesigned to stack institutional confluences such as Smart Money Concepts, Inner Circle Trading, volatility, and market structure.
Plots pre-market high/low and 15 Opening Range.
Plots first sweep of Pre-market high/low as well as orb break/holds.
TP of Previous high/low & SL optional
KD-NewAutoTrade for Future Trading - Heikin Ashi candles The KD-NewAutoTrade strategy is a dynamic trend-following indicator designed for scalping and swing trading across crypto, forex, and index futures. It combines the precision of EMA crossovers, RSI momentum, and ADX trend strength to deliver clear Buy/Sell signals with high reliability.
🔹 Core Logic
EMA Fast & Slow Crossover – Identifies short-term and long-term trend shifts.
RSI Confirmation – Filters out false signals by requiring RSI to cross custom Buy/Sell thresholds.
ADX Filter – Ensures trades only trigger when market trend strength exceeds your chosen ADX minimum.
🔹 Key Features
Visual Buy/Sell triangles directly on the chart.
Customizable inputs for EMA, RSI, and ADX lengths.
Works efficiently on all timeframes and all markets (Crypto, Indices, Stocks, Commodities).
Optional background highlights for active trade zones.
Alert conditions for both BUY and SELL setups – ready to use in automated strategies or alert bots.
🔹 Recommended Usage
Use Heikin Ashi candles
Works best on 1M - 5M timeframes.
Combine with volume or higher-timeframe trend confirmation for stronger signals.
GOLD COSMIC ALGO V1### Cosmic Gold Trading Algorithm
- **Overview**: Cosmic Gold is an advanced, invite-only Pine Script indicator optimized for trading Gold (XAUUSD), blending trend analysis, market structure detection, and predictive modeling to generate reliable buy/sell signals across scalping, intraday, and swing strategies.
- **Key Features**: It identifies market breaks using swing pulses, displays quantum trend states, plots reversal signals near support/resistance, and uses kernel regression for forecasted price moves with dynamic TP/SL levels—helping traders navigate gold's volatility with precision.
- **Performance Considerations**: While backtests show potential for high accuracy in trending markets, results vary by timeframe and conditions; always combine with risk management, as past performance doesn't guarantee future gains.
#### Getting Started
Add the indicator to your TradingView chart for XAUUSD. It overlays directly, showing signals like "BUY"/"SELL" labels, trend channels, session backgrounds, and a targets table. Default settings suit most users, but adjust visuals (e.g., colors) via inputs for personalization.
#### Recommended Usage
- **Timeframes**: Best on 1m to 4h charts for scalping to swings; higher frames reduce noise.
- **Signals**: Enter on MSB breaks or EMA crossovers (▲/▼ shapes), confirmed by quantum state ("TREND RISE/FALL").
- **Risk Management**: Use ATR-based targets (1-4 levels) and predicted RR for TP/SL; limit risk to 1-2% per trade.
- **Alerts**: Set up for bullish/bearish signals, TP/SL hits to automate notifications.
#### Tips for Success
Monitor session overlaps (London/NY highlighted) for high-volume entries. Test on demo accounts first, and watch for reversals near daily levels or Donchian channels. For optimal results, pair with fundamental gold news.
---
Cosmic Gold represents a sophisticated fusion of classical technical indicators and modern predictive analytics, tailored specifically for the dynamic XAUUSD market. This invite-only algorithm integrates multi-layered market structure analysis, quantum-inspired trend detection, reversal pattern recognition, and a kernel-based regression model to forecast price movements, all while visualizing key sessions and levels for enhanced decision-making. Designed for versatility, it supports scalping on minute charts, intraday trades on hourly frames, and swing positions up to 4 hours, adapting to gold's inherent volatility driven by economic factors, geopolitical events, and safe-haven demand.
At the heart of Cosmic Gold lies a dual swing detection system. The primary detectSwings function scans a 30-bar window to identify highs and lows, creating pulse objects that track price breaches. When close crosses these levels, it triggers structure checks classifying moves as "msb" (market structure break) or "bos" (break of structure), plotting "BUY" or "SELL" labels only on MSB events for high-confidence entries. Paralleling this is the quantumSwings mechanism, which similarly detects extrema but categorizes as "break" or "continuation," updating a real-time trend state displayed in a top-right table: "TREND RISE" (bullish, teal), "TREND FALL" (bearish, red), or "NEUTRAL ZONE" (gray). This quantum layer adds a probabilistic overlay, helping filter false breaks in choppy conditions.
Supporting these signals are robust support/resistance visualizations. Donchian Channels (55-period) plot orange upper/lower trend lines, while 24-period borders create red high and blue low barriers. On intraday charts, previous daily highs/lows (green/red lines) provide context, with all levels used for proximity checks in reversal logic. Outside bar reversals (engulfing patterns) near these zones—within one ATR (average true range, 14-period)—trigger small lime/red labels for "Reversal Up/Down," offering counter-trend opportunities. Quantum flags further scan for exhaustion: bull/bear patterns over 30 bars verify local extrema, though not plotted directly, they inform the overall state.
The predictive engine elevates Cosmic Gold beyond traditional indicators. Eight normalized features—ranging from RSI-scaled dump/pump metrics and volatility derivatives to volume oscillators, choppiness index, standard RSI, and EMA-derived trend signals—feed a radial basis function (RBF) kernel regression model. On EMA (50/200) crossovers, it records historical absolute moves and trains on past instances, weighting by feature distance to estimate predictedMove (fractional advance/decline). Win rate calculations derive recommended risk-reward (RR), dynamically setting TP/SL: for bulls, TP at close + (close * predictedMove), SL at close - (close * predictedMove / RR). Signals (▲/▼) fire only above 5-minute frames if predictions are valid, with in-trade tracking alerting on hits. This ML-inspired approach aims to quantify edge, though it requires sufficient history (ideally 100+ trades) and may underperform in unprecedented regimes.
Visual and utility elements enhance usability. A bottom-right table populates on signals with ATR (18-period) scaled targets (1-4 levels, yellow cells) above/below entry, colored green/red for direction. Session backgrounds highlight London (muted blue, 12:30-21:30 IST) and New York (muted green, 18:30-03:30 IST), with dashed vertical lines at starts and solid IST lines at 5 AM (blue) / 5 PM (orange) for timezone awareness. Alerts cover signals, TP/SL, ensuring hands-off monitoring.
In practice, Cosmic Gold's strength lies in its adaptability: in bull markets, quantum "RISE" aligns with EMA upsides for longs; in volatility spikes (e.g., Fed announcements), reversals near channels provide quick scalps. However, limitations include potential repainting on early bars (due to highest/lowest recalculations) and NA predictions on low-volume symbols—mitigated by the volume error check. Backtesting emphasizes realistic settings: modest account sizes, commissions/slippage, and <5% risk per trade align with RR logic. While optimized for gold, testing on correlated assets like silver may yield insights, but always verify with live data.
| Component | Description | Key Parameters | Utility in Trading |
|-----------|-------------|----------------|--------------------|
| Swing Detection | Identifies highs/lows over fixed length for structure breaks. | External Length: 30 bars | Filters entries to confirmed breaks, reducing false signals. |
| Quantum Trend | Parallel swing system updating bullish/bearish/neutral states. | Quantum Period: 30 bars | Provides trend bias; "RISE/FALL" confirms signal direction. |
| Reversal Signals | Engulfing patterns near S/R within ATR. | ATR Length: 14 | Spots counter-trends; ideal for scalps near daily levels. |
| Kernel Regression | RBF model predicts moves from 8 features. | Bandwidth: 5; Features: RSI, volatility, etc. | Forecasts TP/SL; enhances RR for sustainable trading. |
| Visual Aids | Channels, sessions, targets table. | Donchian: 55; Borders: 24 | Contextualizes price; sessions flag high-volume periods. |
| Alerts & Risk | Dynamic TP/SL, win rate tracking. | Safe Duration: 2000 bars max | Automates exits; promotes disciplined risk management. |
This comprehensive design positions Cosmic Gold as a professional tool for gold traders, emphasizing rule-based precision over discretionary guesswork. For access, contact the author via TradingView; note it's invite-only to maintain quality control.
**Key Citations:**
- (tropicalglitz.net)
- (www.cnn.com)
- (www.forbes.com)
- (auronum.co.uk)
- (www.prismaticpowders.com)
- (cosmicgoldmusic.com)






















