Liquidity Sweeps + Swing High/Low — SMC/ICT (@PueblaATH)Liquidity Sweeps + Swing High/Low — SMC/ICT (@PueblaATH) is a liquidity-driven Smart Money Concepts tool that automatically maps out key swing highs and lows, tracks how they evolve into liquidity pools, and highlights when those levels are swept and either respected or invalidated. This indicator is built to give traders a clean, event-driven view of stop runs and liquidity grabs across any timeframe, from scalping to higher-timeframe context.
What the Indicator Does
Swing Structure & Liquidity Pools
Detects swing highs and lows using a configurable swing length, projects levels forward in time, and builds a liquidity-pool database through pivot arrays used for sweep detection.
Liquidity Sweeps (Stop Runs)
Identifies bearish (upward) and bullish (downward) sweeps through prior liquidity levels using three modes: Any Touch, Wick + Close Back, and Retest Rejection.
Each sweep can generate projective lines, labeled markers, and alerts.
Scope, Rate Limiting & Clean Visuals
Controls minimum spacing between swings and sweeps, limits sweep duplication, auto-revokes invalidated sweeps, and restricts the maximum number of visible events.
Smart offset logic reduces label overlap and keeps charts clean even in dense price action.
Timeframe Filters & Utilities
Allows hiding all drawings between specific timeframes and optionally skipping calculations or clearing internal state when hidden.
Includes debug pivot markers and an optional TF/Bucket badge.
Timeframe Auto-Mode (Original Adaptive Engine)
This indicator features a fully original, seven-bucket Auto-Mode engine that adapts sensitivity to the active timeframe.
Bucket Classification (by seconds)
≤1m, >1m–15m, >15m–30m, >30m–1h, >1h–4h, >4h–1d, >1d.
Bucket-Specific Settings
Each bucket has unique sensitivity sets:
Swing/Sweep lengths
Projection distances
Line style and width
Rate-limiting gaps
Pivot count and bar-lookback windows
Overlap windows
Adaptive Behavior
Lower timeframes gain more reactive behavior, while higher timeframes apply smoother and more selective filters.
Manual Override
Auto-Mode can be disabled to use the Core manual settings for full customization.
How to Use It
Attach the indicator and choose whether to keep Auto-Mode ON or OFF.
Select the sweep mode (e.g., Wick + Close Back for ICT-style liquidity grabs).
Adjust label text, size, color, and offsets to your preference.
Use timeframe filters to show drawings only where you want them.
Enable alerts for bullish sweeps, bearish sweeps, or revocations.
Combine sweep events with your own confluence (sessions, bias, OBs/FVGs, etc.).
Originality & Credits Disclaimer
This script is an original work by @PueblaATH , created specifically for Liquidity Sweeps + Swing High/Low — SMC/ICT (@PueblaATH) under the MPL 2.0 license.
The concepts used (swing highs/lows, liquidity pools, sweeps, SMC/ICT behavior) are public and widely known—they do not belong to any author or protected script.
This indicator does not repackage or cosmetically modify existing code.
Its architecture—including the multi-bucket Auto-Mode engine, pivot/sweep management system, revocation logic, overlap-aware labeling, and TF-based hide/skip/clear controls—is uniquely implemented for this script.
If any future update reuses or adapts code from public sources, full credit will be given in both comments and description, with clear explanation of what was reused and what was originally added or improved.
SMC
Sessions High & Low LevelsAutomatically plots high & low levels for multiple sessions. Clear session structure for intraday traders using price action, liquidity concepts, or session-based strategies.
Automatically plots the High & Low, for sessions such as London, New York, and Asia, with full customization for any custom session or timezone. These levels extend forward and adapt in real time, giving you a clear view of session-based structure and liquidity behavior.
Perfect for traders using ICT concepts, session narratives, or intraday market structure. Session ranges often act as key liquidity pools, breakout zones, and directional guides, this tool makes them easy to see at a glance.
Features:
Auto-plots High & Low for NY, London, and Asia sessions (customizable)
Fully customizable session times, colors, labels, and visibility options
Works across any assets
LiquiBreak — Semi-Automatic Breakout, Gap & Trend-Filter StrategLiquiBreak is a semi-automatic breakout + gap detection strategy that combines pivots, a volatility filter and an optional Supertrend direction check to generate entry signals. It can optionally place take-profit and stop-loss orders in points. Use it to highlight high-probability breakout/gap setups and to automate exits when you want — otherwise treat its signals as trade alerts that require your confirmation.
📌 LiquiBreak — Semi-Automatic Breakout, Gap & Trend Strategy
1. Overview
1. LiquiBreak is a semi-automatic breakout + gap strategy designed to catch high-quality moves with volatility confirmation.
2. Uses pivot-based support/resistance , gap detection , Supertrend filtering , and optional automatic TP/SL in points .
3. Works on all assets and timeframes, especially effective on XAUUSD, Indices, Crypto and FX pairs .
---
2. What This Script Detects
1. Breakouts above resistance and below support during strong volatility.
2. Bullish & bearish gap patterns confirmed with momentum sequences.
3. Dynamic volatility zones based on normalized ATR ranges.
4. Optional Supertrend trend direction for filtering bad signals.
5. Automatic TP/SL orders when enabled.
---
3. Recommended Indicators to Combine With
To increase accuracy and reduce false breakouts:
1. Supertrend (included) – best for trend direction.
2. EMA 9/21 or EMA 20/50 – confirms trend strength & pullbacks.
3. RSI or Stoch RSI – avoid overbought/oversold breakouts.
4. VWAP – institutional bias & fair value zones.
5. CPR / Pivot Points – confluence with breakout levels.
6. MACD – trend confirmation on higher timeframe.
7. Volume Profile (optional) – find breakout liquidity zones.
These indicators help filter low-quality signals without affecting the script’s core logic.
---
4. Key Features
1. Volatility-based pivot support & resistance .
2. Reliable breakout confirmation using real-time volatility strength.
3. Strong gap pattern detection with ATR threshold.
4. Optional Supertrend confirmation for safer entries.
5. Point-based Take Profit / Stop Loss .
6. Toggle on/off: Longs, Shorts, TP, SL .
7. Semi-automatic execution — not fully automated.
8. Clean, optimized structure for stability and speed.
---
5. Inputs / Settings
1. Pivot / Levels Period – defines structural S/R levels.
2. Volatility Filter (%) – prevents low-quality signals.
3. TP Points – automatic take-profit target.
4. SL Points – automatic stop-loss.
5. Enable TP / Enable SL – full exit control.
6. Allow Long / Allow Short – direction control.
7. Supertrend Filter – filter weak counter-trend trades.
---
6. How to Use the Strategy
1. Select timeframe & tune pivot/volatility settings.
2. Enable/disable automatic TP/SL based on your style.
3. Turn ON Supertrend for safer trend-based trades.
4. Confirm signals using EMA, RSI, VWAP, Volume or CPR.
5. Watch for high-volatility breakouts near key levels.
6. Use multiple timeframe analysis for stronger confirmation.
---
7. Important Warning (User Must Monitor Trades)
⚠ This script is NOT a fully automatic bot.
1. You MUST monitor the chart while using this strategy.
2. You MUST manually close trades if market conditions change.
3. Auto TP/SL helps, but during news events or fast markets, slippage may occur.
4. Treat this script as a signal + entry assistant , not a fire-and-forget system.
---
8. Best Practices
1. Works best on XAUUSD, NAS100, BTC, ETH, EURUSD .
2. Avoid major news unless experienced.
3. Increase volatility filter during choppy markets.
4. Use M15–H1 for clean breakouts; M5 for scalping.
5. For beginners: keep TP/SL enabled for safety.
6. Backtest first → then paper trade → then live trade.
---
9. Disclaimer
1. For educational and research purposes only .
2. Not financial advice.
3. User is fully responsible for their trades and risk.
4. Past performance does not guarantee future results.
Gold 1&5 Min Trading Strategy [TradingFinder] XAU Scalper Signal🔵 Introduction
Scalping in financial markets is based on immediate price reactions and precise analysis of price action behavior. In this trading approach, the trader must identify signals that originate directly from market structure, momentum shifts, candlestick formations, and the position of price relative to key zones.
Supply and demand areas serve as the primary regions of order concentration and form the foundation of scalping analysis, since they provide the most accurate representation of balance or imbalance between buyers and sellers as well as the active flow of liquidity in the market.
In demand zones, price reactions usually begin with the formation of reversal or continuation candlestick patterns. These patterns include structures such as Pin Bar, Engulfing, Doji, Failure, Rejection, and other forms of false breakout behavior, each of which can indicate a potential short term change in direction.
Liquidity plays a central role in these reactions, because price entering a demand zone typically coincides with the absorption of sell side liquidity and the restoration of order flow. This process often leads to rapid movements that are suitable for scalping. Therefore, combining candlestick confirmation with the location of price inside a supply or demand zone is one of the most reliable methods of identifying low risk scalping signals.
Demand zones include several structural variations, each representing a different form of liquidity behavior. One of the most well known examples is the order block, which is the final bearish candle before a strong bullish movement and indicates the presence of unfilled buy side interest.
Another important structure is the Fair Value Gap, which appears when a price void forms across three consecutive candles due to a lack of liquidity during the moment of displacement. The market often returns to this area to restore balance. Imbalance structures also represent one sided pressure in order flow where the market reacts later to correct these inefficiencies.
Breaker structure is another key element in demand analysis. A breaker is formed when an order block is violated and price returns to the same level after collecting liquidity, then continues in the opposite direction. This pattern often appears near liquidity based highs or lows and reflects a shift in the strength of market participants.
Together, order blocks, Fair Value Gaps, imbalances, and breakers form the core of demand analysis in price action and are widely used in precise scalping strategies due to their strong connection with liquidity and the high predictability of price reactions within them.
Bullish Setup :
Bearish Setup :
🔵 How to Use
This strategy is built on price action analysis, market reactions inside supply and demand zones, and confirmation through candlestick patterns. The first step is to identify key areas such as order blocks, Fair Value Gaps, imbalances, or breakers.
After these zones are located, price behavior within them is examined using candlestick structure and momentum direction. Entries are taken only when price reaches a validated zone, a clear sign of liquidity absorption or injection appears, and a confirming candlestick forms inside the zone.
This approach allows the trader to capture fast and precise entries during moments when the market is actively reacting to decision points.
🟣 Long Setup
In the buy setup, a valid demand zone must first be identified. This can be a bullish order block, an unfilled bullish Fair Value Gap, an imbalance at the lower part of structure, or a bullish breaker. When price enters this zone and shows signs of absorbing sell side liquidity, candlestick behavior must be examined.
Formation of reversal signals such as a Pin Bar with a long lower wick, bullish Engulfing, Rejection Candle, or a false breakout of the low, indicates a favorable shift in order flow. After receiving candlestick confirmation, a buy entry is taken within the same zone and the stop level is placed below the liquidity boundary. Targets are typically based on filling gaps, reaching supply zones, or returning to structural means.
🟣 Short Setup
In the sell setup, a valid supply zone must be recognized. This may include a bearish order block, a bearish Fair Value Gap, an imbalance at the upper part of structure, or a bearish breaker. When price enters this zone and liquidity accumulates above nearby highs, the probability of a fast momentum shift increases.
Confirmation occurs when a bearish reversal pattern forms such as Engulfing, Pin Bar with a long upper wick, indecisive Doji followed by rejection, or a false breakout of the high. After confirmation, the sell entry is placed and the stop level is set above the liquidity zone. Targets are selected based on filling lower Fair Value Gaps, reaching demand zones, or returning to structural midpoints.
🔵 Settings
Last Candle in Signal Direction : When On, a signal is issued only if the last candle moves in the direction required by the signal.
Signal in Nearly Zone : When enabled, the signal becomes valid even if the candle is near the zone rather than strictly inside it. When disabled, only signals formed inside the zone are allowed.
Allow Both Side Signals : When On, signals from both sides of the structure can be issued even if a limiting level exists. When disabled, only signals that do not violate the limiting level are allowed.
🔵 Conclusion
Using price action, supply and demand zones, and candlestick confirmation alongside liquidity analysis creates an effective framework for identifying fast market reactions in scalping conditions. Focusing on structures such as order blocks, Fair Value Gaps, imbalances, and breakers allows the trader to recognize shifts in momentum and changes in order flow with greater precision.
In this approach, entries are taken only when price reaches a validated zone, liquidity behavior is observable, and the confirming candle forms at the correct location. This leads to organized, low risk scalping signals that are aligned with the real time behavior of the market.
MCM By Inner Racers# MCM By Inner Racers - Multi-Timeframe Key Levels & Session Indicator
## 📊 Overview
**MCM (Multi-Timeframe Chart Mapping)** is a comprehensive trading indicator designed for professional traders who need clear visual representation of critical price levels, session ranges, and time-based market structure. This all-in-one tool eliminates chart clutter while providing essential information for ICT, SMC, and institutional trading methodologies.
---
## ✨ Key Features
### 📅 **Previous Daily Levels**
- **Previous Day High (PDH)** - Acts as key resistance/liquidity zone
- **Previous Day Low (PDL)** - Acts as key support/liquidity zone
- **Previous Day Mid (PDM)** - 50% equilibrium level for mean reversion trades
- **Daily Separators** - Vertical lines marking new trading days
### 📆 **Previous Weekly Levels**
- **Previous Week High (PWH)** - Major weekly resistance for swing trading
- **Previous Week Low (PWL)** - Major weekly support for swing trading
- **Previous Week Mid (PWM)** - Weekly equilibrium for higher timeframe bias
- **Weekly Separators** - Vertical lines marking new trading weeks
### 🌅 **True Day Opens (TDO)**
- Displays opening prices at **midnight NY time** for the past 1-10 days
- Each level labeled as "TDO D-0", "TDO D-1", "TDO D-2", etc.
- Critical for tracking institutional reference points and gap trading
- Respects true midnight opens (not session opens)
### 📍 **Weekly Opens**
- **Monday 00:00 Open** - True weekly open at Monday midnight NY time
- **Sunday 17:00 Open** - Forex market open (Sunday 5 PM NY time)
- Essential for understanding weekly bias and manipulation zones
### 🌏 **Trading Session Ranges**
Dynamic session boxes that track real-time high/low ranges:
- **Asian Session** (Default: 20:00-00:00 NY) -
- **London Session** (Default: 02:00-05:00 NY) -
- **New York Session** (Default: 07:00-16:00 NY) -
All session times are **fully customizable** in 15-minute increments.
---
## 🎯 Who Is This For?
✅ **ICT/SMC Traders** - Key levels for market structure, liquidity, and order flow
✅ **Session Traders** - Identifying killzones and optimal entry zones
✅ **Swing Traders** - Previous day/week levels as support/resistance
✅ **Multi-Timeframe Analysts** - Understanding price relationships across timeframes
✅ **Forex & Indices Traders** - NY time-based analysis for institutional moves
---
## 🎨 Full Customization
Every element is fully customizable:
- ✏️ **Colors** - Match your chart theme perfectly
- 📏 **Line Widths** - 1-5 pixels for visibility
- 🎭 **Line Styles** - Solid, Dashed, or Dotted
- 🏷️ **Labels** - Custom text and 5 size options (Tiny to Huge)
- ⏱️ **Session Times** - Adjust to your timezone or broker
- 📐 **Line Extension** - 20-500 bars forward projection
- 👁️ **Toggle Visibility** - Show/hide any feature independently
---
## 🔧 Technical Highlights
- Uses **request.security()** for accurate higher timeframe data
- Implements **lookahead=barmerge.lookahead_on** for non-repainting levels
- All times calculated in **America/New_York timezone** for consistency
- Efficient line management with proper deletion/recreation
- Maximum 500 lines supported for clean chart performance
- Session detection respects broker time differences
---
## 📖 How To Use
### **For Day Traders:**
1. Enable Daily Levels + True Day Opens for intraday structure
2. Use Session Ranges to identify high-probability trading windows
3. Watch for price reactions at PDH/PDL and TDO levels
### **For Swing Traders:**
1. Enable Weekly Levels for higher timeframe bias
2. Use PWH/PWL as major support/resistance zones
3. Monitor Weekly Opens for institutional reference points
### **For Multi-Timeframe Analysis:**
1. Combine Daily + Weekly levels for confluence zones
2. Use Mid levels (50%) for mean reversion opportunities
3. Align session ranges with higher timeframe structure
---
## ⚙️ Setup Tips
- **Timeframe:** Works on all timeframes (recommended: 1m to 1H for intraday)
- **Chart Type:** Overlay indicator - displays directly on price chart
- **Clean Charts:** Toggle off features you don't need for specific strategies
- **Labels:** Turn off labels for cleaner charts, turn on for reference
- **Line Extension:** Adjust based on your screen size and bar count
---
## 🚀 What Makes This Different?
Unlike basic support/resistance indicators, MCM provides:
- ✅ **True NY midnight opens** (not session opens)
- ✅ **Multiple day opens** tracking (not just previous day)
- ✅ **Dynamic session ranges** (not static boxes)
- ✅ **Both true weekly opens** (Monday 00:00 AND Sunday 17:00)
- ✅ **Fully customizable everything** (colors, styles, labels, times)
- ✅ **Non-repainting levels** using proper lookahead settings
- ✅ **All-in-one solution** (no need for multiple indicators)
---
## 📝 Notes
- All times are in **America/New_York timezone** for consistency with institutional trading
- Previous levels update at the start of each new day/week
- Session ranges are calculated dynamically during active sessions
- Lines extend forward for clear visual reference
- Works with any symbol: Forex, Indices, Crypto, Stocks
---
## 🏷️ Tags
`Multi-Timeframe` `Key Levels` `ICT` `Smart Money Concepts` `Sessions` `Previous Day High/Low` `Previous Week High/Low` `Support Resistance` `Institutional Trading` `Order Flow` `Liquidity` `Market Structure`
---
© Inner_Racers
For questions, suggestions, or feedback, please leave a comment below!
**⭐ If you find this indicator helpful, please give it a boost and share with fellow traders!**
Velocity SmartMoney Engine work - Delta Exchange📈 Velocity SmartMoney Engine
Adaptive Breakout & Order Block Strategy with Dynamic Risk Control
---
🔍 Overview
The Velocity SmartMoney Engine is a next-generation trading strategy that fuses Smart Money breakout logic , Order Block structure detection , and Supertrend-based directional filtering into one precision-built system.
It identifies institutional-level breakouts , manages positions with ATR-based adaptive risk , and executes disciplined exits using stop-loss, trailing stop, and profit target logic.
Designed for swing and short-term system traders, this strategy performs excellently on BTC, ETH, NIFTY, BANKNIFTY, Gold, and major FX pairs — best on 15m to 4h timeframes .
---
⚙️ Core Components
1️⃣ Smart Money Breakout Logic
Detects real breakouts using dynamic support/resistance pivots.
Confirms entries only during strong volatility bursts.
Avoids false breakouts in sideways markets.
2️⃣ Order Block Gap Detection
Finds institutional imbalance zones (Smart Money footprints).
Bullish gaps = Long bias; Bearish gaps = Short bias.
Works with candle confirmation and momentum validation.
3️⃣ Supertrend Directional Filter
Trades only in direction of Supertrend bias.
Exits instantly when Supertrend flips.
Prevents entries against dominant trend.
4️⃣ ATR-Based Risk & Volatility Filter
Uses ATR × multiplier for adaptive stop sizing.
Volatility filter ensures trades trigger only during active markets.
Avoids whipsaw zones.
---
💰 Position Management
Stop-Loss: Adaptive ATR-based.
Take-Profit: Default 5% target (editable input).
Trailing Stop: Auto-adjusts to lock profits.
No-Exit Hold: Hold position for defined candles before exits.
Supertrend Flip Exit: Instant trend-based closure.
---
🧠 Built-In Trade Discipline
One-trade-per-bar guard prevents duplicate entries.
Volatility-weighted breakout validation.
Clean and conflict-free exit hierarchy.
---
🎯 Key Features
✅ Smart Money breakout + Order Block fusion
✅ Supertrend-based trend confirmation
✅ ATR dynamic stop + 5% profit target
✅ Adaptive trailing logic
✅ One-trade-per-bar control
✅ Works across Crypto, Indices, FX, Commodities
✅ Ideal for 1h–4h swing setups
---
📊 Recommended Settings
Parameter | Typical Value | Purpose
--- | --- | ---
Levels Period | 20 | Pivot lookback for S/R zones
Volatility Filter | 20–40 | Filters out low-momentum areas
ATR Multiplier | 1.5 | Adjust stop size by volatility
Supertrend Length | 10 | ATR period for trend bias
Supertrend Multiplier | 3.0 | Supertrend sensitivity
Target Profit | 5% | Default take-profit level
---
⚡ Suggested Use
• Best suited for swing entries on 1H / 4H charts .
• Combine with session filters or trend confluence for automation.
• Ideal as a base module for TradingView + Broker integrations .
---
🧩 Disclaimer
This script is for educational purposes only .
Past performance does not guarantee future returns.
Use responsibly. The developer assumes no liability for financial losses.
---
💬 Community & Access
Developed by: Shubham Singh
Version: Velocity SmartMoney Engine v1.0
For premium modules & automation: DM "Velocity Access" on chat to request access.
---
© 2025 Velocity SmartMoney Engine — All Rights Reserved
TitanEdge Algo Suite — 4H BTC & ETH (Delta Exchange Ready)TitanEdge Algo Suite — 4H BTC & ETH (Delta Exchange Ready)
TitanEdge Algo Suite is a next-generation trading system that fuses volatility-adaptive logic, order-block structure, SuperTrend direction filtering, and ATR-based exits into a single modular framework.
It’s engineered for 4-hour BTC and ETH swing trading, delivering institutional-grade entries, dynamic risk control, and precise exits.
⚙️ Core Features
1. Volatility Oscillator (0–100)
• Filters trades by volatility intensity.
• Uses ATR, Range, or Bollinger Band Width normalization.
• Trades trigger only when market volatility is high — filtering out sideways or weak trends.
• Ensures trades occur during real momentum expansions.
2. Breakout + Order Block Engine
• Detects pivot highs/lows to confirm authentic breakout levels.
• Identifies “smart money” gaps — institutional imbalance zones often leading to strong reversals or continuations.
• Captures both breakout continuations and order-block reversals.
• Works as a hybrid structure detector combining price action and volatility alignment.
3. SuperTrend Directional Filter
• Optional filter that only allows trades in the direction of the SuperTrend.
• Can automatically close trades when a SuperTrend flip occurs.
• Provides strong trend-following bias and helps avoid countertrend traps.
4. ATR-Based Stop & Trailing System
• Adaptive stop-loss and trailing logic that expands or tightens based on volatility.
• Supports three modes: StopOnly, TrailOnly, and StopAndTrail.
• Works in both ATR-based distance or percentage-based configuration.
• Keeps losing trades small and lets winning trades extend dynamically.
5. Volume-Based Exit Logic
• Detects low-volume exhaustion to identify momentum loss.
• Detects opposite-volume spikes as early reversal signals.
• Optional hybrid “Both” mode combines both detection methods for stronger reliability.
• Ideal for markets where volume surges indicate smart money exits or trap formations.
6. Session Filter & Anti-Churn Control
• Restrict trading hours (optional; not required for crypto).
• Prevents repeated signals and noise-based entries through minimum bars between trades.
• Cooldown logic ensures disciplined trading and avoids strategy overlap.
• Prevents multiple entries in a single bar and filters unconfirmed breakouts.
7. SmartMoney Preset Mode
• Institutional-grade configuration automatically adjusting volatility, ATR, and structural logic.
• Mimics smart money behavior by prioritizing clean structure and high liquidity volatility zones.
• Great for traders who want simplified institutional logic without manual tuning.
Optimized for 4H BTC & ETH
TitanEdge performs best on BTCUSDT and ETHUSDT pairs in the 4-hour timeframe.
The 4H chart captures high-volatility institutional swings, eliminates intraday noise, and provides clear order-block setups.
This timeframe aligns with BTC/ETH volatility cycles, providing consistent signals and cleaner trend confirmation.
Recommended settings for 4H charts:
• Levels Period: 25
• Volatility Filter: 20
• volatility oscillator Auto: disable ( it depend upon your plan test with Disable/enable)
• Volatility Method: BBWidth
• ATR Multiplier: 1.8
• ATR Stop %: 5
• SuperTrend ATR Length: 10
• SuperTrend Factor: 3
• ATR Mode: StopAndTrail
• Hold Bars: 1
• Volume Exit: Disable (Both)
• Session Filter: Off (Crypto runs 24/7)
Entry Logic
• Long Entry: Price breaks above resistance (pivot high), volatility above threshold, and optional SuperTrend confirmation.
• Short Entry: Price breaks below support (pivot low), volatility above threshold, and optional bearish SuperTrend confirmation.
• Additional Entry: Triggered by order-block gaps (smart money imbalances) in volatility expansion phases.
• Trades only when both direction and volatility align to ensure precision entries.
Exit Logic
• ATR Stop and Trail dynamically manage open trades.
• SuperTrend Flip forces exit on trend reversal.
• Volume Exit triggers when volume momentum drops or opposite spike occurs.
• Optional session close exit to flatten trades outside hours.
• Logic prevents premature exits with “Hold Bars” delay after entry.
Why You Need TitanEdge Algo Suite
• Trades only during high-volatility, strong-momentum phases — no false breakouts or choppy trades.
• ATR risk control automatically adjusts to each market’s volatility conditions.
• Identifies institutional order-blocks and clean breakouts for precise entries.
• SuperTrend filter adds directional bias, boosting win-rate consistency.
• Volume exit logic ensures profits are protected when market momentum fades.
• Works 24/7 across all major crypto pairs — fully automated and customizable.
• Built for 4H swing trades — fewer but higher-quality setups.
• Fully compatible with TradingView alerts and bot integration for hands-free execution.
How TitanEdge Makes Profit
• TitanEdge only trades during volatility expansion, when breakout continuation probability is statistically high.
• ATR dynamic stops prevent large losses by scaling protection according to real volatility.
• Trend filtering keeps positions aligned with major market flows.
• Order-block detection ensures entries are based on price structure rather than random signals.
• Volume-based exits secure profits early when momentum weakens.
• SmartMoney Preset provides optimal balance between trade frequency, accuracy, and drawdown control.
• The system compounds edge by maintaining trade discipline — fewer but stronger trades over time.
Delta Exchange Integration (TradingView Bot Ready)
TitanEdge is fully compatible with TradingView alert webhooks and can connect to Delta Exchange or any bot-supported broker.
Alert JSON message format:
{"symbol":"{{ticker}}","side":"{{strategy.order.action}}","qty":1,"trigger_time":"{{timenow}}","strategy_id":"code"}
qty 1 represent 1 lot so if you want to take trade with 5 lots or 0.05eth and write
{"symbol":"{{ticker}}","side":"{{strategy.order.action}}","qty":5,"trigger_time":"{{timenow}}","strategy_id":"code"}
Steps to automate:
Create an alert on TradingView using “Once Per Bar Close”.
Paste your bot or automation webhook URL.
Paste the JSON above as the message.
Configure your bot or API bridge (like PineConnector, AutoView, or WunderTrading) to route signals to Delta Exchange.
On Delta, use BTCUSD or ETHUSD Perpetual pairs with moderate leverage (3x–5x).
Enable Cross Margin for smooth drawdown handling.
Test first on Delta Testnet for safety.
Why 4H BTC & ETH Works Best
• 4H candles capture true volatility swings and filter lower-timeframe noise.
• Aligns with institutional liquidity cycles in BTC and ETH.
• ATR and volume-based stops perform optimally on larger bars.
• Smoother equity curve and less drawdown compared to intraday trading.
• Ideal for traders seeking structured, medium-term trades with high reward-to-risk.
Unique Edge
• Combines breakout, order-block, and volatility principles into one adaptive model.
• Incorporates volatility normalization (ATR/BBWidth) for multi-market adaptability.
• Dynamic ATR stops and trailing protect capital during unstable phases.
• Volume and trend exits create layered protection systems.
• 4H optimization eliminates noise and provides clear institutional alignment.
• SmartMoney preset auto-configures settings to mimic large-player behavior.
• Fully automated via webhooks — no manual execution required.
• Modular design lets you customize each component for different trading styles.
TradingView Bot Integration
TitanEdge is fully plug-and-play with all TradingView-compatible bots.
Each alert sends structured JSON data containing direction, symbol, and quantity, ready for execution on your connected broker.
You can route the data to:
• PineConnector (MT4/MT5 bridge)
• WunderTrading
• AutoView
• Custom Node/REST API handler
This makes TitanEdge a professional-grade strategy suitable for semi-automatic or fully automated crypto trading setups.
Professional Recommendations
• Timeframe: 4H
• Instruments: BTCUSDT, ETHUSDT
• Exchange: Delta Exchange (Perpetual Futures)
• Leverage: 3x–5x
• Session Filter: Off (crypto 24/7)
• Risk per trade: 0.5%–1% of total equity
• Alert Type: Once Per Bar Close
• Volatility Filter: 25–35 depending on market activity
• Always use realistic slippage and fees for backtests.
Summary
TitanEdge Algo Suite is a complete trading framework built to deliver institutional-quality precision with full automation support.
It captures powerful volatility expansions on 4H BTC and ETH charts using clean structure, adaptive stops, and directional trend filters.
Every feature — from entry logic to exits — is designed to protect capital and amplify performance through disciplined, volatility-aware execution.
TitanEdge is not just another script — it’s a professional-grade algorithm that combines volatility intelligence, structural precision, and adaptive risk control.
TitanEdge Algo Suite = Smart Logic × Trend Discipline × Adaptive Risk Control
Optimized for BTC & ETH on 4H charts. Built for traders who demand precision, control, and consistency.
Extended MacrosExtended Macro Times from XX:42 to XX:15.
These are the times to trade and when the Smart Money Reversal is likely to occur.
Deyler IndicatorMerge indicators:
Nwog
ICT Killzones and Pivots
BTC Keylevels
9h30 First FVG
Round Number
SMC Adaptive Breakout v1XSMC Adaptive Breakout v1X — Adaptive Smart Money Breakout Strategy
SMC Adaptive Breakout v1X is a Smart-Money–inspired breakout strategy that adapts to changing volatility and market structure in real time. It identifies recent pivot structure, verifies volatility expansion, uses ATR-scaled stops, and manages exits with fixed profit targets plus price-based trailing.
Why this strategy is unique / original
This strategy combines three concept layers into a single, cohesive system: (1) structure detection using adaptive pivots, (2) a normalized volatility filter (range percentile over a long lookback) to permit only expansion-phase breakouts, and (3) context-aware trade management using ATR-scaled stops and percentage-based profit/ trailing rules. The combination reduces false breakouts during low-volatility periods while preserving entries when institutional-style expansion occurs.
Core logic (high level)
1. Structure detection: recent pivot highs and lows (configurable lookback) form the active Support and Resistance reference levels used to define breakouts.
2. Volatility confirmation: raw bar range is normalized into a percentile within a long volatility lookback window; breakouts are only considered when normalized volatility exceeds the user filter threshold.
3. Order-block / gap detection: the script detects large price gaps relative to ATR(200) and flags them as bullish/bearish gaps (order-block style footprints) to add confluence to entries.
4. Entry criteria: a long entry is signalled when price closes above the most recent resistance and the volatility filter is satisfied (or a bullish gap condition is met). Shorts mirror this logic below support. Debug/force flags allow manual/backtest forcing of trades.
5. Risk & exits: stops are ATR-based (ATR length configurable, multiplier configurable) giving context-aware stop distances. Each entry sets a profit target as a percent of entry and attaches a trailing exit (points and offset defined as percent of price) to protect profits. Exits are placed with one strategy.exit per entry so they are executed by the strategy engine.
6. Non-premature confirmation: entries are determined using closed-bar conditions (no intrabar triggers), consistent with strategy backtesting expectations.
Key inputs (and what they control)
1. Levels Period (length) — pivot lookback used to compute support/resistance structure; larger values = larger, fewer zones.
2. Volatility Filter (filter 0–100) — normalized volatility threshold (percentile) required to allow breakout signals. Increase to reduce signals during quiet markets.
3. Volatility lookback (volatility_len) — window length used to normalize the raw range into a percentile.
4. ATR length (atr_len) & ATR Stop Multiplier (atr_multiplier) — ATR parameters used for stop distance; ATR gives volatility-adaptive stop sizing.
5. Profit target (%) — target as percent of entry price.
6. Trailing points (%) & offset (%) — trailing stop size and activation offset, expressed as percent of price (converted internally to price points).
7. Visual & debug toggles — show/hide levels, entry markers, and enable debug/force entry flags for manual/backtest validation.
Practical Usage & Recommended Settings
Timeframes – Works efficiently across multiple time horizons.
• 5–15 minutes → Scalping setups.
• 15 minutes–1 hour → Intraday opportunities.
• 4 hours–1 day → Swing trading confirmation.
Adjust length and Volatility Filter parameters to match your timeframe and instrument behavior.
Default Sensitivity –
The default length = 20 offers balanced structure detection.
• Lower values → faster, more frequent signals.
• Higher values → smoother structure and fewer breakouts.
Volatility Tuning –
Modify the Volatility Filter (0–100) according to market conditions.
• Increase the filter during low-volume or choppy sessions to reduce false signals.
• Decrease it during trending or high-volatility markets for greater responsiveness.
Stop / Target Sizing –
ATR-based stop-losses automatically adapt to market volatility.
• Recommended starting point: ATR Multiplier = 1.5 and Profit Target = 1.5%.
• Fine-tune both based on each asset’s typical volatility profile.
Backtesting –
Use TradingView’s built-in Strategy Tester to analyze results over different symbols and timeframes.
The strategy executes only on bar close, ensuring accurate, non-repainting backtest results.
What the strategy plots / visual cues
•Forward-extended pivot lines for support/resistance (configurable color/transparency).
•Order-block / gap markers when large ATR-scaled gaps are detected.
•Entry labels (“LONG” / “SHORT”) at position changes if enabled.
•Strategy entries/exits are placed through strategy.entry and strategy.exit so performance reports are available in the Tester.
Risk management & notes
•This script is a discretionary tool — it automates entries and exits for backtesting and strategy simulation, but users should still confirm trades with broader market context and higher-timeframe bias.
•Always run thorough backtests (multi-symbol, multi-timeframe) and forward test on a paper account before any live deployment.
•Adjust position sizing externally; the strategy code sets orders and exits but does not enforce a specific money-management sizing rule. Use the strategy tester’s default position size controls or integrate a sizing method in your own workflow.
Technical details & behavior
•Pine Script v6 strategy.
•Uses closed-bar confirmation for signals (no repainting on close).
•Order-block / gap detection uses ATR(200) as a volatility reference to identify large structural gaps.
•Trail calculations convert percent-based inputs to absolute price units each bar to maintain consistent behavior across price levels.
Limitations & disclaimers
•Past performance is not indicative of future results. This strategy does not guarantee profits and will produce losing trades.
•Results depend on parameter choices, instrument volatility, market regime, and execution slippage. Always test on the exact symbol and timeframe you intend to trade.
Invite-only / Access note (for Publish window)
This strategy is invite-only. Please use the TradingView Request Access button on this page to request access.
Dynamic FVG & Trap Zones📘 Dynamic FVG & Trap Zones (DFTZ)
A Hybrid Model Combining Imbalance Mapping, Volume Behavior, and Trap Detection
Concept Overview
“Dynamic FVG & Trap Zones” is built to visualize real-time Fair Value Gaps (FVGs) and identify liquidity trap events inside those gaps using adaptive volume filters and wick-based logic.
Traditional FVG indicators merely mark imbalance zones between consecutive candles, but this model goes further — it measures how volume reaction and price penetration inside those zones reveal potential f alse moves or trap formations by smart money.
⚙️ How It Works
1. FVG Detection
• A Bullish FVG is detected when low > high , showing a price void left by aggressive buying.
• A Bearish FVG forms when high < low , implying a selling imbalance.
• These zones are automatically drawn as semi-transparent boxes that extend forward for 10 bars and decay once they exceed the configurable lookback window.
2. Volume Normalization & Grading
• Every bar’s volume is compared against a dynamic SMA( volLookback ) average to calculate a Volume Grade = current vol / avg vol.
• Only bars exceeding the Min Volume Grade threshold are eligible to generate valid FVG zones, ensuring that low-participation moves are ignored.
• The Trap Volume Threshold sets how quiet the reaction bar must be (relative to average volume) to qualify as a trap event.
3. Trap Detection Logic
• Each active FVG zone monitors incoming candles.
• A potential trap is triggered when price re-enters the zone (body or wick depending on settings) but fails to expand with confirming volume.
• If the event occurs inside a Bullish FVG, it marks a Bear Trap (green zone turned red).
If it happens inside a Bearish FVG, it flags a Bull Trap (red zone turned green).
• This reversal in zone color visually conveys trapped liquidity and potential directional fade.
4. Exclusivity and Cooldown Control
• To avoid signal clustering, you can choose exclusivity modes:
Allow Both, Bear over Bull, or Bull over Bear.
• A built-in per-signal cooldown timer prevents back-to-back plots of the same type, enhancing signal clarity during rapid price action.
5. Adaptive Visualization
• Wick-based vs body-based trap detection (toggleable).
• Optional cooldown filtering on shapes ensures the chart only displays validated events.
• Old FVG boxes are pruned automatically beyond the chosen lookback horizon.
🧠 Why It’s Different
Unlike static FVG detectors or simple liquidity sweep tools, DFTZ blends:
• Volume context (Smart Volume Grade filtering)
• Behavioral trap detection within imbalance zones
• Dynamic cooldown mechanics that control over-signaling
• Forward-propagating zones that self-expire gracefully
This synergy makes it a compact yet powerful tool for visualizing imbalances + liquidity traps in one framework — ideal for discretionary traders combining SMC concepts with volume analytics.
📈 How to Use
• Primary Context: Use on 15 min to 1 h charts to spot active FVG zones forming after impulsive moves.
• Trap Signal Interpretation:
• 🔴 “Trap” below bar → Bullish reversal (Bear Trap).
• 🟢 “Trap” above bar → Bearish reversal (Bull Trap).
• Combine With: Market structure breaks, VWAP, or delta volume tools to confirm true reversal intent.
• Alerts: All major events (FVG creation & trap confirmation) trigger ready-to-use alerts for automation or back-testing.
🧩 Customization
Setting Function
Max FVG Lookback Controls how long old zones remain active.
Volume SMA Period Defines the baseline for volume grading.
Min Volume Grade & Trap Volume Threshold Tune the sensitivity of trap confirmation.
Wick-Based Trap Detection Enable to capture wick rejections inside zones.
Signal Cooldown Prevents rapid multiple plots on successive bars.
⚠️ Disclaimer
This tool is designed for educational and analytical purposes only. It does not constitute financial advice or guarantee trading performance. Always conduct your own analysis and risk management before entering a position.
Market Structure Trailing Stop MTF [Inspired by LuxAlgo]# Market Structure Trailing Stop MTF
**OPEN-SOURCE SCRIPT**
*208k+ views on original · Modified for MTF Support*
This indicator is a direct adaptation of the renowned **Market Structure Trailing Stop** by **LuxAlgo** (original script: [Market Structure Trailing Stop ]()). The core logic remains untouched, providing dynamic trailing stops based on market structure breaks (CHoCH/BOS). The **only modification** is the addition of **Multi-Timeframe (MTF) support**, allowing users to apply the trailing stops and structures from **higher timeframes (HTF)** directly on their current chart. This enhances usability for traders analyzing cross-timeframe confluence without switching charts.
**Special thanks to LuxAlgo** for releasing this powerful open-source tool under CC BY-NC-SA 4.0. Your contributions to the TradingView community have inspired countless traders—grateful for the solid foundation!
## 🔶 How the Script Works: A Deep Dive
At its heart, this indicator detects **market structure shifts** (bullish or bearish breaks of swing highs/lows) and uses them to generate **adaptive trailing stops**. These stops trail the price while protecting profits and acting as dynamic support/resistance levels. The MTF enhancement pulls this logic from user-specified higher timeframes, overlaying HTF structures and stops on the lower timeframe chart for seamless multi-timeframe analysis.
### Core Logic (Unchanged from LuxAlgo's Original)
1. **Pivot Detection**:
- Uses `ta.pivothigh()` and `ta.pivotlow()` with a user-defined lookback (`length`) to identify swing highs (PH) and lows (PL).
- Coordinates (price `y` and bar index/time `x`) are stored in persistent variables (`var`) for tracking recent pivots.
2. **Market Structure Detection**:
- **Bullish Structure (BOS/CHoCH)**: Triggers when `close > recent PH` (break above swing high).
- If `resetOn = 'CHoCH'`, resets only on major shifts (Change of Character); otherwise, on all breaks.
- Sets trend state `os = 1` (bullish) and highlights the break with a horizontal line (dashed for CHoCH, dotted for BOS).
- Initializes trailing stop at the local minimum (lowest low since the pivot) using a backward loop: `btm = math.min(low , btm)`.
- **Bearish Structure**: Triggers when `close < recent PL`, mirroring the bullish logic (`os = -1`, local maximum for stop).
- Structure state `ms` tracks the break type (1 for bull, -1 for bear, 0 neutral), resetting based on user settings.
3. **Trailing Stop Calculation**:
- Tracks **trailing max/min**:
- On new bull structure: Reset `max = close`.
- On new bear: Reset `min = close`.
- Otherwise: `max = math.max(close, max)` / `min = math.min(close, min)`.
- **Stop Adjustment** (the "trailing" magic):
- On fresh structure: `ts = btm` (bull) or `top` (bear).
- In ongoing trend: Increment/decrement by a percentage of the max/min change:
- Bull: `ts += (max - max ) * (incr / 100)`
- Bear: `ts += (min - min ) * (incr / 100)`
- This creates a **ratcheting effect**: Stops move favorably with the trend but never against it, converging toward price at a controlled rate.
- **Visuals**:
- Plots `ts` line colored by trend (teal for bull, red for bear).
- Fills area between `close` and `ts` (orange on retracements).
- Draws structure lines from pivot to break point.
4. **Edge Cases**:
- Variables like `ph_cross`/`pl_cross` prevent multiple triggers on the same pivot.
- Neutral state (`ms = 0`) preserves prior `max/min` until a new structure.
### MTF Enhancement (Our Addition)
- **request.security() Integration**:
- Wraps the entire core function `f()` in a security call for each timeframe (`tf1`, `tf2`).
- Returns HTF values (e.g., `ts1`, `os1`, structure times/prices) to the chart's context.
- Uses `lookahead=barmerge.lookahead_off` for accurate historical repainting-free data.
- Structures are drawn using `xloc.bar_time` to align HTF lines precisely on the LTF chart.
- **Multi-Output Handling**:
- Separate plots/fills/lines for each TF (e.g., `plot_ts1`, `plot_ts2`).
- Colors and toggles per TF to distinguish HTF1 (e.g., teal/red) from HTF2 (e.g., blue/maroon).
- **Benefits**: Spot HTF bias on LTF entries, e.g., enter longs only if both TF1 (1H) and TF2 (4H) show bullish `os=1`.
This keeps the script lightweight—**no repainting, max 500 lines**, and fully compatible with LuxAlgo's original behavior when TFs are set to the chart's timeframe.
## 🔶 SETTINGS
### Core Parameters
- **Pivot Lookback** (`length = 14`): Bars left/right for pivot detection. Higher = smoother structures, fewer signals; lower = more noise.
- **Increment Factor %** (`incr = 100`): Speed of stop convergence (0-∞). 100% = full ratchet (mirrors max/min exactly); <100% = slower trail, reduces whipsaws.
- **Reset Stop On** (`'CHoCH'`): `'CHoCH'` = Reset only on major reversals (dashed lines); `'All'` = Reset on every BOS/CHoCH (tighter stops).
### MTF Support
- **Timeframe 1** (`tf1 = ""`): HTF for first set (e.g., "1H"). Empty = current chart.
- **Timeframe 2** (`tf2 = ""`): Second HTF (e.g., "4H"). Enables dual confluence.
### Display Toggles
- **Show Structures** (`true`): Draws horizontal lines for breaks (per TF colors).
- **Show Trailing Stop TF1/TF2** (`true`): Plots the stop line.
- **Show Fill TF1/TF2** (`true`): Area fill between close and stop.
### Candle Coloring (Optional)
- **Color Candles** (`false`): Enables custom `plotcandle` for body/wick/border.
- **Candle Color Based On TF** (`"None"`): `"TF1"`, `"TF2"`, or none. Colors bull trend green, bear red.
- **Candle Colors**: Separate inputs for bull/bear body, wick, border (e.g., solid green body, transparent wick).
### Alerts
- **Enable MS Break Alerts** (`false`): Notifies on structure breaks (bull/bear per TF) **only on bar close** (`barstate.isconfirmed` + `alert.freq_once_per_bar_close`).
- **Enable Stop Hit Alerts** (`false`): Triggers on stop breaches (long/short per TF), using `ta.crossunder/crossover`.
### Colors
- **TF1 Colors**: Bullish (teal), Bearish (red), Retracement (orange).
- **TF2 Colors**: Bullish (blue), Bearish (maroon), Retracement (orange).
- **Area Transparency** (`80`): Fill opacity (0-100).
## 🔶 USAGE
Trailing stops shine in **trend-following strategies**:
- **Entries**: Use structure breaks as signals (e.g., long on bullish BOS from HTF1).
- **Exits**: Trail stops for profit-locking; alert on hits for automation.
- **Confluence**: Overlay HTF1 (e.g., 1H) for bias, HTF2 (e.g., Daily) for major levels—enter LTF only on alignment.
- **Risk Management**: Lower `incr` avoids early stops in chop; reset on `'All'` for aggressive trailing.
! (i.imgur.com)
*HTF1 shows bullish structure (teal line), trailing stop ratchets up—long entry confirmed on LTF pullback.*
! (i.imgur.com)
*TF1 (blue) bearish, TF2 (red) neutral—avoid shorts until alignment.*
! (i.imgur.com)
*Colored based on TF1 trend: Green bodies on bull `os=1`.*
Pro Tip: Test on demo—pair with LuxAlgo's other tools like Smart Money Concepts for full structure ecosystem.
## 🔶 DETAILS: Mathematical Breakdown
On bullish break:
- Local min: `btm = ta.lowest(n - ph_x)` (optimized loop equivalent).
- Stop init: `ts = btm`.
- Update: `Δmax = max - max `, `ts_new = ts + Δmax * (incr/100)`.
Bearish mirrors with `Δmin` (negative, so decrements `ts`).
In MTF: HTF `time` aligns lines via `line.new(htf_time, level, current_time, level, xloc.bar_time)`.
No logs/math libs needed—pure Pine v5 efficiency.
## Disclaimer
This is for educational purposes. Not financial advice. Backtest thoroughly. Original by LuxAlgo—modify at your risk. See TradingView's (www.tradingview.com). Licensed under CC BY-NC-SA 4.0 (attribution to LuxAlgo required).
Session Engine — Market Opens, Killzones & Levels — SMC/ICTSession Engine — Market Opens, Killzones & Institutional Levels (Tokyo • London • New York) — SMC/ICT — TradingATH (PueblaATH)
Precision. Sessions. Structure.
Session Engine maps the institutional heartbeat of the day across Tokyo , London , and New York . It draws timezone-accurate Market Open Lines , clean Killzones (incl. London–NY overlap), and a rock-solid, timeframe-safe suite of Previous High/Low Levels (PDH/PDL/PWH/PWL/PMH/PML). On top, a compact Session Comparison Table with an integrated ADR panel shows extension, momentum context, and distance to key levels — at a glance.
Designed for SMC/ICT Traders who demand clarity and reliability, this tool stays stable when you change timeframe, reload, or zoom.
Map the day like a Pro : timezone-true Opens, configurable Killzones, TF-safe PDH/PDL/PWH/PWL/PMH/PML , and a sleek ADR panel beneath a Session Comparison Table . Built for precision SMC/ICT Execution . Zero flicker, full control.
Why Traders Love It
Timezone-Accurate Session Engine — Tokyo, London, New York opens and the London–NY overlap, all resolved to bar-time for precise plotting on any symbol.
Killzones you can trust — choose full-column height or price-bounded height with custom top/bottom tick offsets and label placement.
Bulletproof Previous Levels — PDH, PDL, PWH, PWL, PMH, PML are cached and only refresh on true D/W/M boundaries, eliminating the classic “levels disappear on TF change” problem.
Actionable Context — a compact Session Comparison Table (vs previous session & vs previous day) plus an ADR panel with extension thresholds, distance to PDH/PDL, and current H-L range.
Serious Customization — dotted/solid lines, widths, label size & alignment, auto label backgrounds, block transparency, weekend & timeframe filters, and more.
Performance-Minded — persistent objects are updated in place (not spam-created) to keep your chart crisp and responsive.
What You’ll See
Market Opens — Vertical opens for TOK/LDN/NY with dotted/solid styling, width control, infinite or bounded height, and optional labels.
Killzones + Overlap — Transparent time boxes for session windows (and London–NY overlap). Optional labels, adjustable transparency, and height mode.
Institutional Levels — PDH / PDL / PWH / PWL / PMH / PML with length modes: Infinite, N bars, or End of day. Optional labels with typographic control.
Session Comparison Table — For each session: bias vs previous session and previous day, with optional Δ% column.
ADR Panel — 24h rolling ADR% consumption with two attention thresholds, distance to PDH/PDL (price units), and current H-L range.
How It Works
Session Timing uses explicit IANA timezones (Asia/Tokyo, Europe/London, America/New_York) then anchors to bar_time for pixel-perfect placement.
Killzones are persistent boxes that reset only on daily change, preventing redundant object creation.
Previous Levels are requested once per true period roll (D/W/M) and stored locally; this cache keeps lines stable when switching TFs or reloading charts.
Level Line Length is enforced per-object (Infinite, N bars, End of day) with dynamic x2 handling — no redraw flicker.
ADR uses a timeframe-agnostic 24h rolling window for H/L/range; ADR length is defined in “days” and mapped to bars for any timeframe.
How to Use
Set Session Times (defaults are standard). Adjust the London–NY overlap if your venue differs.
Style your Opens & Killzones — line width, dotted/solid, infinite or bounded height, label font size/align/background.
Choose Level Behavior — Infinite, N bars, or End of day for PD/ PW / PM lines; toggle labels as needed.
Read the Table and ADR — quick bias vs previous session/day, Δ% if you enable it; ADR panel highlights extension with blink thresholds and shows live distance to PDH/PDL.
Inputs
Schedules — Open times + killzone windows for TOK/LDN/NY, and London–NY overlap.
Style — Line width, dotted/solid, label sizes & alignment, auto backgrounds.
Heights — Infinite or tick-bounded line height; full-column or tick-bounded killzones.
Levels — Show/hide PDH/PDL/PWH/PWL/PMH/PML; length mode; label options.
Table & ADR — Font size, arrows, Δ% column, ADR length (days), blink thresholds, show/hide rows.
Filters — Hide visuals on specified timeframe ranges; optional weekend suppression.
Best Practices
Use “End of day” for tidy level lines that still convey right-hand context.
Set ADR thresholds to your instrument’s personality (e.g., 80/120 for FX, 100/150 for crypto).
On exotic trading sessions, verify the IANA timezone alignment and tweak inputs accordingly.
If you stack many tools, consider disabling unused sessions/rows to stay within object limits.
What Makes It Original
A cohesive Session Engine architecture that unifies timezone-true Opens, configurable Killzones/Overlap, and TF-safe previous levels — tailored for SMC/ICT execution.
Robust caching that eliminates TF-switch flicker and preserves dependent calculations (distance to PDH/PDL, ADR%) without gaps.
A unified ADR panel directly under the session table with real-time extension signaling and distance-to-PDH/PDL — pragmatic, trade-ready context you won’t find in generic session scripts.
Deep length & typography controls so visuals are informative and elegant.
Notes & Disclaimer (Originality & Rights)
Original Work Notice — Please read — This script/indicator is an original work created exclusively by TradingATH ( PueblaATH ). It is not derived from, copied from, or authored by any other person or entity. Any resemblance to other scripts is coincidental and limited to the use of public and widely known trading concepts.
Usage & Publication — Redistribution, cloning, or republishing this script (in whole or in part) without the explicit written permission of TradingATH ( PueblaATH ) is prohibited. By using this tool, you acknowledge the author’s exclusive authorship and associated rights.
No Financial Advice — This tool is for educational/informational purposes only and does not constitute financial advice. Markets carry risk; manage your risk and make your own decisions.
Order Blocks & Market Structure (SMC)# Order Blocks & Market Structure (SMC)
## 📊 Overview
A Smart Money Concepts indicator that identifies institutional order blocks (OB), market structure breaks (MSB), and breaker blocks (BB) with volume-based strength analysis. Designed for traders seeking to identify institutional accumulation/distribution zones and market structure shifts.
## 🎯 Originality Statement
This indicator combines multiple analytical approaches into a unified system:
- **Multi-level OB strength classification** using volume spike detection and body ratio analysis (OB/OB+/OB++)
- **Automatic lifecycle tracking** that converts invalidated Order Blocks to Breaker Blocks with polarity reversal
- **Volume context integration** showing buyer/seller dominance percentage at block formation
- **Dynamic zone extension** that updates OB boundaries until price interaction or invalidation
- **Delayed touch alerts** (5-bar minimum) to filter premature retest signals
Unlike simple order block scripts that only mark zones, this tool provides strength assessment, volume analysis, and intelligent state management throughout the block lifecycle.
## ⚙️ Technical Methodology
**Market Structure Detection:**
Uses pivot-based swing point analysis to identify trend changes. When price closes above a pivot high (bullish MSB) or below a pivot low (bearish MSB), the structure is marked with horizontal reference lines.
**Order Block Identification:**
Searches the specified lookback period for the lowest low (bullish MSB) or highest high (bearish MSB). When a strong directional candle is found (opposite color to trend direction), its range becomes an OB zone.
**Strength Analysis:**
- Compares candle volume against 20-period SMA with configurable multiplier (1.2-3.0x)
- Calculates body-to-range ratio to assess candle strength (0.4-0.8 threshold)
- Assigns strength levels: Standard (no conditions), Strong (one condition), Premium (both conditions)
**Breaker Block Conversion:**
When price closes completely through an OB zone (bullish OB broken downward or bearish OB broken upward), the zone automatically converts to BB with reversed polarity and color.
## 📋 Features
**Market Structure (MSB):**
- Detects bullish and bearish structure breaks
- Configurable swing length (5-50 bars)
- Visual markers with horizontal lines
**Order Blocks (OB):**
- Three strength tiers: OB (standard), OB+ (strong), OB++ (premium)
- Volume percentage display (buyer vs seller dominance)
- Dynamic zone extension until invalidation
**Breaker Blocks (BB):**
- Automatic conversion from failed OBs
- Polarity tracking (bullish ↔ bearish)
- Fixed zones after conversion
## 🔧 Settings Documentation
**Market Structure Group:**
*Show Market Structure* - Enable/disable MSB detection and line drawing
- Default: ON
- When OFF: No structure lines or labels appear
*MSB Labels* - Display text labels at structure break points
- Default: ON
- Labels show "MSB" at the break candle
*Swing Length* - Lookback period for pivot point detection
- Range: 5-50 bars
- Default: 10
- Higher values = longer-term structure, fewer signals
- Lower values = short-term structure, more signals
*Bull Color* - Color for bullish elements (MSB, bullish OB, bullish BB)
- Default: #089981 (green)
*Bear Color* - Color for bearish elements (MSB, bearish OB, bearish BB)
- Default: #f23645 (red)
**Order Block Group:**
*Order Blocks* - Enable/disable OB detection and zone drawing
- Default: ON
- When OFF: No boxes appear (MSB lines still show if enabled)
*OB Strength* - Enable multi-level strength classification
- Default: ON
- When ON: Labels show OB/OB+/OB++ based on analysis
- When OFF: All zones labeled simply as "OB"
*Volume %* - Display buyer/seller volume percentage
- Default: ON
- Shows "X% Buy" or "X% Sell" inside zones
- Calculated over 10 bars from zone formation
*OB Lookback* - How many bars to search for OB candle
- Range: 5-30 bars
- Default: 10
- Searches for lowest low (bullish) or highest high (bearish) within this range
*Vol Threshold* - Minimum volume multiplier for strength upgrade
- Range: 1.2-3.0x
- Default: 1.5x
- Volume must exceed (20-period SMA × threshold) for OB+ or OB++
*Body Ratio* - Minimum body-to-range ratio for strength upgrade
- Range: 0.4-0.8
- Default: 0.6
- Candle body must be at least this proportion of total range for OB+ or OB++
## 📖 How to Use
**For Trend Following:**
1. Wait for MSB in your desired direction
2. OB forms in the breakout area (the institutional entry zone)
3. Price may immediately continue or pull back to retest OB
4. Enter on OB retest with "OB Touch" alert (after 5+ bars from creation)
5. Higher strength OB (OB+, OB++) indicates stronger institutional activity
**For Reversal Trading:**
1. Identify Breaker Blocks (former OBs that failed)
2. BB represents potential reversal zone with opposite polarity
3. Wait for MSB in BB direction for confirmation
4. Enter on pullback to BB zone
**Volume Analysis:**
- 70%+ Buy/Sell dominance = strong institutional bias
- 60-70% = moderate bias
- 50-60% = weak bias, use caution
**Optimal Conditions:**
- Works best on trending markets (4H, Daily, Weekly timeframes)
- Less effective in tight ranges or low-volume periods
- Major pairs/assets with good liquidity recommended
## 🔔 Alert Conditions (8 Types)
The indicator provides the following alerts:
1. **Bullish MSB** - Upward market structure break detected
2. **Bearish MSB** - Downward market structure break detected
3. **Bullish OB Created** - New bullish order block formed
4. **Bearish OB Created** - New bearish order block formed
5. **Bullish BB Created** - Bearish OB converted to bullish BB
6. **Bearish BB Created** - Bullish OB converted to bearish BB
7. **Bullish OB Touch** - Price revisited bullish OB (minimum 5 bars after creation)
8. **Bearish OB Touch** - Price revisited bearish OB (minimum 5 bars after creation)
Touch alerts include a 5-bar delay to avoid alerting on immediate continuation moves.
## ⚠️ Limitations & Risk Disclosure
**Known Limitations:**
- MSB signals can produce whipsaws in ranging or choppy markets
- Not all OB touches result in successful trades
- OB zones may be tested multiple times before activation
- Volume data may be unavailable or unreliable on some instruments/exchanges
- Strength analysis requires sufficient volume history
- Historical repainting: OB zones extend dynamically as price interacts with them
**Risk Considerations:**
This indicator is designed for educational and analytical purposes. It identifies potential institutional zones but does not predict price movement. Past identification of zones does not guarantee future trading success. OB and BB zones represent areas of interest, not guaranteed support/resistance. Always use proper risk management, combine with other analysis methods, and never risk more than you can afford to lose.
## 🎨 Visual Guide
**Colors & Symbols:**
- 🟢 Green boxes = Bullish Order Blocks / Bullish Breaker Blocks
- 🔴 Red boxes = Bearish Order Blocks / Bearish Breaker Blocks
- Horizontal lines = Market Structure Break levels
- "MSB" labels = Structure break points (above/below line)
- "OB" / "OB+" / "OB++" labels = Order Block strength (right side of box)
- "BB" labels = Breaker Block (converted from OB)
- "X% Buy/Sell" labels = Volume analysis (center of box)
**Box Behavior:**
- OB zones extend to the right as long as price interacts with them (not broken)
- When OB is invalidated, it stops extending and converts to BB
- BB zones remain fixed at their invalidation point
## 💡 Best Practices
- Focus on OB+ and OB++ zones for higher probability setups
- Confirm OB touches with price action (rejection wicks, engulfing patterns)
- Use multiple timeframe analysis (Daily OB + 4H entry)
- Avoid trading in the first 1-2 bars after OB creation (wait for touch alert)
- Consider volume % - avoid zones with <60% dominance
- Combine with other confluence factors (Fibonacci, support/resistance)
- Set realistic stop losses beyond the OB/BB zone
---
**Version:** 1.0
**Pine Script:** Version 6
**Category:** Smart Money Concepts, Order Flow, Market Structure
For questions or suggestions, use the TradingView comments section below.
Custom Horizontal Lines | Trade Symmetry📊 Custom Horizontal Lines
🔍 Overview
The Custom Horizontal Lines is a precision utility designed for traders who perform manual higher-timeframe analysis and want to preserve their marked price levels directly on the chart.
It doesn’t calculate or detect anything automatically — instead, it acts as your personal level memory, preserving your analyzed zones and reference prices throughout the session.
Ideal for traders who manually mark the High, Low, Open, Close, Mean Thresholds, and Quarter Levels of Order Blocks, Fair Value Gaps, Inversion Fair Value Gaps and Wicks before the trading day begins.
⚙️ Key Features
✅ Manual Level Entry — Input your analyzed price levels (OB, FVG, WICK,etc) directly into the indicator settings.
✅ Preserved Levels — Once entered, your lines stay visible and consistent — even after switching symbols, timeframes, or reloading the chart.
✅ Supports All Level Types — Store any kind of manually defined level: OB highs/lows, FVG boundaries, Wicks, Mean Thresholds, Quarter levels, or custom reference prices.
✅ Clean Visualization — Customize line color, style, and labels for easy visual organization.
✅ Session-Ready Workflow — Built for pre-market preparation — enter your HTF levels once, and trade around them all day.
✅ No Auto Calculations — 100% manual by design — ensuring only your analyzed levels are shown, exactly as you defined them.
💡 How to Use
Open the indicator’s settings and manually enter those price values.
The indicator will plot and preserve those exact levels on your chart.
Switch to your lower timeframe and observe how price reacts around them — without ever needing to redraw.
🎯 Why It’s Useful
Keeps your HTF levels organized and persistent across sessions.
Saves time by avoiding redrawing.
Fits perfectly into ICT / Smart Money trading workflows.
Ensures full manual control and precision over what’s displayed on your chart.
🧩 Ideal For
ICT and Smart Money traders
Institutional-style manual analysts
Traders marking Mean Thresholds, or Quarter Levels of OBs, FVGs, Wicks etc
Anyone who wants a clean, reliable way to preserve their manual analysis
Lord Mathew ATSThe Smart Money Structure & Pattern Analyzer is a complete, all-in-one visual trading system that brings together every essential element of Smart Money Concepts (SMC), ICT methodology, and candlestick psychology into one powerful indicator.
It is designed to help traders instantly understand the market’s structure, liquidity flow, and potential turning points without switching tools or manually marking charts. Whether you trade forex, indices, crypto, or commodities, this indicator automatically identifies where institutional activity, imbalances, and price inefficiencies occur in real time.
With its advanced algorithm, it plots market structure shifts, equal highs and lows, liquidity zones, order blocks, fair value gaps (FVGs), and previous week and day levels (PWO, PWH, PWL, PWC, PDO, PDH, PDL, PDO). It also integrates a deep candlestick recognition engine that detects over ten classic and advanced candle formations including engulfing patterns, dojis, hammers, shooting stars, morning/evening stars, and spinning tops to provide precise confirmation at critical points of interest.
This indicator isn’t just a tool it’s a complete market map that helps traders visualize how institutional order flow and candlestick sentiment interact.
Core Features
📊 Market Structure Detection:
Automatically marks swing highs/lows, Break of Structure (BOS), and Change of Character (CHOCH) in real time.
💧 Liquidity Mapping:
Highlights equal highs/lows and liquidity grabs, showing where price is likely to target before a reversal or continuation.
🧱 Order Block Visualization:
Displays the last bullish or bearish candle before an impulsive displacement, acting as a potential institutional entry zone.
⚡ Fair Value Gap (FVG) Scanner:
Detects and highlights imbalances where price moved too fast, helping you identify high-probability retracement areas.
🕯️ Candlestick Pattern Recognition:
Recognizes key reversal and continuation patterns (engulfing, hammer, shooting star, doji, morning/evening star, etc.) in real time.
📅 Institutional Reference Points:
Plots previous week & day open (PWO, PDO), previous week & day high (PWH, PWH), previous week & day low (PWL, PDL), previous week & day close (PWC, PDC) and optionally previous day levels to help frame bias.
🎨 Customizable Design:
Toggle any feature, change colors, and set alerts when multiple Smart Money signals align for cleaner, faster decision-making.
How It Works
Add the indicator to your chart on any timeframe or market.
The algorithm automatically detects structure, liquidity, and imbalance zones.
Candlestick patterns are highlighted when they form near high-probability areas (like OBs or FVGs).
When confluence occurs such as a liquidity grab, FVG fill, and bullish engulfing candle—the indicator provides a visual signal zone for your confirmation-based entries.
You can refine your trades using higher-timeframe bias (HTF order flow) and lower-timeframe execution (LTF confirmation).
Best For
Traders using ICT, Smart Money Concepts, or price-action systems.
Intraday and swing traders looking for clear, data-driven chart structure.
Traders who want to simplify confluence analysis and focus on precision execution.
Why It Stands Out
Unlike standard candlestick or pattern scanners, this indicator merges institutional market logic with technical candle behavior, allowing traders to see where smart money might be entering or exiting positions.
It’s not about random signals it’s about context, structure, and confirmation.
Every feature in this indicator is built around the principle of liquidity engineering:
price creates liquidity, grabs it, and moves toward imbalance or order flow efficiency.
By merging that institutional logic with candlestick patterns, this tool gives traders an edge in recognizing not only where to trade but why price is reacting in that exact area.
Disclaimer
This indicator is intended for educational and analytical use. It does not provide financial advice or guaranteed trading results. Always backtest and manage your risk responsibly.
SMC INDICATORMoney Concepts (SMC) toolkit and issues buy / sell signals. It includes:
Structure (market structure shifts via pivots)
Order Blocks (last bearish/bullish candle before a structure shift)
Fair Value Gaps (3-bar gap detection)
Simple liquidity sweep detection
Buy / Sell signal generation & alert conditions
Rectangle drawings and on-chart arrows
This is a practical, best-effort SMC indicator suitable for 15m/30m/1H/etc. — feel free to tweak lookbacks and filters in inputs.
Premium/Discount Zones with Confirmation Signals📌 Indicator Description: Premium/Discount Zones with Confirmed Signals
This indicator identifies dynamic Premium, Discount, and Equilibrium zones based on recent swing highs and lows, helping traders visualize where price is considered expensive, cheap, or fair value. It’s designed for Smart Money Concepts (SMC), ICT-style trading, and anyone who values precision in zone-based analysis.
🔍 Key Features
Swing-Based Zones: Automatically detects swing highs/lows over a customizable lookback period (default: 48 bars — equivalent to 2 days on a 1-hour chart).
Premium & Discount Levels: Define overbought and oversold zones using percentage inputs (default: 25%).
Equilibrium Band (middle): Highlights the no-trade value zone with adjustable width (default: 5%).
Signal Engine: Generates trade signals based on two styles:
Bounce: Reversal signals when price reacts to a zone and confirms direction.
Breakout: Continuation signals when price breaks through a zone with momentum.
Trade Type Selector: Choose between Bounce, Breakout, or Both from the input menu.
Signal Filtering: Limits signals to one per direction at a time to reduce noise.
Visual Styling: Toggle between colored or monochrome themes for clean charting.
🧠 How It Works
Buy signals appear when price confirms strength from the discount zone or breaks above the premium zone.
Sell signals appear when price confirms weakness from the premium zone or breaks below the discount zone.
All signals include a built-in 3-bar confirmation delay to reduce false triggers.
🎯 Ideal For
Traders using SMC, ICT, or price action strategies
Zone-based scalping, swing trading, or intraday setups
Visualizing market structure and value areas with clarity
I hope you find this useful — and wish you Happy Trades!
Multi-Timeframe Fibonacci + Open Levels🟣 Multi-Timeframe Fibonacci Levels + Open Levels | Trade Symmetry
This indicator automatically plots Fibonacci levels derived from higher timeframe candle ranges — all at once, directly on your current chart.
It helps you quickly visualize confluence zones and reaction levels where institutional traders are likely to participate.
⚙️ Features
✅ Multi-timeframe Fibonacci Levels — Daily, Weekly, Monthly, Quarterly & Yearly
✅ Automatic Bullish/Bearish detection based on previous candle
✅ Dynamic overlap detection (combines overlapping Fib levels into a single clean label)
✅ Configurable Fibonacci levels, colors, and styles
✅ Optional Open-Price Levels (Daily, Weekly, Monthly)
✅ Clean memory management to keep your chart lightweight
🧠 How to Use
• Add it to any timeframe — it will automatically overlay higher timeframe Fibs.
• Use overlapping or aligned Fib zones as confluence areas.
• Combine with structure or liquidity indicators for high-probability setups.
💡 Inspired by
The concept of higher-timeframe Fibonacci confluences used in Smart Money Concepts (SMC) and ICT-style analysis.
Brahmastra with SMC by PoojaSummary
This indicator provides a structured trend-and-momentum workflow that issues Partial and Confirmed trade signals using a combination of trend filters, momentum confirmation, and structure breaks.
It helps traders identify higher-probability trade locations through multi-timeframe confirmation and automatic alert payloads — while keeping the underlying signal logic private (invite-only).
Core Components (high level overview — no source code revealed)
• Trend Filters: EMA (configurable length), VWAP, and Supertrend are used to define overall trend direction and to gate signals.
• Momentum: RSI (configurable length and upper/lower thresholds) helps confirm momentum and optional divergence blocking.
• Market Structure: BOS / CHoCH (Break of Structure / Change of Character) logic with MTF pivots to detect structure-based opportunities.
• Signal Types: Partial signals appear early as potential setups; Confirmed signals meet stricter multi-factor conditions (EMA/VWAP/Supertrend + RSI + optional MTF).
• Repaint Safety: Non-repaint mode available (triggers only after candle close).
• Alerts: Built-in alert messages with optional JSON webhook format.
• Customization: Flexible inputs for sessions, pivots, labels, colors, lookbacks, and MTF parameters to adapt across multiple timeframes.
How to Interpret Signals
• Treat Partial signals as setups to monitor — not instant entries. Wait for confirmation or confluence from price behavior.
• Treat Confirmed signals as higher-probability opportunities that satisfy trend and momentum alignment.
• Enable MTF confirmation selectively on smaller timeframes (e.g., 5m using 15m/1H confirmation).
• Use Non-repaint mode (trigger only after candle close) for safe alert generation.
Limitations & Risk Notice
This indicator does not guarantee profits or accuracy. It is a technical and educational tool meant to assist analysis.
All trading decisions, entries, and exits are the sole responsibility of the user. Always perform backtesting and paper trading before live use.
This is not financial advice.
Version Note & Support
This is a closed invite-only script. The indicator includes configuration options for labels, alerts, and MTF pivots.
For approved users seeking modifications or usage details, please contact the author (see Author’s Instructions section).
AEON | Liquidity HunterA visual tool for identifying high-probability liquidity zones across multiple timeframes and sessions.
Overview
Liquidity Hunter is a multi-timeframe, all market tool designed to help traders visualise areas where price may be drawn in search of resting liquidity. These liquidity zones often align with swing highs and lows, session extremes, or significant higher-time-frame reference points.
Rather than producing entry or exit signals, this indicator aims to support market behaviour analysis and contextual awareness.
Core Functions
The indicator identifies potential liquidity areas using four optional methods:
1. Current Time Frame Analysis – Automatically locates swing highs and lows based on a customisable setting for sensitivity and lookback depth.
2. Higher Time Frame Analysis – Uses the same logic as above, but projects liquidity zones from a selected higher time frame (HTF).
3. Session Highs & Lows – Highlights the Asian, London, New York, or user-defined session extremes where liquidity commonly pools.
4. Time-Based Highs & Lows – Marks the final bar of any higher time frame (for example, the last H4 or D1 candle) to show potential liquidity reference points.
Each method can be enabled or disabled independently and visually customised, allowing traders to tailor the display to their preferred style and time frame.
How to Use
When applied, the indicator plots horizontal levels representing potential liquidity pools. These levels persist until price engages with or mitigates them, at which point users can opt to modify their visual style or delete them as preferred.
Adjusting the sensitivity of the current and higher time frame levels may reflect the market's likelihood of treating them as targets or reversal points.
Many traders combine these levels with concepts such as market structure shifts, displacement, or fair-value gaps to build a narrative around price behaviour.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a trade signal. Past performance or visual confluence does not guarantee future results.
---
About the Author
Created by a passionate developer focused on algorithmic and quantitative concepts.
Supply and Demand Scanner Toolkit [TradingFinder]🔵 Introduction
The analytical system presented here is built upon a deep quantitative foundation designed to capture the dynamic behavior of supply and demand in live markets. At its core, it calculates continuously adaptive zones where institutional liquidity, volatility shifts, and momentum transitions converge. These zones are derived from a combination of a regression-based moving average, a long-period ATR, and Fibonacci expansion ratios, all working together to model real-time volatility, price momentum, and the underlying market imbalance.
In practice, this means that at any given moment, five primary bands and seven variable analytical zones are generated around price, representing different market states ranging from extreme overbought to extreme oversold.
Each band reacts dynamically to price volatility, recalibrating with every new candle, which allows the system to mirror the true, constantly changing structure of supply and demand. Every movement between these zones reflects a transition in the strength and dominance of buyers and sellers, a process referred to as volatility-driven price state transitions.
Traditional analytical models often rely on fixed or static indicators that cannot keep up with the rapid microstructural changes in modern markets. This system instead uses regression and smoothing logic to adapt on the fly. By combining a regression moving average with a smoothed moving average, the model calculates real-time trend direction, momentum flow, and trend strength.
When the regression average rises above the smoothed one, the system classifies the trend as bullish; when it falls below, bearish. This dual-layer structure not only helps confirm direction but also enables the automatic detection of critical structural shifts such as Break of Structure (BoS), Change of Character (CHoCH), and directional reversals.
Both the current trend (Live Trend) and projected future trend (Vision Trend) are calculated simultaneously across all available timeframes. This dual analysis allows traders to identify structural changes earlier and to recognize whether a trend is gaining or losing momentum.
In most conventional moving-average-based frameworks, trading signals are delayed because these models react to price rather than anticipate it. As a result, many buy or sell signals appear after the real move has already begun, leading to entries that contradict the current trend. This system eliminates that lag by employing a mean reversion trading model. Instead of waiting for crossovers, it observes how far price deviates from its statistical mean and reacts when that deviation begins to shrink, the moment when equilibrium forces reemerge.
This approach produces non-lagging, data-driven signals that appear at the exact moment price begins to revert toward balance. At the same time, traders can visually assess the market’s condition by observing the spacing, compression, or expansion of the dynamic bands, which represent volatility shifts and trend energy. Through this interaction, the trader can quickly gauge whether a trend is strengthening, losing power, or preparing for a reversal. In other words, the model provides both quantitative precision and intuitive visualization.
A unique visual element in this system is how candles are displayed during transitional states. When Live Trend and Vision Trend contradict each other, for instance, when the current trend is bullish but the projected trend turns bearish, candle bodies automatically appear as hollow.
These hollow candles act as visual alerts for zones of uncertainty or equilibrium between buyers and sellers, often preceding trend reversals, liquidity sweeps, or volatility compression phases. Traders quickly learn to interpret hollow candles as signals to pause, observe, or prepare for potential shifts rather than to act impulsively.
Signal generation in this model occurs when price reverts from extreme zones back toward neutrality. When price exits the strong overbought or strong oversold zones and reenters a milder area, the system produces a reversal signal that aligns with real-time market dynamics. To refine accuracy, these signals are confirmed through several filters, including momentum verification, volatility behavior, and smart money validation. This multi-layered signal logic significantly reduces false entries, helping traders avoid overreactions to temporary liquidity spikes and enhancing performance in volatility-driven markets.
On a broader level, the model supports full multi-timeframe analysis. It can analyze up to twenty symbols simultaneously, across multiple timeframes, to detect directional bias, correlation, and confluence. The result is a holistic map of market structure in real time, showing how each asset aligns or diverges from others and how lower timeframes fit into the macro trend. Variables such as Live Trend, Vision Trend, Directional Strength, and Zone Positioning combine to give a complete structural snapshot at any given moment.
Risk management is handled by an adaptive Trailing Stop Engine that continuously aligns with current volatility and price flow. It integrates pivot mapping with ATR-based calculations to dynamically adjust stop-loss levels as price evolves. The engine offers four adaptive modes, Grip, Flow, Drift, and Glide, each tailored to different levels of market volatility and trader risk tolerance. In visualization, the profit area between entry and stop-loss is shaded light green for long positions and light red for short positions. This design allows immediate recognition of active risk exposure and profit lock-in zones, all in real time.
Altogether, the combination of ATR Volatility Mapping, Fibonacci Band Calibration, Regression-Based Trend Engine, Dynamic Supply and Demand Equilibrium, Conflict Detection through Hollow Candles, Mean Reversion Signal Model, and Adaptive Trailing Stop forms a unified analytical system. It maps the market’s structure, identifies current and future trends, measures the real-time balance of buyers and sellers, and highlights optimal entry and exit points. The final result is higher analytical precision, improved risk control, and a clearer view of the true, data-defined market structure.
🔵 How to Use
Analyzing supply and demand in live financial markets is one of the most complex challenges traders face. Price rarely moves in a straight line; instead, it evolves through phases of expansion, compression, and redistribution. Many traders misinterpret these movements because the zones that appear strong or reactive at first glance often represent nothing more than temporary liquidity redistributions.
These areas, while visually convincing, may lose relevance quickly when volatility increases or when viewed from another timeframe. In high-volatility environments, traditional zone analysis becomes even more unreliable. Price may seem to respect a support or resistance level only to break through it a few candles later. This behavior creates false zones and misleading reversal points.
The key to filtering such movements lies in understanding the context, how volatility, momentum, and structural flow interact across different timeframes. A single timeframe can only tell part of the story. The market’s true structure emerges only when data is synchronized from macro to micro levels.
This is where multi-timeframe correlation becomes essential. Every timeframe offers a different lens through which supply and demand balance can be observed. For example, a trader might see a bullish setup on a 15-minute chart while the 4-hour chart is still showing a strong distribution phase. Without alignment between these layers, trades are easily positioned against the dominant liquidity flow. The model presented here solves this by processing all relevant timeframes simultaneously, allowing traders to see how short-term movements fit within higher-level structures.
Each market phase, whether accumulation, expansion, or reversion, carries a unique volatility fingerprint. The system tracks transitions in volatility regimes, momentum divergence, and structural breakouts to anticipate when a phase change is approaching. For instance, when volatility compresses and ATR readings narrow, it often signals an upcoming breakout or reversal. By monitoring these shifts in real time, the model helps the trader differentiate between liquidity grabs (temporary volatility spikes) and genuine structural changes.
Every supply-demand interaction within this system is adaptive rather than static. The zones continuously recalibrate based on live parameters such as price velocity, momentum distribution, and liquidity displacement. This adaptive structure ensures that the balance between buyers and sellers is represented accurately as market conditions evolve.
In practice, this allows the user to identify early signs of trend exhaustion, potential reversals, and continuation patterns long before traditional indicators would react.
In essence, successful supply and demand analysis requires moving beyond subjective interpretation toward data-driven decision-making.
Manual drawing of zones or relying solely on visual intuition can lead to inconsistent results, especially in fast-changing markets. By combining ATR-driven volatility mapping, mean reversion dynamics, and multi-timeframe alignment, this framework offers a clear, objective, and responsive model of how market forces actually operate. Each decision becomes grounded in measurable context, not assumptions.
The analytical interface is divided into two main sections : the visual chart framework and the scanner data table.
On the chart, five dynamic bands and seven analytical zones appear around price. These are calculated from ATR, regression moving average, and Fibonacci expansion ratios to define whether the market is overbought, oversold, or neutral. Each zone has distinct color coding, allowing traders to recognize the market state instantly without switching tools or indicators.
Price movement within these bands reveals more than just direction, it tells a story of volatility, liquidity flow, and market equilibrium. The upper zones typically indicate exhaustion of buying pressure, while lower zones highlight areas of overselling or potential recovery. The way price reacts near these boundaries can help determine whether a continuation or reversal is likely.
At the heart of the visualization are two layered trend components : Live Trend and Vision Trend.
The Live Trend shows the present market direction based on regression and smoothing logic, while the Vision Trend projects the probable future trajectory by analyzing slope deviation and momentum displacement. When these two align, the trader sees confirmation of market strength. When they diverge, candle bodies turn hollow, a simple yet powerful visual alert signaling hesitation, consolidation, or a possible turning point.
At the bottom of the interface, the Scanner Table organizes all analytical data into a structured display. Each row corresponds to a symbol and timeframe, showing the current Live Trend, Vision Trend, Directional Strength, Zone Position, and Signal Age. This table provides a real-time overview of all assets being tracked, showing which ones are trending, which are in reversal, and which are entering transition zones. By analyzing this table, traders can instantly identify correlation clusters, where multiple assets share the same trend direction, often a sign of broader market sentiment shifts.
The Scanner can simultaneously process multiple timeframes and up to twenty different assets, producing a panoramic market overview. This makes it easy to apply a top-down analytical workflow, starting with higher timeframe alignment, then drilling down into lower levels for execution. Instead of reacting to isolated signals, traders can see where confluence exists across structures and focus only on setups that align with overall market context.
The bands and their color coding make interpretation intuitive even for less experienced users. Darker shades correspond to extreme zones, typically where institutional orders are being absorbed or distributed, while lighter zones mark mild overbought or oversold conditions. When price transitions from an outer extreme zone into a milder region, a signal condition becomes active. At this point, traders can cross-check the event using momentum and volatility filters before acting.
The trailing stop section of the display adds another critical dimension to decision-making. It visualizes stop levels as continuously updating colored lines that follow price movement. These levels are calculated dynamically through pivot mapping and ATR-based sensitivity. The shaded area between the entry point and active stop loss (light green for buys, light red for sells) gives traders immediate insight into how much of the move is currently secured as profit and how much remains exposed. This simple visual cue transforms risk management from a static calculation into a living, responsive process.
All components of this analytical system are fully customizable. Users can adjust signal type, calculation periods, smoothing intensity, and band sensitivity to match their trading style. For example, a scalper might shorten ATR and MA periods to capture rapid fluctuations, while a swing trader might increase them for smoother and more stable readings. Because every element responds to live data, even small adjustments lead to meaningful changes in how the system behaves.
When combined with the scanner’s data table, these features enable a top-down analytical workflow, one where decisions are not made from isolated indicators but from a complete, multi-dimensional understanding of market structure. The result is a system that supports both reactive precision and proactive market awareness.
🟣 Long Signal
A long signal is generated when price begins to rebound from deeply oversold conditions. More precisely, when price enters the strong or extreme oversold zones and then returns into the mild oversold region, the system identifies the start of a mean reversion phase. This transition is not based on subjective interpretation but on mathematical deviation from equilibrium, meaning that selling pressure has been exhausted and liquidity begins to shift toward buyers.
Unlike delayed signals that depend on moving average crossovers or oscillators, this signal appears the moment price starts moving back toward balance. The model’s mean reversion logic detects when volatility contraction and momentum realignment coincide, producing a non-lagging entry condition.
In this situation, traders can visually confirm the setup by observing the spacing and curvature of the lower bands. When the lower volatility bands begin to flatten or curve upward while ATR readings stabilize, it indicates that the market is transitioning from distribution to accumulation.
The strength and quality of each long signal depend on the configuration of trend variables. When both Live Trend and Vision Trend are bullish, the probability of continuation is significantly higher. This alignment suggests that the market’s short-term momentum is supported by long-term structure. On the other hand, when the two trends contradict each other, which the chart highlights with hollow candles, it represents a temporary phase of indecision or conflicting forces.
In these moments, traders are encouraged to monitor volatility compression and observe whether the next few candles confirm a real breakout or revert back to range conditions.
Additional confirmation can be derived from observing the slope of the regression moving average and the magnitude of ATR fluctuations. A steeper upward slope combined with decreasing volatility indicates stronger bullish intent. In contrast, if ATR expands while price remains flat, it signals potential traps or fakeouts driven by short-term liquidity grabs.
Valid long signals often emerge near the end of volatility compression periods or immediately after liquidity sweeps around major lows. These are points where large players typically absorb remaining sell orders before initiating upward movement. Once the long condition triggers, the system automatically calculates the initial stop loss using a combination of recent pivots and ATR range. From that point, the Trailing Stop Engine dynamically adjusts as price rises, maintaining optimal distance from the entry point and locking in profits without restricting trade potential.
For educational context, consider a situation where the market has been trending downward for several sessions, and the ATR value begins to decline, showing that volatility is compressing. As price touches the lower extreme zone and reverses into the mild oversold region while Live Trend starts turning positive, this creates an ideal long condition. A new cycle of expansion often begins right after such compression, and the system captures that early shift automatically.
🟣 Short Signal
A short signal represents the opposite scenario, a point where buying momentum weakens after a strong rally, and price begins to revert downward toward equilibrium. When price exits the strong or extreme overbought zones and moves into the mild overbought region, the model detects the start of a bearish mean reversion phase.
Here too, the signal appears without delay, as it is based on the real-time relationship between price and its volatility boundaries rather than on indicator crossovers.
The system identifies these short conditions when upward momentum shows visible fatigue in the volatility bands. The upper bands start to flatten or turn downward while the regression slope begins to lose angle. This is often accompanied by rising ATR readings, showing an expansion in volatility that reflects distribution rather than continuation.
The quality of the short signal is strongly influenced by the interaction between the two trend layers. When both Live Trend and Vision Trend point downward, the likelihood of sustained bearish continuation increases dramatically. However, if they diverge, candle bodies turn hollow, clearly marking zones of conflict or hesitation. These phases often coincide with the end of a bullish impulse wave and the start of an early correction.
A practical example can illustrate this clearly. Imagine a market that has been trending upward for several days with expanding volatility. When price pushes into the extreme overbought zone and starts pulling back into the mild region, the system interprets it as the first sign of distribution. If at the same time the regression moving average flattens and ATR begins to rise, it strongly suggests that institutional participants are taking profit. The generated short signal allows the trader to position early in anticipation of the downward reversion that follows.
The initial stop loss for short trades is calculated above the most recent pivot high, ensuring logical protection based on the structural context. From there, the Trailing Stop Engine automatically tracks the price movement downward, tightening stops as volatility decreases or expanding them during sharp swings to avoid premature exits.
The engine’s dynamic nature makes it suitable for both aggressive scalpers and patient swing traders. Scalpers can set the trailing sensitivity to “Grip” mode for tighter control, while swing traders can use “Glide” mode to capture larger portions of the trend.
Most short signals form right after volatility expansion or liquidity grabs around major highs, classic exhaustion areas where momentum divergence becomes evident. The combination of visual cues (upper band curvature, hollow candles, ATR spikes) provides traders with multiple layers of confirmation before taking action.
In both long and short scenarios, this analytical system replaces emotional decision-making with structured interpretation. By translating volatility, momentum, and price positioning into clear contextual patterns, it empowers the trader to see where reversals are forming in real time rather than guessing after the move has started.
🔵 Setting
🟣 Logical Setting
Channel Period : The main channel period that defines the base moving average used to calculate the central line of the bands. Higher values create a smoother and longer-term structure, while lower values increase short-term sensitivity and faster reactions.
Channel Coefficient Period : The ATR period used to measure volatility for determining the channel width. Higher values provide greater channel stability and reduce reactions to short-term market noise.
Channel Coefficient : The ATR sensitivity factor that defines the distance of the bands from the central average. A higher coefficient widens the bands and increases the probability of detecting overbought or oversold conditions earlier.
Band Smooth Period : The smoothing period applied to the bands to filter minor price noise. Lower values produce quicker reactions to price changes, while higher values create smoother and more stable lines.
Trend Period : The period used in the regression moving average calculation to identify overall trend direction. Shorter values highlight faster trend shifts, while longer values emphasize broader market trends.
Trend Smooth Period : The smoothing period for the regression trend to reduce volatility and confirm the dominant market direction. This setting helps to better distinguish between corrective and continuation phases.
Signals Gap : The time interval between generated signals to prevent consecutive signal clustering. A higher value strengthens the temporal filter and produces more selective and refined signals.
Bars to Calculate : Defines the number of historical candles used in calculations. Limiting this value optimizes script performance and reduces processing load, especially when multiple symbols or timeframes are analyzed simultaneously. Higher values increase analytical depth by including more historical data, while lower values improve responsiveness and reduce potential lag during live chart updates.
Trailing Stop : Enables or disables the dynamic trailing stop engine. When active, the system automatically adjusts stop loss levels based on live volatility and price structure, maintaining alignment with market flow and trend direction.
Trailing Stop Level : Defines the operational mode of the trailing stop engine with four adaptive styles: Grip, Flow, Drift, and Glide. Grip offers tight stop management for scalping and high precision setups, while Glide allows wider flexibility for swing or long-term trades.
Trailing Stop Noise Filter : Applies an additional filtering layer that smooths minor fluctuations and prevents unnecessary stop adjustments caused by short-term market noise or micro volatility.
🟣 Display Settings
Show Trend on Candles : Displays the current trend direction directly on price candles by applying dynamic color coding. When Live Trend and Vision Trend align bullish, candles appear in green tones, while bearish alignment displays in red. If the two trends conflict, candle bodies turn hollow, marking a Trend Conflict Zone that signals potential indecision or upcoming reversal. This feature provides instant visual confirmation of market direction without the need for external indicators
Table on Chart : Allows users to choose whether the analytical table appears directly over the chart or positioned below it. This gives full control over screen layout based on personal workspace preference and chart design.
Number of Symbols : Controls how many symbols are displayed in the screener table, adjustable from 10 up to 20 in steps of 2. This flexibility helps balance between detailed screening and visual clarity on different screen sizes.
Table Mode : Defines how the screener table is visually arranged.
Basic Mode : Displays all symbols in a single column for vertical readability.
Extended Mode : Arranges symbols side by side in pairs to create a more compact and space-efficient layout.
Table Size : Adjusts the visual scaling of the table. Available options include auto, tiny, small, normal, large, and huge, allowing traders to optimize table visibility based on their screen resolution and preferred chart density.
Table Position : Determines the exact placement of the screener table within the chart interface. Users can select from nine available alignments combining top, middle, and bottom vertically with left, center, and right horizontally.
🟣 Symbol Settings
Each of the 10 available symbol slots includes a full range of adjustable parameters for personalized analysis.
Symbol : Defines or selects the asset to be tracked in the screener, such as XAUUSD, BTCUSD, or EURUSD. This enables multi-asset scanning across different markets including forex, commodities, indices, and crypto.
Timeframe : Sets the specific timeframe for analysis for each selected symbol. Examples include 15 minutes, 1 hour (60), 4 hours (240), or 1 day (1D). This flexibility ensures precise control over how each asset is monitored within the multi-timeframe structure.
🟣 Alert Settings
Alert : Enables alerts for AAS.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
Understanding financial markets requires more than indicators, it demands a framework that captures the interaction of price, volatility, and structure in real time. This analytical system achieves that by combining mean reversion logic, volatility mapping, and dynamic supply and demand modeling into an adaptive, data-driven environment. Its computational bands and trend layers visualize market intent, showing when momentum is strengthening, fading, or preparing to shift.
Each signal, derived from statistical equilibrium rather than delayed indicators, reflects the exact moment when the balance between buyers and sellers changes. Variables like Live Trend, Vision Trend, Directional Strength, and ATR-based Volatility Context help traders assess signal quality and alignment across multiple timeframes. The system blends automation with human interpretation, preserving macro-to-micro consistency and enabling confident entries, exits, and stop management through its adaptive Trailing Stop Engine.
Every component, from color-coded zones to hollow candles, forms part of a broader narrative that teaches traders to read the market’s language instead of reacting to it. Built on self-correcting analysis, the framework continuously recalibrates with live data. By transforming volatility, liquidity, and price behavior into structured insight, it empowers traders to move from reaction to prediction, a living ecosystem that evolves with both the market and the trader.
סקריפט בתשלום






















