Smart Money Structure | GainzAlgo📊 OVERVIEW:
================
Smart Money Structure Analysis is a professional-grade market structure and order-flow system designed to identify institutional trading behavior through volatility-adaptive logic, multi-timeframe trend alignment, and volume-based confirmation.
This indicator implements original mathematical models to detect Change of Character (CHoCH), Break of Structure (BOS), cumulative volume dynamics, and trend convergence across seven timeframes — delivering high-probability trade signals with significantly reduced noise.
Unlike basic indicator combinations, this system functions as a unified trading framework, where volatility adaptation, structure analysis, and volume confirmation continuously reinforce each other to provide precise, context-aware signals.
⭐ WHY THIS SYSTEM IS UNIQUE AND WORTHY OF PUBLICATION:
=====================================================
This is not a collection of common indicators placed together.
Smart Money Structure Analysis represents a cohesive institutional methodology, engineered so that:
- Volatility adjusts signal sensitivity in real time
- Multi-timeframe trends define directional bias
- Market structure determines timing
- Volume confirms institutional participation
- Advanced filters eliminate low-quality setups
Each component is mathematically linked to the others, creating a workflow that cannot be replicated by stacking separate indicators.
🔗 SYNERGISTIC INTEGRATION – HOW THE SYSTEM WORKS TOGETHER:
==========================================================
🧠 1. CONTEXT-AWARE VOLATILITY ADAPTATION
ATR-based volatility logic dynamically adjusts all momentum thresholds:
- Higher volatility → stronger confirmation required
- Lower volatility → sensitivity increases to capture valid moves
This prevents over-signaling in choppy markets and under-signaling during expansion phases — a core flaw in static indicators.
📐 2. MULTI-TIMEFRAME TREND CONVERGENCE ENGINE
Seven timeframes are analyzed simultaneously:
1M • 5M • 15M • 30M • 1H • 4H • 1D
Each timeframe is scored using EMA + VWAP alignment, producing a composite Trend Strength Score from -100 to +100.
The stronger the alignment across timeframes, the higher the probability of continuation — instantly visible through the real-time dashboard.
🏗️ 3. INSTITUTIONAL MARKET STRUCTURE (CHoCH & BOS)
The system automatically identifies the two core smart money concepts:
- CHoCH (Change of Character):
Signals potential trend exhaustion or reversal zones
- BOS (Break of Structure):
Confirms trend continuation and institutional commitment
Structure zones are visualized with persistent, color-coded levels and clouds, providing precise contextual timing rather than lagging signals.
📊 4. CUMULATIVE VOLUME DELTA (CVD) CONFIRMATION
CVD tracks the cumulative difference between buying and selling pressure:
- Rising CVD → accumulation
- Falling CVD → distribution
- Divergence vs price → early reversal warning
Volume participation is categorized into Low / Medium / High, adding depth beyond simple volume bars.
🛡️ 5. SIX-LAYER PROFESSIONAL SIGNAL FILTERING
Every signal must pass through up to six independent confirmation layers:
1. Volatility-adjusted momentum
2. Higher timeframe trend alignment
3. Lower timeframe conflict prevention
4. Institutional volume confirmation
5. Structural breakout validation
6. Repeated-signal restriction
This dramatically reduces false positives while preserving only high-quality institutional setups.
🧮 DETAILED CORE SYSTEMS:
========================
📏 ADAPTIVE MOMENTUM FORMULA
- Momentum Threshold = Base × (1 + (ATR ÷ Price) × 2)
- Pre-Momentum Factor = Base × (1 − (ATR ÷ Price) × 0.5)
📊 TREND STRENGTH CALCULATION
- Trend Strength = (Sum of 7 timeframe scores ÷ 7) × 100
📦 CVD LOGIC
- Close > Previous Close → Buy volume added
- Close < Previous Close → Sell volume subtracted
- Cumulative sum reveals institutional intent
🧠 STRUCTURE DETECTION
- Pivot-based swing logic
- Candle confirmation
- Configurable lookback periods
- Non-repainting visualization
🧩 ADVANCED ANALYSIS TOOLS:
==========================
🧲 LIQUIDITY ZONE DETECTION
Identifies probable retail stop-loss clusters where institutions often initiate stop hunts before true directional moves.
📦 MARKET PROFILE & ORDER FLOW IMBALANCE
Detects buy/sell dominance using volume ratios, highlighting accumulation and distribution zones before large price moves.
🔄 RSI DIVERGENCE SCANNER
Identifies bullish and bearish divergences that frequently precede structure shifts and trend reversals.
🎨 VISUAL SYSTEM & DASHBOARD:
============================
📊 SMART MONEY MATRIX
- Composite trend strength
- System confidence %
- CVD value
- Directional grid for all timeframes
📈 TREND PREDICTION MATRIX (Optional)
Forecasts short-term directional bias using trend, momentum, and volatility data.
🏷️ SIGNAL LABELS
- BUY / SELL → Fully confirmed entries
- READY → Momentum building
- BOS / CHoCH → Structure events
- FLOW / LIQ / BULL / BEAR → Advanced confirmations
⚙️ CORE FEATURES:
================
1. Multi-Timeframe Trend Convergence
2. Smart Money Structure Detection (CHoCH & BOS)
3. Adaptive Volatility-Based Momentum
4. Cumulative Volume Delta (CVD)
5. Six-Layer Signal Filtering
6. Liquidity Zone Detection
7. Order Flow & Market Profile Analysis
8. Divergence Scanner
9. Dynamic Trendlines
10. Institutional-Grade Dashboard
📘 WHO THIS INDICATOR IS FOR:
============================
- Scalpers: Noise-filtered precision on lower timeframes
- Day Traders: High-probability continuation setups
- Swing Traders: Multi-timeframe alignment & structure zones
- Reversal Traders: Divergence + CHoCH confirmation
⚠️ IMPORTANT DISCLAIMER:
========================
This indicator is a technical analysis and educational tool only.
It does not provide financial advice or trade recommendations.
Trading involves substantial risk, and losses are a natural part of trading.
Past performance does not guarantee future results.
All trading decisions remain the sole responsibility of the user.
Volatilite
ATR Supertrend [QuantAlgo]🟢 Overview
The ATR Supertrend indicator identifies trend direction and reversal points using volatility-adjusted dynamic support and resistance levels. It combines Average True Range (ATR) volatility measurement with adaptive price bands and EMA smoothing to create trailing stop levels that automatically adjust to market conditions, helping traders and investors identify trend changes, maintain positions during trending markets, and exit when momentum shifts across multiple timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its volatility-adaptive band system, where dynamic support and resistance levels are calculated based on market volatility and price movement:
smoothedSource = ta.ema(source, smoothingPeriod)
atr = ta.rma(ta.tr(true), atrLength) * atrMultiplier
The script uses ATR-based bands that expand and contract with market volatility, ensuring the indicator adapts to different market conditions rather than using fixed price distances:
if trend == 1
supertrend := math.max(supertrend, smoothedSource - atr)
else
supertrend := math.min(supertrend, smoothedSource + atr)
First, it applies optional EMA smoothing to the price source to reduce noise and filter out minor price fluctuations that could trigger premature trend changes, allowing traders to focus on genuine momentum shifts.
Then, the ATR calculation measures market volatility using the Average True Range over the specified lookback period, multiplied by the user-defined factor to set the band distance:
atr = ta.rma(ta.tr(true), atrLength) * atrMultiplier
Next, dynamic trend detection occurs through a state-based system where the indicator tracks whether price is in an uptrend or downtrend, automatically adjusting the Supertrend line position:
if trend == 1
if smoothedSource < supertrend
trend := -1
supertrend := smoothedSource + atr
The Supertrend line can act as a trailing stop that follows price during trends but never moves against the trend direction, i.e., it ratchets upward with price in uptrends and ratchets downward with price in downtrends.
Finally, trend reversal signals are generated when price crosses the Supertrend line, indicating a shift in market momentum:
bullSignal = trend == 1 and trend == -1
bearSignal = trend == -1 and trend == 1
This creates a volatility-adaptive trend-following system that combines dynamic support/resistance levels with momentum confirmation, providing traders with clear directional signals and automatic stop-loss levels that adjust to changing market conditions.
🟢 Signal Interpretation
▶ Bullish Trend (Green): Price trading above Supertrend line with indicator showing bullish color, indicating established upward momentum = Long/Buy opportunities
▶ Bearish Trend (Red): Price trading below Supertrend line with indicator showing bearish color, indicating established downward momentum = Short/Sell opportunities
▶ Supertrend Line as Dynamic Support: In uptrends, the Supertrend line can act as trailing support level that rises with price, never declining = Use as potential stop-loss reference for long positions = Price holding above indicates trend strength
▶ Supertrend Line as Dynamic Resistance: In downtrends, the Supertrend line can act as trailing resistance level that falls with price, never rising = Use as potential stop-loss reference for short positions = Price holding below indicates trend weakness
🟢 Features
▶ Preconfigured Presets: Three optimized parameter sets for different trading approaches. "Default" provides balanced trend detection for swing trading on daily/4-hour charts with moderate sensitivity. "Fast Response" delivers quick trend change detection for intraday trading on 5-minute to 1-hour charts, capturing moves early with increased whipsaw potential. "Smooth Trend" focuses on strong sustained trends for position trading on daily/weekly timeframes, filtering noise to identify only major trend shifts.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend changes and momentum shifts. "Bullish Trend" triggers when price crosses above the Supertrend line and the trend state changes from bearish to bullish, signaling potential long entry opportunities. "Bearish Trend" activates when price crosses below the Supertrend line and the trend state changes from bullish to bearish, signaling potential short entry or long exit points. "Any Trend Change" provides a combined alert for any trend reversal regardless of direction, allowing traders to be notified of all momentum shifts without setting up separate alerts. These notifications enable traders to capitalize on trend changes and protect positions without continuous chart monitoring.
▶ Color Customization: Five visual themes (Classic, Aqua, Cosmic, Ember, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast for identifying bullish versus bearish trends across various trading environments. The adjustable cloud fill transparency control (0-100%) allows fine-tuning of the gradient area prominence between the Supertrend line and price, with higher opacity values creating subtle background context while lower values produce bold trend zone emphasis. Optional bar coloring with adjustable transparency (0-100%) extends the trend color directly to the price bars themselves, providing immediate visual reinforcement of current trend direction without requiring reference to the Supertrend line, with transparency controls allowing users to maintain visibility of candlestick patterns while still showing trend context.
SmartVol SuperTrend | OquantOverview
The SmartVol SuperTrend is an evolution of the traditional SuperTrend indicator. While the standard SuperTrend uses Average True Range (ATR) to calculate volatility bands, this version utilizes Volume-Weighted Standard Deviation (VWSD).
By integrating volume into the volatility calculation, the indicator attempts to filter out "quiet" price movements and reacts more dynamically to price action supported by high trading activity.
How It Works
The script follows a multi-step process to define trend direction:
Smoothing: It applies a 5-period EMA to the source price to reduce minor noise before calculating the bands.
Volume-Weighted Volatility: Instead of a simple Standard Deviation, the script uses a custom volume standard deviation function. It measures the dispersion of price around its Volume Weighted Moving Average (VWMA), weighting each price point's contribution by the volume of that bar.
Recursive Band Logic: Like the classic SuperTrend, the bands are "locked" in place. The lower band can only move up, and the upper band can only move down, until price closes on the opposite side, triggering a trend flip.
Visuals: The script highlights the trend by coloring the candles and the space between the price and the trend line, providing a clear visual of the current market bias.
Usefulness
By using Volume-Weighted Standard Deviation, this indicator accounts for real market activity. Consequently, it expands its bands more aggressively during high-volume breakouts while dampening its reaction to price moves when volume fades, potentially offering more robust band levels anchored to true market participation.
How to Use
Trend Identification: When the line is green and below price, the trend is bullish. When the line is purple and above price, the trend is bearish.
Factor Adjustment: Increase the Factor (default 1.8) to reduce sensitivity and avoid whipsaws in volatile markets. Decrease it for tighter tracking.
EMA Length: Adjust the EMA length to change how much price smoothing is applied before the trend calculation.
Note on Signals
This indicator is designed for trend-following. Like all lagging indicators, it performs best in trending markets and may produce false signals during sideways consolidation.
Settings
Source: The price source used for calculations (default: Close).
EMA Length: The lookback for the initial price smoothing (default: 5).
VWSD Length: The period used to calculate the volume-weighted volatility (default: 30).
Factor: The multiplier applied to the VWSD to determine the distance of the bands (default 1.8).
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
Tactiko Master Combo]The Tactiko Master Combo is an institutional-grade toolkit designed to consolidate essential Supply and Demand (SMC) metrics into a single view. It features dynamic Buyside and Sellside liquidity detection, pivot-based Supply and Demand zones with Points of Interest (POI), and a weighted Volume Profile with a real-time Point of Control (POC). This indicator is designed to help traders identify areas of high-volume interest and liquidity confluences while maintaining chart clarity.
The Reaper WhistleThe Reaper Whistle is a specialized momentum oscillator designed for high-frequency scalping and precision trend exhaustion detection. By combining a smoothed Relative Strength Index (RSI) with a customizable Moving Average, it filters out market noise to highlight institutional overbought and oversold extremes.
How to Use:
This indicator is best used to identify high-probability reversal points or as a trend-following momentum filter.
Precision Entries (Scalping):
Strong Buy: Watch for the RSI MA to enter the 10 level. This indicates extreme bearish exhaustion.
Strong Sell: Watch for the RSI MA to reach the 90 level. This indicates extreme bullish exhaustion.
Standard Momentum Zones:
20 Level (Buy Zone): Look for long setups when the oscillator dips here during a broader uptrend.
80 Level (Sell Zone): Look for short setups when the oscillator spikes here during a broader downtrend.
Exit Strategy:
Use the 50 level (TP) as a primary target for mean-reversion trades. Crossing the 50 line often indicates a shift in momentum back to neutral.
Settings Customization:
Use the MA Type input to switch between SMA (Standard), EMA (Faster), or WMA (Weighted) to better match the volatility of the asset you are trading.
Alerts Included:
The script features built-in alert conditions for when the RSI MA crosses the key 80 (Sell) and 20 (Buy) thresholds, allowing you to monitor multiple charts without being glued to the screen.
ATR + BJ Signal V3ATR + BJ Signal (Optimized for GOLD)
This indicator is designed for mean-reversion scalping on GOLD, focusing on volatility expansion and momentum exhaustion.
Key features:
ATR-based candle expansion filter to detect abnormal moves
RSI overbought / oversold confirmation
Optional Bollinger Band deviation filter
Clear BUY / SELL signals for reversal entries
Automatic SL / TP projection lines and price labels (individually toggleable)
Best suited for short-term reversal and scalp trades during high-volatility conditions.
All visual components can be enabled or disabled independently. be enabled or disabled independently.
TradeChillOut Stc icon ProfessionalHtf L 80 F 20 S50
Ribbon
1 L 180 F144 S3500
2 L10 F20 S50
3L160 F20 S50
4L96 F20 S50
5L 98 F20 S 50
...
Piv X# Piv X Pro - Multi-Layer Reversal Detection System
## Overview
Piv X Pro is an advanced technical analysis indicator that combines dynamic pivot detection, Williams %R momentum divergence analysis, and multiple VWAP anchoring methods to identify high-probability mean reversion opportunities. Unlike simple indicator combinations, this script implements a layered filtration system where each component validates and refines signals from the previous layer, resulting in significantly fewer but higher-quality reversal setups.
## Core Methodology
### 1. Dynamic ATR-Based Pivot Detection
The script uses an adaptive pivot detection algorithm that adjusts sensitivity based on market volatility. Instead of fixed lookback periods, pivot strength is calculated dynamically using Average True Range (ATR):
**Calculation:** `pivot_strength = max(min_strength, min(ATR / mintick * multiplier, max_strength))`
This ensures:
- More sensitive pivots in low volatility (smaller ATR)
- More significant pivots in high volatility (larger ATR)
- Automatic adaptation across different market conditions and timeframes
**Significance Filtering:** Pivots must exceed a minimum ATR distance from recent price action (default 0.3 ATR) to filter noise. This prevents minor price fluctuations from being marked as significant pivots.
**Volume Confirmation (Optional):** Pivots can optionally require volume spikes (default 1.5x average volume) to ensure institutional participation.
### 2. Williams %R Momentum Divergence Engine
The script detects classic and hidden divergences between price pivots and Williams %R oscillator readings:
**Bullish Divergence Detection:**
- Price makes a lower low (confirmed pivot low)
- Williams %R makes a higher low (momentum improving)
- Divergence occurs in oversold zone (Williams %R ≤ -80)
- Lookback range: 60 bars maximum
**Bearish Divergence Detection:**
- Price makes a higher high (confirmed pivot high)
- Williams %R makes a lower high (momentum weakening)
- Divergence occurs in overbought zone (Williams %R ≥ -20)
- Lookback range: 60 bars maximum
**Divergence-Anchored VWAPs:** When a divergence is detected, a new VWAP calculation begins from that point, tracking institutional positioning relative to the momentum shift. This provides a dynamic mean reversion target that resets at each confirmed divergence.
### 3. Confluence Scoring System
Each detected pivot receives a numerical score (0-150+ points) based on multiple independent confirmation factors:
**Scoring Components:**
- Base Pivot Detection: 10 points
- Volume Spike Confirmation: 15 points
- Higher Timeframe Trend Alignment (4H EMA): 20 points
- RSI Extreme Levels (oversold/overbought): 25 points
- Mean Reversion Distance (>2.5 ATR from HTF MA): 20 points
- Exhaustion Patterns (price move + volume spike): 10 points
- ATR Price Confirmation: 10 points
- RSI Divergence: 15 points
- Swing Failure Pattern (SFP): 15 points
- Liquidity Sweep: 10 points
- Candle Reversal Confirmation: 10 points
- Key Level Alignment (previous day/week highs/lows): 10 points
- Fair Value Gap (FVG) Fill: 10 points
- Session Weighting (London/NY sessions): 10 points
- Multi-Timeframe Pivot Confluence: 15 points
**Zone Classification:**
- Regular Zones: Score 60-89 (green/purple boxes)
- Golden Zones: Score 90+ (yellow boxes with thicker borders)
Higher scores indicate stronger confluence and higher probability setups, but no prediction is guaranteed.
### 4. Mean Reversion Distance Filter
The script calculates how far price has stretched from the higher timeframe moving average:
**Calculation:** `distance_from_htf_ma = (close - HTF_EMA) / ATR`
**Mean Reversion Condition:**
- For long setups: Price >2.5 ATR below HTF EMA when HTF trend is up
- For short setups: Price >2.5 ATR above HTF EMA when HTF trend is down
This ensures pivots are only highlighted when price is statistically stretched and likely to revert toward the mean.
### 5. Multi-Period VWAP Framework
The script provides multiple VWAP calculations for different analysis purposes:
**Extreme VWAPs:**
- Bottom VWAP: Anchored to the absolute lowest low in the lookback period (default 50 bars)
- Top VWAP: Anchored to the absolute highest high in the lookback period
**Periodic VWAPs:**
- 4D VWAP: Resets every 4 days
- 9D VWAP: Resets every 9 days
- 4H VWAP: Resets every 4 hours
- 8H VWAP: Resets every 8 hours
- Weekly VWAP: Resets at the start of each week
- Monthly VWAP: Resets at the start of each month
- Yearly VWAP: Resets at the start of each year
**Previous Period VWAPs:**
- Previous Weekly, Monthly, and Yearly VWAPs are displayed as reference levels for support/resistance
**Divergence VWAPs:**
- Bullish Divergence VWAP: Resets at each bullish Williams %R divergence
- Bearish Divergence VWAP: Resets at each bearish Williams %R divergence
### 6. IBSS Pro Mean Reversion System
An integrated scalping system that provides entry signals within high-probability pivot zones:
**Components:**
- Dual EMA System: Fast EMA (12) and Slow EMA (26) with color-coded trend visualization
- RSI Oversold/Overbought Detection: Configurable levels (default 30/70)
- Zone-Based Entry: Signals only trigger when price is within active pivot zones (0.3 ATR around confirmed pivots)
- ATR-Based Dynamic Stops: Stop losses trail with position using ATR multiplier
**Signal Generation:**
- Buy signals: RSI crosses above oversold + Fast EMA > Slow EMA + Price in pivot low zone
- Sell signals: RSI crosses below overbought + Fast EMA < Slow EMA + Price in pivot high zone
## Why This Combination is Unique
This is not a simple indicator mashup. The components work together in a specific hierarchy:
1. **Williams %R Divergence** identifies momentum shifts before price confirms the reversal
2. **Dynamic Pivots** mark actual price structure extremes with ATR-based significance filtering
3. **Confluence Scoring** quantifies setup quality using 10+ independent confirmation factors
4. **Mean Reversion Distance** confirms price is statistically stretched (>2.5 ATR from HTF MA)
5. **VWAP Framework** tracks institutional positioning and provides objective mean levels
6. **IBSS Signals** provide precise entries within high-probability zones
Each layer filters the previous one, resulting in significantly fewer but higher-quality signals than any single indicator alone. The divergence-anchored VWAPs are unique - they reset at momentum shifts rather than arbitrary time periods, providing more relevant mean reversion targets.
## How to Use This Indicator
### For Swing Trading (15m-1H Charts)
1. Wait for a major pivot to form (diamond marker appears below/above bars)
2. Check the confluence score displayed in the zone label
3. Look for Golden Zones (score 90+, yellow boxes with thicker borders)
4. Enter when price enters the pivot zone (0.3 ATR around the pivot)
5. Use the nearest VWAP level as first target
6. Set stop loss beyond the pivot zone (typically 0.5-1 ATR)
### For Scalping (5m-15m Charts)
1. Enable IBSS Pro Signals in settings
2. Wait for price to enter an active pivot zone (colored boxes appear)
3. Take IBSS diamond signals that form within zones
4. Use ATR-based stop losses (dashed lines appear automatically if enabled)
5. Exit at pivot VWAP or opposite zone edge
### Visual Elements Explained
- **White/Purple Crosses**: Williams Divergence VWAPs (momentum-based mean reversion targets)
- **Green/Red Crosses**: Bottom/Top VWAPs (absolute extreme levels)
- **Colored Boxes**: Pivot reversal zones (opacity indicates confluence score)
- **Yellow Boxes**: Golden zones (90+ score, highest probability setups)
- **Small Diamonds**: Regular pivot detections
- **Green/Red Tiny Diamonds**: IBSS scalp entry signals (if enabled)
- **White/Purple MAs**: IBSS trend filter (12/26 EMA with cloud)
- **Dotted Lines**: Structure lines connecting consecutive pivots of same type
- **Blue Dashed Lines**: Market Structure Shift (CHoCH) markers
### Recommended Settings
**Conservative (Lower Timeframes 1m-5m):**
- ATR Pivot Strength: 0.8-1.0
- Volume Threshold: 2.0
- Min Pivot Significance: 0.4-0.5
- Enable ATR Confirmation: Yes
- Real-Time Mode: Off
- Score Threshold: 80+
**Aggressive (Higher Timeframes 15m-1H):**
- ATR Pivot Strength: 0.6-0.8
- Volume Threshold: 1.5
- Min Pivot Significance: 0.3
- Enable ATR Confirmation: No
- Real-Time Mode: On
- Score Threshold: 60+
## Chart Requirements
This indicator should be used **alone on a clean chart** with:
- Standard candlestick or bar chart type (NO Heikin Ashi, Renko, Point & Figure, or Range charts)
- No other indicators overlaid (all functionality is self-contained)
- Symbol and timeframe clearly visible in chart
- Full indicator name "Piv X Pro" visible in chart legend
## Important Disclaimers
- Past performance does not guarantee future results
- All signals are probabilistic indicators, not trading guarantees
- Use proper risk management and position sizing
- Test thoroughly on demo accounts before live trading
- Higher confluence scores indicate better setups but no prediction is certain
- Mean reversion strategies work best in ranging/choppy markets; may underperform in strong trending markets
- The lookahead bias warning: HTF EMA uses `barmerge.lookahead_on` for trend filtering only (not for signal generation), which may cause historical bars to show different trend states than real-time
## Key Differentiators
Unlike basic pivot or VWAP indicators:
- **Dynamic ATR-based pivot detection** vs static lookback periods
- **Quantified confluence scoring** vs subjective interpretation
- **Mean reversion distance filtering** (>2.5 ATR from HTF MA) vs all pivots shown
- **Divergence-anchored VWAPs** vs static period VWAPs
- **Multi-layer confirmation system** (10+ independent factors) vs single signal generation
- **Integrated scalping system** that only triggers in high-probability zones
This script is open-source and available for educational purposes. Users are encouraged to understand the methodology before using it for live trading decisions.
Enhanced ATR SupertrendEnhanced ATR Supertrend - Mathematically Sound Trend Following Indicator
OVERVIEW
This is a premium version of the classic Supertrend indicator, built with mathematical rigor and enhanced features for serious traders. Unlike basic implementations, this version offers proper band trailing logic, adaptive volatility modes, and multiple ATR calculation methods.
HOW IT WORKS
The Enhanced ATR Supertrend calculates dynamic support and resistance bands based on the Average True Range (ATR). The core principle is simple but powerful:
ATR Calculation: Measures market volatility using true range (the greatest of: high-low, high-previous close, or low-previous close)
Band Construction: Creates upper and lower bands by adding/subtracting ATR × Multiplier from the HL2 (high+low average)
Trailing Logic:
Upper band can ONLY move down or stay flat (never up) during downtrends
Lower band can ONLY move up or stay flat (never down) during uptrends
This prevents premature trend reversals and whipsaws
Trend Determination:
BULLISH when price closes above the upper band
BEARISH when price closes below the lower band
Line colour changes reflect current trend state
WHY IT'S BETTER
Proper Mathematics: Correct band trailing prevents the "flickering" seen in poorly coded versions
Adaptive Volatility: Optional mode adjusts multiplier based on current vs average volatility - tightens in chaos, widens in calm markets
Multiple ATR Methods: Choose between RMA (default), SMA, EMA, or WMA smoothing
Clean Visual Design: Professional presentation with optional dashboard showing real-time metrics
OSCILLATOR MODE - SPOTTING DOUBLE TOPS/BOTTOMS
When used as an oscillator in the lower pane (remove overlay), the Supertrend's trend changes can reveal powerful reversal patterns:
Double Bottoms: When the indicator flips bullish twice at similar price levels, it often signals strong support and potential reversal zones
Double Tops: When the indicator flips bearish twice at similar levels, it identifies resistance and potential breakdown zones
The step-like visualization makes these patterns easier to spot than traditional price action
Market Regime: Squeeze Box + Trend DashboardMarket Regime: Squeeze Box + Trend Dashboard
Market Regime is a overlay designed to provide instant market context (trend vs consolidation) and highlight volatility compression (squeeze) setups before potential breakouts. Built with stock charts in mind, it focuses on clean visuals and practical decision support.
What this indicator shows:
1) Market Regime (TREND / RANGE / NEUTRAL)
The regime is detected using DMI/ADX with built-in confirmation to reduce flicker:
TREND : ADX stays above a threshold for N bars
RANGE : ADX stays below a threshold for N bars
NEUTRAL : neither trend nor range is confirmed
Trend direction is derived from DI+ vs DI- (UP / DOWN / MIXED).
2) Squeeze (BB inside KC)
A squeeze is detected when Bollinger Bands contract inside Keltner Channels (volatility compression).
SQZ = squeeze start
REL = squeeze release (the first bar *after* squeeze — technically correct)
3) Squeeze Box
The core feature: a box drawn from SQZ → REL , dynamically tracking the highest high / lowest low during the squeeze. This creates a clean visual range for the compression zone and helps frame breakout context.
4) EMA Ribbon with ADX-based intensity
Two EMAs (fast/slow) form a ribbon. The fill becomes more pronounced as ADX strength increases, making trend momentum easier to read at a glance.
5) Trend Dashboard (corner panel)
A compact dashboard summarizing key metrics:
REGIME, DIR, ADX (with normalized strength %)
SQUEEZE ON/OFF
Relative Volume (relVol + tier)
ATR% (14), EMA Slope%, GAP% (Open vs previous Close)
Customization / Settings
Fully configurable for different styles and markets:
ADX/DMI lengths and thresholds
BB/KC parameters (lengths and multipliers)
Relative Volume thresholds
Background mode: Off / Squeeze only / All regimes
Visual toggles: ribbon, squeeze box, markers, dashboard
History controls and limits for boxes/labels (clean chart + performance)
How to use (practical workflow)
Trend context : read REGIME + DIR and ribbon intensity (ADX strength).
Squeeze setup : when squeeze is active, the box defines the compression range (high/low).
Release : REL marks the first bar after squeeze ends (potential breakout/expansion context).
Notes
No look-ahead logic is used; calculations rely on current and historical bars only.
On realtime (still-forming) candles, values can change intrabar, normal behavior for indicators computed on the current bar.
Trading Disclaimer:
This indicator is provided for research and informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use at your own risk. You are solely responsible for any trading decisions made using this script.
TX Ultra Zone Consolidation Detector## TX Ultra Zone Consolidation Detector ##
Overview TX Ultra Zone is an advanced market structure utility designed to automatically detect periods of consolidation, indecision, and sideways movement. By isolating ranging markets, it helps traders avoid "choppy" conditions and prepare for high-probability breakouts.
What It Does
Automatic Detection: Draws visual boxes around price action when volatility compresses.
Breakout Projection: Once price breaks the box, it projects a "Shadow Zone" forward. This shadow serves as a key reference for Support-becomes-Resistance (or vice versa) retests.
Noise Filtering: Helps you stay out of the market when no clear trend exists.
How It Works (Conceptual) The script uses a multi-layer detection engine:
Regime Detection: It analyzes market efficiency and volatility (using adaptive logic) to determine if the market is trending or ranging.
Geometry Confinement: When a range is detected, the script locks the High and Low boundaries.
Expansion & Breakout: The box dynamically expands if price pushes the boundary slightly without a true breakout. A valid breakout closes the box and triggers the Shadow Extension.
How to Use
Add to Chart: Works best on volatility-sensitive assets (Forex, Crypto, Indices).
Wait for the Box: When a Purple Box appears, the market is resting. Do not trade trends inside the box.
Trade the Breakout: Wait for a candle close outside the box.
Use the Shadow: The Grey Shadow Extension indicates where price might return to "retest" the breakout level. This is often a prime entry zone.
Settings & Tuning
Detection Engine: Switch between Adaptive Volatility (Standard) or Momentum Compression (Alternative).
Zone Threshold:
45-50: Sensitive (More boxes, catches micro-ranges).
55-60: Strict (Only catches very clear, tight consolidation).
Shadow Extension: Adjust how far into the future the support/resistance zone is projected.
Disclaimer This tool is for educational and analytical purposes only. Past performance does not guarantee future results. Always use proper risk management.
Winners Scalper Pro - Bull/Bear (v1.5)best settings all standart but only change rsi
15 min rsi 8-9
30 min rsi 12-14
Vector Sniper What this script does
This indicator highlights high‑energy “vector” candles and marks optional Absolute Reversal candles (possible bottoms/tops) based on wick rejection, structure, and volume. It is designed for visual context, not automatic trade entries.
How it works (core logic)
The script combines volatility, volume, and price‑structure filters:
Vector candles: Require strong candle body, high volatility (true range Z‑score), high volume (volume Z‑score), and directional delta imbalance.
Structure filters: Optional break‑of‑structure and trap detection help remove noise.
Pre‑signals: A scoring system tracks early conditions (volume, imbalance, structure proximity, and EMA/VWAP alignment) and requires persistence across recent bars.
HTF confluence (optional): Uses higher‑timeframe EMA alignment with no lookahead bias.
Absolute Reversal candles
These are designed to mark potential local tops/bottoms and require:
Long wick rejection
Small body size
Strong close back into the range
Local structural extreme
Above‑average volume
Optional EMA trend bias (to confirm exhaustion)
How to use it
Use vector candles to spot high‑momentum activity.
Use pre‑signals as early warnings before vectors appear.
Use Absolute Reversal candles for potential turning points at extremes.
Adjust thresholds per timeframe and instrument.
Notes
Designed for standard candlesticks (not Heikin Ashi / Renko / Kagi / P&F).
No performance claims or guarantees.
HTF data uses lookahead_off to avoid repainting.
Median Anchor Oscillator [ALPHA]ALPHA – Median Anchor Oscillator
A clean, outlier-resistant z-score oscillator built around a rolling median (not mean) and Median Absolute Deviation (MAD) instead of standard deviation.
Key features:
- Green/red histogram shows deviation strength from the median anchor
- Dashed lines at ± threshold (default 2.5 – adjustable)
- Optional purple fill for extreme zones
- Auto-scales perfectly (no price squish on BTC or high-value assets)
Ideal for mean-reversion traders spotting overextension or "gravity" pullbacks.
SHORT = breaching top dashed line (red)
LONG = breaching bottom dashed line (green)
Use with a MACD or RSI for those divergence signal confirmations.
This is ALPHA – early version, still tuning.
Companion overlay suite (medians, pivot, signals, RSI overlay) coming in future, possible standalone update(s).
Feedback / suggestions very welcome!
Tags: z-score, median, oscillator, mean-reversion, BTC, crypto, deviation
Liquidity-Weighted RSILW-RSI scales the classic RSI by relative volume to highlight when momentum happens under unusually high participation.
Formula:
LW-RSI = RSI × (Current Volume / 20-bar Avg Volume)
• The 0 → Threshold band marks the “normal” zone.
• Values above Threshold indicate an abnormal liquidity/participation regime (not a buy/sell signal by itself).
• The orange line is the moving average of LW-RSI itself to show whether participation spikes are persistent or just noise.
LW-RSI does not predict direction. Use it as a context/confirmation tool alongside structure, VWAP, and volume profile.
Bar-Close Confirmed SupertrendOverview
This indicator is a Supertrend-style trend follower that confirms direction changes only after a bar closes. Trend flips are determined using the previous bar’s close relative to the bands, which helps avoid intrabar changes during live candles.
How it works
Computes ATR (Average True Range)
Builds upper/lower bands using ATR and a multiplier
Updates trend direction only when a prior candle confirms a break of the band
Confirmation logic (bar-close based)
Trend direction is updated using conditions based on the previous candle, such as:
close > upper → confirm uptrend
close < lower → confirm downtrend
Because signals are confirmed on the prior bar, trend changes and markers are displayed only when confirmation exists.
Signals
Uptrend confirmation: prior candle closes above the upper band → bullish marker
Downtrend confirmation: prior candle closes below the lower band → bearish marker
Inputs
ATR Length (default 10)
ATR Multiplier (default 3.0)
Notes
This script is intended for bar-close workflows. Behavior and responsiveness may differ across markets and timeframes depending on volatility and chosen settings.
Toby Crabel's HisVolAs in Linda Raschke's Street smarts..... . This indicator shows the signals of Toby Crabel's Historical Volatility 6/100 strategy. The strategy assumes, that volatility contraction measured by two measures would give better results.
There is one other script that is a strategy , but it assumes that the signal requires both inside bar and narrowest range, what is not as in Linda Raschke's.
The strategy and what does the script do:
1) measures short-term unannualized volatility (by default six), long term uannualized volatility (by default 100), and measures the ratio of short volatility / long volatility.
2) checks if the current bar is an inside bar or has narrowest range out of last X bar (by default 4), or both,
3) puts an etiquette if short volatility / long volatility is equal to or smaller than 0,5 AND the day is inside bar, has narrowest range, or both.
Next day both buy-stop and sell-stop should be set. Buy-stop at the high and sell-stop at the low of the bar with etiquette.
This is by no means any financial advice, nor the historical results guarantee future gain.
Volatility Radar Volatility Radar
A comprehensive VIX-based dashboard for volatility regime analysis and trade bias confirmation. Designed for options traders who use VIX levels to inform directional bias and identify potential traps in market positioning.
Dashboard Columns
1. 10-Min Rule
Displays your current directional bias based on VIX zone positioning with time-based confirmation.
CALLS (Green): VIX is below the Bullish Chop level — conditions favor call buying / bullish stock positioning
PUTS (Red): VIX is above the Bearish Chop level — conditions favor put buying / bearish stock positioning
CHOP (Yellow): VIX is between the two chop levels — no clear directional edge
Confirmation Logic: The bias must hold for a configurable period (default: 10 minutes) before showing "✓ CONFIRMED". A countdown timer shows time remaining until confirmation. High-velocity moves (spikes or crushes) trigger immediate confirmation. If VIX touches a chop boundary, the timer resets.
2. VIX Levels
Displays four user-configurable VIX thresholds that define the volatility regime zones:
Bearish (Red): Extreme fear — VIX at or above this level signals high volatility / bearish stock conditions
Resist (Orange): Upper chop boundary — resistance level for VIX
Support (Yellow): Lower chop boundary — support level for VIX
Bullish (Green): Low fear — VIX at or below this level signals low volatility / bullish stock conditions
The current zone is highlighted based on where VIX is trading relative to these levels.
3. Options Flow
Displays net options flow sentiment to gauge market positioning. Supports both simulated and real-time OPRA data.
Simulated Mode (Default):
Net Val: Shows simulated flow based on candle direction (bullish candle = positive, bearish = negative) multiplied by volume
Sentiment: BULLISH, BEARISH, or NEUTRAL based on flow direction
- Header displays "Options Flow (Sim)"
Real-Time OPRA Mode:
Vol: Shows actual call and put volumes summed across strikes near ATM (e.g., "C:12.5K P:8.2K")
Sentiment: BULLISH if call volume > put volume, BEARISH if puts dominate
- Header displays "Options Flow 📡"
- Net flow calculated as: `Total Call Volume - Total Put Volume`
⚠️ OPRA Data Requirement
Real-time mode requires an active OPRA data subscription in TradingView. Without this subscription, the options volume data will not populate. Enable "Use Real-Time OPRA Data" in settings and configure the required parameters (see Settings section below).
4. Velocity
Monitors the speed of VIX movement to detect rapid regime changes.
STABLE (Gray): Normal VIX movement
⚡ SPIKE (Red): VIX increased by more than the velocity threshold (default: 0.40 points) over the last 5 bars — rapid fear increase
⚡ CRUSH (Green): VIX decreased by more than the velocity threshold over the last 5 bars — rapid fear decrease
Calculation: `VIX - VIX ` (current VIX minus VIX from 5 bars ago)
5. Trap Detect
Identifies potential positioning traps by comparing VIX regime with options flow direction.
CLEAN (Gray): No divergence detected — flow aligns with VIX regime
⚠️ TRAP (Orange): High VIX + Bullish Flow — warns of potential bull trap; smart money may be selling into retail call buying during elevated fear
🛡️ ABSORB (Yellow): Low VIX + Bearish Flow — institutional absorption pattern; put buying during low VIX may indicate smart money hedging or accumulation
Horizontal Level Lines
Four horizontal lines are automatically drawn on the chart at your configured VIX levels:
1. Green line: Bullish level
2. Yellow line: Bullish Chop (Support) level
3. Orange line: Bearish Chop (Resist) level
4. Red line: Bearish level
Settings
Display Settings
Table Position: Choose where the dashboard appears on your chart
Text Size: Tiny, Small, or Normal
Table Background / Transparency: Customize dashboard appearance
10-Minute Rule
Confirmation Minutes: Time required in a zone before bias is confirmed (default: 10)
Velocity Threshold: Points per 5-bar period to trigger spike/crush detection (default: 0.40)
VIX Levels
Bullish (Green): Low volatility threshold (default: 14)
Bullish Chop (Yellow): Lower chop boundary (default: 16)
Bearish Chop (Orange): Upper chop boundary (default: 20)
Bearish (Red): High volatility threshold (default: 25)
Options Flow Data
Use Real-Time OPRA Data: Toggle between simulated and real-time options data (default: off)
Ticker Override: Manual ticker symbol. Leave blank to auto-detect from chart. Examples: SPY, QQQ, SPXW, NDX. Note: SPX auto-converts to SPXW for options symbols.
Center/Anchor Price: Required for OPRA mode. Enter the current underlying price (e.g., 590 for SPY, 5900 for SPX). This determines the ATM strike for data fetching.
Expiry Date (YYMMDD): Options expiration date in YYMMDD format (e.g., 260117 for Jan 17, 2026). Leave blank to use today's date (0DTE).
Strikes Above/Below ATM: Number of strikes to scan on each side of center price (1-10, default: 5). Higher values capture more flow data but use more API calls.
Strike Step Auto-Detection:
- SPX/SPXW, NDX: $5 strikes
- VIX: $0.50 strikes
- SPY, QQQ, and others: $1 strikes
What's New in This Release
1. Real-Time OPRA Options Flow: New toggle to switch between simulated and real-time options data. When enabled with an OPRA subscription, fetches actual call/put volumes across up to 11 strikes around ATM.
2. Configurable Options Parameters: New settings for ticker override, center price, expiry date, and strike range for precise options data targeting.
3. Horizontal Level Lines: VIX threshold levels are now drawn directly on the chart as colored horizontal lines for quick visual reference
4. Reordered Settings: VIX level inputs now flow logically from Bullish to Bearish
Best Practices
1. Use on VIX chart: Apply this indicator directly to a VIX chart (CBOE:VIX) for best results
2. Wait for confirmation: Don't act on bias until the 10-minute rule confirms
3. Respect velocity signals: Spikes and crushes can indicate regime changes before price confirms
4. Watch for traps: Divergence between flow and VIX regime often precedes reversals
5. Customize your levels: Adjust VIX thresholds based on current market conditions and your trading style
6. OPRA Setup: If using real-time options data, ensure you:
- Have an active OPRA subscription in TradingView
- Set the correct Center/Anchor Price for the underlying you're tracking
- Update the expiry date if trading non-0DTE options
- Match the ticker to your target (SPY for SPY options, leave blank on VIX chart for VIX options)
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Options flow data is simulated by default; real-time OPRA data requires a separate TradingView subscription. Always do your own research and manage risk appropriately.
DAX 9-10 Breakout Strategy IndicatorOpening Hour Breakout (ORB) indicator for intraday trading.
WHAT IT DOES:
• Identifies the price range of a specific hour (default: 9:00-10:00)
• Detects breakout direction (Long/Short) when price breaks above HIGH or below LOW
• Automatically calculates Take Profit and Stop Loss zones based on range size
• Tracks trade outcome (Win/Lose) when TP or SL is hit
HOW TO USE:
1. Set the session hour according to your chart's timezone
2. Wait for the session range to form (yellow box)
3. Enter on breakout above HIGH (Long) or below LOW (Short)
4. TP and SL levels are automatically calculated
DEFAULT SETTINGS:
• TP Multiplier: 1.41x range (Risk:Reward ≈ 1:2.7)
• SL Multiplier: 0.52x range
FEATURES:
• Works on any timeframe (H1, M15, M30, etc.)
• Visual zones for session range, TP, and SL
• Price labels for all key levels
• Entry arrows and direction letters (L/S)
• Win/Lose markers (W/X) when trade closes
• Fully customizable - show/hide any element
• Info panel with live status and R:R ratio
• Alert conditions for Entry, TP hit, SL hit
BEST USED ON:
• DAX (Germany 40)
• Other indices: US30, US500, NAS100
• Forex majors during London/NY open
NOTE: This is an indicator for visual analysis. Use the Strategy version for backtesting.
Yang-Zhang Stop Lines Yang-Zhang Stop Lines - Advanced Volatility Indicator
📊 Description
The Yang-Zhang Stop Lines is an advanced technical indicator that uses the Yang-Zhang volatility estimator to calculate dynamic stop loss and take profit levels. Unlike traditional methods such as ATR or Bollinger Bands, Yang-Zhang considers multiple components of market volatility, offering a more accurate and robust measurement.
🎯 Key Features
Superior Volatility Calculation:
Implements the complete Yang-Zhang estimator, considering overnight volatility, open-close, and Rogers-Satchell components
More accurate than traditional ATR for markets with gaps and distinct sessions
Automatically adapts to market conditions
Intelligent Levels:
Buy Stop (Green): Lower level calculated for long position protection
Sell Stop (Red): Upper level calculated for short position protection
Mirrored Levels: Additional projections based on daily amplitude
Continuous Bands: Real-time visualization of intraday volatility
Daily Anchoring:
Fixed levels calculated at the beginning of each day
Facilitates trade planning with stable references
Horizontal lines extending throughout the trading session
⚙️ Configurable Parameters
Calculation Timeframe: Defines the period for volatility analysis (default: 60min)
Period: Lookback window for statistical calculations (default: 20)
Multiplier: Adjusts level sensitivity (default: 1.0)
Base Price: Reference for stop calculations (default: close)
Visual Options: Bands, fixed lines, labels, fill, and customizable colors
💡 How to Use
For Day Traders:
Use daily fixed levels as reference for stop loss and targets
Watch for price crossovers at levels for reversal signals
Mirrored levels serve as extended targets
For Swing Traders:
Configure higher timeframes (4h, daily) for medium-term analysis
Use the multiplier to adjust to your risk/reward objectives
Combine with trend analysis and support/resistance
Risk Management:
Position stops just below/above calculated levels
Adjust position size based on amplitude
Monitor the info table to check current volatility
📈 Information Table
The indicator displays in the top-right corner:
Current Yang-Zhang Volatility (in %)
Buy Stop Level
Sell Stop Level
Calculated Amplitude
🔔 Included Alerts
Alert when price crosses Buy Stop
Alert when price crosses Sell Stop
🎨 Visual Customization
Independent colors for each element
Adjustable line width
Optional fill between bands
Optional informative labels
📝 Technical Notes
This indicator correctly implements the complete Yang-Zhang estimator formula, including:
Overnight variance
Open-close variance
Rogers-Satchell component
Optimized k weighting
Ideal for traders seeking a scientific and statistically robust approach to stop definition and volatility analysis.
Compatible with all assets and timeframes. Recommended for liquid markets.
Daily maximum price range for Credit SpreadsVolatility & Momentum for Credit Spreads
It is a specialized mean-reversion tool designed primarily for options traders focusing on Credit Spreads (specifically 0DTE on SPX) and intraday reversals. By combining Volume Weighted Average Price (VWAP) with VIX-adjusted volatility bands, this indicator identifies statistical extremes where price is likely to revert.
Unlike standard Bollinger Bands or Keltner Channels, TITAN adapts its width based on real-time implied volatility (VIX), ensuring that your "overextended" zones are accurate whether the market is calm or chaotic.
🎯 Core Concept
The indicator relies on the principle that price moves within a definable "Daily Range" relative to the VWAP. When price pushes to the outer limits of this range while simultaneously hitting RSI extremes; it signals a high-probability reversal setup ideal for selling premium.
🛠 How It Works
The engine is built on three pillars:
Volatility-Adaptive Bands: The bands are calculated using a 14-day Average Daily Range (ADR), which is then dynamically scaled by the current VIX relative to a baseline. If VIX spikes, the bands widen instantly to keep you safe from premature entries.
Momentum Triggers: Signals are generated only when the RSI (14) hits extreme Overbought (>70) or Oversold (<30) levels.
"Golden Hour" Filtering: To avoid market open noise or late-day chop, the indicator includes a customizable time filter (Default: 10:15 – 11:30 AM EST). Signals outside this window are suppressed to enforce trading discipline.
🚀 Key Features
Visual Strategy Simulation: The indicator now includes a built-in "Strike Simulator." Upon the first valid signal of the session, it automatically plots a horizontal "Strike Line" at the Outer Band ± a user-defined buffer (e.g., 10 points). This helps you visualize your theoretical strike price for the rest of the day.
Bull & Bear Zones: Color-coded fills (Green for Bullish Buy Zones, Red for Bearish Sell Zones) make it easy to see market context at a glance.
Live Dashboard: A Heads-Up Display (HUD) in the bottom right shows real-time RSI values, Golden Hour status, and current signal state.
Unified Alert System: A single master alert condition triggers if price hits an RSI extreme OR touches a volatility band during your active trading window.
📉 How to Trade It (Example Strategy)
Wait for the Window: Ensure the "Golden Hour" on the dashboard reads ACTIVE (Default 10:15 AM EST).
Identify the Zone: Short Setup (Call Credit Spread): Price pushes into the Red Zone (Outer High). Long Setup (Put Credit Spread): Price pushes into the Green Zone (Outer Low).
Confirm the Signal: Look for the Diamond Icon. This confirms RSI has hit the extreme threshold.
Check the "Strike Line": Use the simulated horizontal line to identify where your short strike would be (Outer Band + Buffer) to verify it is at a safe distance from current price.
⚙️ Settings
ADR Length: Lookback period for daily range calculation (Default: 10).
Baseline VIX:* The standard VIX level used for normalization (Default: 15.0).
Inner/Outer Multipliers: Controls the width of the bands.
Golden Hour: The specific time window for valid signals.
Strike Buffer: Points added to the outer band to simulate your option strike price.
⚠️ Disclaimer
This tool is for informational purposes only. Trading options, especially 0DTE credit spreads, involves significant risk. Always backtest strategies and manage risk accordingly.




















