R Dominant Range [CRT] by Sergi SernaR Dominant Range identifies the most influential R range located to the left of the current price action. It highlights the dominant zone that still impacts market behavior, helping traders understand which range is controlling the current structure.
Support and Resistance
ICT Essentials — Killzones • PD Levels • Sweeps • FVG • OTEThis indicator gives you everything you need from the ICT framework — without chart clutter.
Built for intraday traders who want clear structure, fast bias, and precision entries.
⸻
⚙️ Core Features
✅ Killzones (London + New York) — automatic shading to highlight high-probability hours.
✅ Previous Day & Overnight High/Low — liquidity levels plotted and extended.
✅ Liquidity Sweeps — real-time detection when price wicks through PD/ON levels.
✅ Smart Fair Value Gaps (FVG) — 3-candle gaps auto-clear once filled.
✅ OTE Zone (62-79%) — dynamically draws the optimal trade entry range.
✅ Dashboard — bias direction + “In-Play” status for instant context.
✅ Alerts — for sweeps, FVG taps, and OTE touches.
Supply and Demand Zones (v1)Institutional Supply & Demand Zones (v6)
This indicator automatically detects and visualizes institutional supply and demand zones based on price action and candle structure.
It identifies strong reversal areas formed by large imbalances between buyers and sellers, removes invalidated zones once price breaks through them, and keeps only the closest zone to current price when two zones overlap or touch.
Features:
Smart detection of institutional supply & demand zones
Zones are drawn only up to the latest price bar (no future extension)
Automatic zone cleanup when invalidated or overlapping
Fully customizable: max number of zones, transparency, colors, and borders
Clean, efficient, and professional tool for price imbalance and liquidity analysis.
ScalpMaster – Breaker BlocksIdeal for scalpers📈and intraday traders who rely on breaker-block reactions and market-structure shifts to refine entries and exits.
Add it to your chart, enable alerts for Signal UP and Signal DN, and combine with your own bias or higher-timeframe analysis.
✅ Automatic breaker-block detection (+BB / –BB)
✅ Real-time signal UP / signal DN
✅ Market-structure swing and PD Array visualization
✅ Optional take-profit targets (R:R zones)
✅ Alert conditions for every signal event
✅ Works on any timeframe & asset
Advanced Liquidity Trading Suite═══════════════════════════════════════
 ADVANCED LIQUIDITY TRADING SUITE 
═══════════════════════════════════════
A comprehensive institutional trading indicator that identifies key market structure elements used by professional traders.
───────────────────────────────────────
 WHAT THIS INDICATOR DOES 
───────────────────────────────────────
This tool visualizes multiple institutional trading concepts on a single chart:
- Multi-Timeframe Liquidity Levels - Identifies swing highs/lows where institutional orders may be resting
- Order Blocks - Highlights the last opposing candle before significant price moves
- Dynamic Trendlines - Automatically draws support/resistance channels based on pivot points
- Premium/Discount Zones - Displays price distribution zones relative to swing ranges
- Trading Sessions - Shows Asian, London, and New York session boundaries with their key levels
- Market Structure Breaks - Identifies when price breaks through significant swing points
───────────────────────────────────────
 HOW IT WORKS 
───────────────────────────────────────
 LIQUIDITY LEVELS: 
- Uses pivot high/low detection with configurable left/right bar parameters
- Operates on multiple timeframes (HTF for major levels, LTF for precision entries)
- Levels are removed when price sweeps through them (configurable)
- Detection method: Standard pivot point algorithm with customizable sensitivity
 ORDER BLOCKS: 
- Identifies the last bearish candle before a bullish move (bullish OB)
- Identifies the last bullish candle before a bearish move (bearish OB)
- Uses swing length detection to find institutional accumulation/distribution zones
- Color-coded strength indicators show buying vs selling pressure within each block
- Violation detection using either wick or close-based invalidation
 DYNAMIC TRENDLINES: 
- Automatically connects pivot points to form trend channels
- Creates parallel channel lines at configurable spacing
- Breaks are detected when price closes through the channel
- Optional gradient fills for visual clarity
 PREMIUM/DISCOUNT ZONES: 
- Calculates equilibrium price based on swing range
- Premium zone: Upper 50% of range (institutional selling area)
- Discount zone: Lower 50% of range (institutional buying area)
- Equilibrium: Middle zone representing fair value
 TRADING SESSIONS: 
- Displays time-based session boxes for major market hours
- Tracks session high/low levels
- Shows session overlaps when multiple markets are active
- Fully customizable session times and time zones
───────────────────────────────────────
 HOW TO USE 
───────────────────────────────────────
 SETUP: 
1. Enable desired features using the Master Toggle Controls
2. Adjust timeframes for HTF (4H/Daily) and LTF (1H/4H) liquidity
3. Configure colors and display preferences
4. Set up alerts for key events
 TRADING APPLICATIONS: 
For Trend Trading:
- Use HTF liquidity levels as major support/resistance
- Wait for LTF liquidity sweeps to enter in trend direction
- Monitor dynamic trendlines for trend confirmation
 For Reversal Trading: 
- Watch for liquidity sweeps beyond HTF levels
- Look for order block formation after sweep
- Enter when price returns to the order block
 For Range Trading: 
- Trade between premium and discount zones
- Use equilibrium as profit target
- Monitor session highs/lows for intraday ranges
 RISK MANAGEMENT: 
- Place stops beyond liquidity levels
- Use order blocks for entry refinement
- Exit at premium zones in uptrends, discount zones in downtrends
───────────────────────────────────────
 CONFIGURATION GUIDE 
───────────────────────────────────────
Master Controls: Toggle features on/off globally
 Liquidity Settings: 
- Left/Right Bars: Adjust pivot sensitivity
- Display Limit: Number of levels shown
- Mitigation: Remove or show swept levels
- Extension: How far lines extend
 Order Blocks: 
- Swing Length: Detection sensitivity
- Show Last X: Number of active blocks
- Violation Type: Wick or close-based
- Hide Overlap: Manage overlapping blocks
 Trendlines: 
- Period: Pivot lookback
- Channel Padding: Distance between lines
- Gradient Fills: Visual enhancement
- Show History: Keep broken trendlines
 Sessions: 
- Time Settings: Customize session hours
- Time Zone: Adjust for your location
- Days to Show: Historical session display
- High/Low Lines: Session range markers
───────────────────────────────────────
 ALERTS 
───────────────────────────────────────
 Available alert conditions: 
- HTF Liquidity Hit (High/Low)
- Order Block Formation (Bullish/Bearish)
- Order Block Violation
- Trendline Formation
- Trendline Break
Configure alerts per your trading strategy requirements.
───────────────────────────────────────
 EDUCATIONAL NOTE 
───────────────────────────────────────
This indicator is based on institutional order flow concepts. It does not predict future price movements but rather identifies areas where significant market participants may be positioned. Always combine with your own analysis and proper risk management.
The indicator uses standard technical analysis methods (pivot detection, swing analysis, session time filtering) combined into a unified visualization tool.
───────────────────────────────────────
 DISCLAIMER 
───────────────────────────────────────
This indicator is for educational purposes. Past performance does not guarantee future results. Always conduct your own analysis and manage risk appropriately.
Dynamic S/R Zones (Verified Pivots)Dynamic S/R Zones V1.2 
 Overview 
Dynamic S/R Zones V1.2 is a Pine v6 structure visualizer that highlights nearby Support/Resistance zones from confirmed swing pivots on the current chart and an optional higher timeframe (HTF). It can also plot simple Fibonacci guide levels (33% / 50% / 66%) between the most recent swing points. All HTF requests use lookahead_off to avoid forward-looking data, and S/R anchors are derived from verified pivots to minimize repainting. Optional “touch-verified” coloring flips a level’s display once price trades through it.
This tool is an illustrative S/R map for chart review and education.
 How it works 
 Verified Pivots (Non-Repainting): 
• Minor S/R uses ta.pivothigh/ta.pivotlow with a symmetric lookback (“Pivot Strength”).
• Lines anchor only on confirmed pivots, so once drawn they remain stable.
• A de-dup buffer filters out levels that are too close together.
 HTF Major Zones: 
• HTF OHLC is requested via request.security(..., lookahead=barmerge.lookahead_off).
• The same pivot logic runs on the HTF series; lines appear after the HTF bar closes.
• Major lines can be shown alongside (or instead of) minor lines.
 Touch-Verified Coloring (optional): 
• When a level is touched (high ≥ level ≥ low), it flips from neutral to a side color:
– Support (price above) ≈ green; Resistance (price below) ≈ red.
• The verification state is persistent for that line.
 Fibonacci Guides (optional): 
• Draws 33% / 50% / 66% between the last opposing swing high/low.
• Verification/coloring modes:
 
  Pivot-Based: uses the most recent swing direction.
  HTF Trend-Based: uses a fast/slow EMA comparison on a user-selected HTF.
  Bounce/Reject Mode: color on touch regardless of trend interpretation.
 
• One arrow per bar (optional) indicates a newly verified fib touch.
 What it displays 
• Minor S/R lines from current-TF verified pivots (non-repainting anchors).
• Major S/R lines from HTF pivots (confirmed on HTF close).
• Optional labels that state level type, price, HTF tag, and Verified/Unverified status.
• Optional Fibonacci guide lines with labels, plus single-arrow confirmations.
• Coloring that reflects touch verification and current side (support/resistance).
 Why it’s original 
• Focuses on confirmed structure (minor + HTF) with de-duplication for clarity.
• Offers hybrid fib verification (pivot-based, HTF-trend-based, or bounce/reject) to let users study structure from multiple perspectives without asserting signals.
• Maintains persistent verification per level and avoids lookahead on HTF for stable, review-friendly visuals.
• Provides a compact workflow for scanning: minor structure, HTF context, then fib context.
 Configuration & usage notes 
• Pivot Strength: Higher values = stricter confirmation (fewer lines, more stable).
• Lookback Range: Prunes older lines; increase for broader context.
• HTF for Major S/R: Daily/4H/Weekly etc.; lines confirm on that timeframe’s close.
• Min Distance Between Levels: Helps reduce clutter from nearby duplicates.
• Touch-Verified Coloring: Enable for quick support/resistance side cues.
• Fibs: Choose coloring mode (Pivot-Based, HTF Trend-Based, or Bounce/Reject).
• HTF Trend TF / EMAs: Only affect coloring when using HTF trend mode for fibs.
• Performance: Labels and line counts can be tuned down on very long histories.
 Limitations & assumptions 
• Pivot detection depends on chart timeframe, liquidity, and chosen pivot length.
• HTF lines update after the HTF bar closes (by design, to avoid lookahead).
• Optional Realtime pivots for fibs (if enabled) are provisional and can shift until a swing verifies.
• Coloring and arrows are descriptive—they do not imply entries, exits, or probabilities.
 Legal Disclaimer 
These tools visualize calculations on historical data for charting and educational use only. They are not signals, recommendations, or promises of future results. Markets involve risk, and past results do not guarantee future outcomes. Provided “as is,” without warranties. Consider consulting a qualified professional before making decisions.
xontrades1uae Iiquidity Money | by Bu-Rashid
This indicator detects potential institutional exit points and reversal zones using a powerful confluence model combining:
Volume spike analysis (institutional activity)
CVD trend flips (smart money flow reversal)
Price–CVD divergence (hidden accumulation/distribution)
Liquidity sweep detection (stop-run exhaustion)
When these elements align, the indicator highlights possible Exit Flow zones, signaling where smart capital may be closing or reversing positions.
It’s optimized for XAU/USD (Gold) and NAS100 (Nasdaq) on 5-minute and 15-minute charts, with customizable strictness for traders who prefer early or confirmed signals.
Recommended use:
Apply as a confirmation layer alongside your main strategy to identify exhaustion points and institutional exits before trend reversals.
— Developed and engineered by Bu-Rashid (XonTrades1UAE)
Ultimate SR + SMC ProULTIMATE SR + SMC PRO - VERSION 1.0 RELEASE NOTES
RELEASE DATE
October 2025
INITIAL RELEASE FEATURES
Core Functionality:
- Pivot-based support and resistance detection system
- Dynamic zone width calculation with ATR adaptation
- Strength-based S/R level ranking and filtering
- Multi-factor confluence scoring system
- Automatic timeframe optimization
Smart Money Concepts Module:
- Market Structure Shift (MSS) identification
- Order Block detection with strength analysis
- Breaker Block automatic conversion system
- Volume profile analysis integration
- Touch detection with confirmation logic
Signal Generation:
- Research-backed retest signal system (58% historical win rate)
- Volume-confirmed breakout detection
- Rejection signal identification at S/R levels
- Configurable confirmation parameters
- Debug mode for educational purposes
Advanced Analysis:
- Volume confirmation filter (58% false signal reduction)
- Psychological level detection and integration
- Multi-timeframe S/R alignment system
- ADX-based regime detection (trending vs ranging)
- Fair Value Gap (FVG) identification
Visualization:
- Zone-based and line-based display options
- Customizable colors, styles, and transparency
- Pivot point visualization with configurable colors
- Confluence star rating display
- Adjustable label positioning
Performance Optimizations:
- Efficient calculation engine for real-time analysis
- Protected against runtime errors on all instruments
- Optimized for both crypto and stock markets
- Non-repainting design ensuring signal integrity
- Automatic cleanup of old drawing objects
User Experience:
- Modular feature activation system
- Beginner-friendly default settings
- Advanced customization for experienced traders
- Comprehensive alert system
- Tooltips explaining each feature
Technical Implementation:
- Built with Pine Script v6
- Maximum 2000 bars historical analysis
- Support for 500+ concurrent drawing objects
- Compatible with all TradingView instruments
- Protected script with access control
KNOWN LIMITATIONS
- Order Block basic system disabled when SMC module active (by design)
- Maximum 12 concurrent S/R levels for performance
- Regime detection optional due to calculation overhead
- Historical data limited to 2000 bars on free plans
FUTURE DEVELOPMENT ROADMAP
- Automated support/resistance breakout statistics
- Historical win rate tracking per level
- Enhanced multi-timeframe analysis options
- Additional Smart Money Concepts patterns
- Performance analytics dashboard
- Backtesting integration support
USAGE RECOMMENDATIONS
- Start with default settings for initial evaluation
- Enable SMC module for institutional perspective
- Use confluence zones (3+ stars) for higher probability
- Apply proper risk management regardless of signals
- Combine with complementary analysis methods
- Utilize multi-timeframe confirmation
SUPPORT AND UPDATES
- Regular updates based on user feedback
- Bug fixes and performance improvements
- Feature requests consideration
- Active maintenance and support
LEGAL DISCLAIMER
This indicator is provided for educational and informational purposes only. Trading financial instruments carries substantial risk of capital loss. No indicator guarantees profitable trading results. Users must conduct independent analysis, implement proper risk management, and consider consulting financial advisors. Past performance is not indicative of future results.
COPYRIGHT
All rights reserved. Protected script requiring access approval.
ACKNOWLEDGMENTS
Developed based on established technical analysis principles, Smart Money Concepts methodology, and quantitative research in support/resistance effectiveness.
Pulse of Market [Riz]Pulse of Market   is a next-generation multi-framework trading system that reveals the true rhythm of price, volume, and structure. It unifies Smart Money Concepts (SMC), Wyckoff principles, Volume Spread Analysis (VSA), Delta analysis, Divergence mapping, and multi-timeframe structure tracking — all within one intelligent dashboard. Designed to help traders visualize market intent rather than just raw price, this tool adapts automatically for Scalping, Day Trading, or Swing Trading modes.
What This Indicator Does
⦁	Maps multi-timeframe market structure (Major & Internal BOS/CHoCH).
⦁	Detects liquidity pools, sweeps, traps, and confirms accumulation/distribution cycles.
⦁	Highlights Wyckoff events (Spring, UTAD, SOS, SOW, SV) and VSA signals (No Demand, No Supply, Climax, Stopping Volume).
⦁	Integrates cumulative delta, hidden accumulation/distribution, and divergence detection (RSI & MACD).
⦁	Displays Order Blocks, Fair Value Gaps (FVGs), and Breaker Blocks with auto-mitigation tracking.
⦁	Features adaptive confluence scoring that quantifies the strength of Buy/Sell setups in real-time.
⦁	Includes a full Info Panel Dashboard summarizing all market conditions in one place.
How It Works
The indicator processes multiple analytical layers simultaneously:
1.	Structure Engine – Detects major and minor BOS/CHoCH transitions using ATR-filtered pivots.
2.	Liquidity & Traps – Highlights liquidity zones, sweeps, bull/bear traps, and mitigation events.
3.	Wyckoff Layer – Identifies structural events (Spring/UTAD) and phases (B–E) with live updates.
4.	VSA & Volume Layer – Interprets professional buying/selling, volume climaxes, dry-ups, and effort vs. result.
5.	Delta Engine – Tracks imbalance between buying and selling pressure (hidden accumulation/distribution).
6.	Confluence Model – Aggregates structure, volume, delta, and momentum into a unified score (1–10) to generate graded BUY/SELL signals with adaptive stops and targets.
7.	Risk Module – Includes structure-based SL, partial take profits, breakeven shifts, and trailing stops.
Inputs & Customization
🎯 Trading Mode Presets: Scalping, Day Trading, Swing Trading, Custom (auto-adjusts ATR filters, divergence lookback, and confluence thresholds).
📈 Structure Controls: BOS, CHoCH, Internal vs Major depth, ATR filter, and SMC zone display.
📊 Volume & Delta Tools: VSA events, cumulative delta, hidden accumulation/distribution, dry-ups, effort/no-result.
🔍 Wyckoff Analysis: Springs, UTADs, SOS, SOW, Stopping Volume, and phase tracking.
⚙️ Signal Engine: Adaptive confluence scoring, candle confirmation, volume validation, and divergence alignment.
🧠 Risk Management: Structure-based SL, partial TPs, breakeven shifts, trailing ATR stops, and adaptive position sizing.
🕒 Session Filters: Asia, London, and NY sessions & killzones, with avoidance of early-session volatility.
📺 Info Panel: Displays all metrics including mode, structure, volume, spread, delta, liquidity, confluence score, and Wyckoff phase.
Visual Elements & Labels
|              Symbol             | Meaning          | Description                                                 |
| :-----------------------------: | :--------------- | :---------------------------------------------------------- |
|          **BUY / SELL**         | Trade Signals    | Generated from total confluence score                       |
|         **BOS / CHoCH**         | Market Structure | Break of Structure / Change of Character                    |
|          **LQH / LQL**          | Liquidity Zones  | High/Low liquidity areas                                    |
|       **TRAP ↓ / TRAP ↑**       | Bull/Bear Traps  | False breakout confirmations                                |
|  **SPRING / UTAD / SOS / SOW**  | Wyckoff Events   | Accumulation/Distribution events                            |
| **ND / NS / PB / PS / SC / BC** | VSA Events       | No Demand, No Supply, Professional Buying/Selling, Climaxes |
|          **ACC / DIST**         | Delta Events     | Hidden accumulation or distribution                         |
|   **STRONG BUY / STRONG SELL**  | Dual Divergence  | RSI + MACD alignment                                        |
|       **Dashboard Panel**       | Info Overview    | Live summary of all conditions                              |
How to Use
1.	Select your Trading Mode (Scalping, Day, or Swing) to auto-adjust internal parameters.
2.	Observe structure bias (BOS/CHoCH) and HTF confluence alignment.
3.	Watch for Buy/Sell labels (A–A+) when confluence > threshold.
4.	Confirm with volume, delta, and Wyckoff/VSA context.
5.	Manage risk using built-in TP, SL, and trailing modules or integrate into a separate execution system.
Notes & Tips
⦁	Use across all timeframes; ideal pairings: 5m–1H for intraday, 1H–4H for swing.
⦁	Combine Wyckoff events + Delta divergence + Liquidity sweeps for powerful reversals.
⦁	The Info Panel shows everything you need—structure, confluence, volume, and risk states.
⦁	Use in confluence with higher-timeframe bias or external liquidity models for optimal results.
⦁	All labels are modular; toggle off groups (VSA, Wyckoff, Structure) for cleaner view.
Disclaimer
This indicator is for educational and analytical use only.
It does not constitute financial advice or guarantee profits.
Always validate signals with your own analysis and apply proper risk management before trading live markets.
LucciThis indicator identifies trade setups based on session liquidity levels and price structure analysis during New York trading sessions.
Unlike basic support/resistance indicators, this system tracks untested session extremes and monitors their interaction with price. It combines break-and-retest mechanics with bounce detection at key liquidity zones, providing multiple entry methodologies within a single framework.
METHODOLOGY:
The system maps high/low points from each trading session (Asia: 6PM-3AM, London: 3AM-8AM, NY: 8AM-5PM EST) and monitors price behavior around these levels. It identifies two primary setup types: momentum continuation after level breaks and reversal bounces at untested extremes. Visual differentiation shows which levels remain untested (darker) versus swept levels (lighter).
SETUP IDENTIFICATION:
Break & Retest Signals:
- Detects breaks of NY Open range (15-minute candle at 8:00 AM EST)
- Waits minimum bars after break before validating retest
- Triggers when price returns to level within tolerance zone
Bounce Signals:
- Identifies approaches to untested session highs/lows
- Optional wick confirmation for reversal validation
- Signals when price rejects from liquidity zone
CONFIGURATION OPTIONS:
Entry Parameters:
- Min Bars After Break: 1-10 (delay before retest valid)
- Retest Tolerance: 0.1-10 points (precision of level test)
- Bounce Zone: 0.5-5 points (distance from level)
- Wick Confirmation: On/off reversal filter
Risk Management:
- Risk Reward Options: 1:3, 1:5, or Custom (1:1 to 1:10)
- Stop Loss: Configurable in points
- Max Daily Signals: 1-5 trade limiter
- Trading Hours: Customizable active window
Visual Elements:
- Session Levels: Orange (Asian), Yellow (London), Blue (NY)
- Signal Markers: Triangles (B&R), Diamonds (Bounce)
- TP/SL Lines: Automatic calculation and display
- Info Table: Shows bias, untested levels, daily signals
OPTIMAL USAGE:
Trading Windows:
- 9:30-11:00 AM EST: Primary trading window
- First touch of untested levels: Highest probability
- 15-minute timeframe: Recommended for futures
- Volume filter: Optional quality enhancement
Signal Prioritization:
- Untested levels provide stronger reactions
- Multiple confirmations increase probability
- Respect market structure and session context
- Combine with volume for filtering
TECHNICAL SPECIFICATIONS:
- Multi-timeframe: Uses 15-minute data for NY Open
- Session-based: Resets levels at session transitions
- Alert system: Detailed messages with levels
- Position tracking: Manages active trades visually
IMPORTANT NOTES:
This tool maps liquidity zones based on session extremes and price structure. No trading system guarantees profits. Combine with market context and proper risk management. Designed for active intraday trading on liquid instruments.
The indicator provides objective level identification while requiring trader discretion for optimal results.
SignalGenius [Riz]SignalGenius™   is an advanced multi-factor signal engine that merges traditional technical analysis with adaptive AI classification and smart market context filters. It evaluates more than 15 technical dimensions including trend, volume, volatility, momentum, and reversal behavior—to produce high-quality Buy, Sell, and Exit signals optimized for any market condition. Unlike typical signal scripts, SignalGenius™ is built as a modular decision framework with selectable presets for different trading styles (Trend-Following, Balanced, Reversal, Scalper, etc.). Every signal passes through multiple validation filters such as Smart Trail alignment, volume confirmation, AI confidence level, and momentum health before being displayed on chart.
What This Indicator Does
⦁	Generates Buy, Strong Buy, Sell, and Strong Sell signals based on composite scoring of 10+ technical models (RSI, MACD, Stochastic, ADX, EMA structure, pattern recognition, volume analysis).
⦁	Integrates a Smart Trail System that adapts dynamically to volatility and trend regime shifts.
⦁	Includes a multi-level AI Classification Engine (Levels 1 – 4) to quantify signal quality and probability.
⦁	Provides automatic exit signals (x) controlled by preset logic—ATR, RSI, trail breaks, or zone interactions.
⦁	Displays a real-time dashboard summarizing trend strength, volatility, volume sentiment, RSI, ADX, and squeeze conditions.
⦁	Offers five preset trading profiles plus full manual customization for experienced users.
How It Works
SignalGenius™ processes market data through sequential layers:
1.	Core Technical Layer – computes key metrics (RSI, MACD, Stochastic, Momentum, ADX, Bollinger/Keltner squeeze, EMAs, VWAP).
2.	Scoring Layer – assigns bull/bear scores from overlapping confirmations such as crossovers, divergences, volume strength, and pattern setups.
3.	AI Classification Layer – converts raw score + context (trend, volume, momentum) into an AI Level (1 – 4) showing signal reliability.
4.	Filter Layer – validates each signal using optional Smart Trail, trend strength, volume, AI confidence, reversal zones, and momentum filters.
5.	Visualization Layer – plots shaped markers, adaptive candle coloring, dynamic dashboards, and optional overlays (VWAP, pivots, volume profile).
The result is an intelligent system capable of shifting between confirmation-trend, contrarian-reversal, or hybrid behaviors automatically.
Inputs & Customization
🎯 Presets / Filters – Quick setups for Trend-Following, Balanced, Advanced, Reversal, or Scalper styles.
🎲 Signal Generation – Control sensitivity, cooldown, hybrid/contrarian modes, and signal history.
🎯 Exit Configuration – Define profit/stop multiples (ATR-based) and choose exit style (RSI, trail, or zone).
📈 Smart Trail – Toggle dynamic ATR trail, bands, and retest entries.
📦 Reversal Zones – Auto-detect support/resistance zones with strength counters.
📊 Trend Catcher – EMA overlays with crossover highlights.
🎨 Candle Coloring – Confirmation, Contrarian, Gradient, or Volume-based color logic.
📊 Dashboard – Compact or detailed info panel with metrics, volatility, and mode display.
🔔 Alerts – Instant notifications for all key signal and condition events.
Visual Elements & Labels
Symbol	          Meaning	                 Description
▲ / ▼	          Normal Buy / Sell	        Standard entry signal
▲+ / ▼+	  Strong Buy / Strong Sell	Multi-factor confirmed signals
x	          Exit	                        Profit or stop-based exit marker
★ 1-4	          AI Classification	        Higher = stronger confluence (4 = highest)
🔵 / 🔴          Bands	Smart Trail	        Dynamic support/resistance envelopes
How to Use
1.	Select a Preset Mode matching your style (Trend, Balanced, Contrarian, Scalper).
2.	Wait for aligned Buy/Sell + AI Level ≥ 3 signals near zones or trails.
3.	Confirm with Dashboard metrics—trend > 60 % = strong; volume = bullish or bearish sentiment.
4.	Manage trades via built-in exit markers or your own risk parameters.
5.	Combine multiple timeframes for higher accuracy (e.g., H1 bias + M15 execution).
Notes & Tips
⦁	Works on all markets and timeframes, optimized for 5 m–1 H for intraday and 4 H–D for swing trading.
⦁	Use Autopilot Mode to auto-adjust sensitivity when volatility changes.
⦁	Enable Smart Trail and Reversal Zones for structured context trading.
⦁	“AI 4★ Strong” signals near trail or zone boundaries represent highest-quality opportunities.
⦁	For backtesting, keep “Show Signal History” ON and set history length as needed.
Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice or a guaranteed trading system.
Always confirm signals with independent analysis and apply appropriate risk management before live trading.
RSI Multi-Timeframe S/R - MehtaMulti-Timeframe Dynamic Support & Resistance Indicator
This tool automatically detects key support and resistance levels across multiple timeframes — including 1-Day, 15-Minute, and 5-Minute charts — using a refined momentum-based algorithm with trend and volume confirmation.
It’s designed to help traders quickly identify confluence zones where intraday and higher-timeframe structures align, improving timing and risk management.
Key Features
Detects dynamic support and resistance zones with a built-in strength filter.
Uses multi-timeframe confirmation to reduce false levels.
Integrates volume-based reliability checks.
Automatically updates only the latest active levels to keep charts clean.
Includes a touch counter panel that tracks how often price interacts with each level (a proxy for zone strength).
Color & Structure Guide
🟩 Support Zones: Indicate potential accumulation areas.
🔴 Resistance Zones: Indicate potential supply or reaction areas.
Solid lines = Higher timeframe (stronger zones)
Dotted lines = Lower timeframe (shorter-term zones)
Best Use
Combine with your price-action or volume analysis to confirm reactions.
Particularly useful in spotting multi-timeframe overlaps — where the strongest reactions tend to occur.
Touch Counter: A handy table on the chart tracks how many times the price has tested each level, helping you gauge its strength.
Combine with Your Strategy: This indicator works best when combined with your existing price action analysis, candlestick patterns, or other confirmation indicators.
STRONG DISCLAIMER & RISK WARNING
PLEASE READ THIS CAREFULLY BEFORE USING THE INDICATOR.
No Financial Advice: This indicator is a technical analysis tool for educational and informational purposes only. It is NOT financial, investment, or trading advice. The creator of this script is not a registered financial advisor.
Not a Guarantee: Past performance is not indicative of future results. The signals and levels generated by this indicator are based on historical data and mathematical formulas and are not a guarantee of future price movement. There is a high risk of loss in trading.
Use at Your Own Risk: You are solely responsible for any trading decisions you make and the resulting profits or losses. Always conduct your own due diligence and consult with a qualified financial professional before engaging in any trade.
Backtest First: It is highly recommended to backtest this indicator and understand its behavior in different market conditions (trending, ranging, volatile) before using it with real capital.
Lagging Nature: Like most technical indicators, this tool is lagging. It reflects past and current market data, which may not accurately predict future price action.
By using this indicator, you acknowledge that you understand and accept these risks entirely.
Feel free to leave feedback, report bugs, or suggest improvements in the comments below!
Happy Trading!
Malama's Heat MapOverview
Malama's Heat Map is an overlay indicator that visualizes historical liquidity as a dynamic heatmap aligned with the price chart, using volume as a proxy to map activity across time (X-axis) and price levels (Y-axis). It constructs a grid of up to 5000 cells via a matrix, distributing bar volume into discrete price bins to highlight concentration zones, creating a color-graded visualization from cool (low activity) to hot (high liquidity). This aids in identifying "Type II" fair value areas, support/resistance from past volume clusters, or potential imbalances without order book access. Built for v6 compatibility with efficiency in mind—computations run solely on the last bar, includes object limit enforcement, and offers two intra-bar volume distribution methods for flexible approximation.
Core Mechanics
The indicator generates a trailing heatmap through binning, accumulation, and box-based rendering:
Grid Setup: Configurable lookback (bars back, default 100) sets horizontal time span; bins (price divisions, default 50) define vertical resolution, limited to 5000 total cells to prevent errors. Bin height dynamically = max(mintick, (lookback high - low) / bins).
Y-Axis Stabilization: Anchors boundaries to the prior bar's high/low (if available) for a flicker-free view during live bar updates. All historical bar data (high/low/close/volume) is clipped to these bounds.
Volume Distribution Proxy:
Even: Divides bar volume equally across spanned bins (straightforward uniform spread).
POC Weighted (Inverse): Treats bar close as POC proxy; applies inverse distance weighting (1/(|bin - POC bin| + 1), normalized) to emphasize volume near the estimated control point, simulating clustered intra-bar trading.
Matrix Building: On last bar only, loops backward over lookback bars (newest right-aligned). For each, computes low/high bin indices, distributes volume per selected method into the matrix (columns=time, rows=price bins from low to high).
Scaling & Palette: Extracts max matrix value for relative normalization (0-1); maps to a 5-tier stepped color scheme (user-customizable: blue 90% transp. low → red 50% transp. high) for non-linear intensity.
Rendering: Clears old boxes, then iterates matrix to draw only non-zero cells as thin boxes: X spans one bar width (left=historical index from bar_index, right=next bar), Y fills bin height. Borderless for seamless heatmap effect.
The result is a right-leaning, chart-scrolling visualization emphasizing recent liquidity buildup.
Why This Adds Value & Originality
While session-based volume profiles exist, this heatmap captures ongoing multi-bar liquidity evolution ("Type II" style), revealing horizontal value areas or gaps dynamically. Originality shines in the custom inverse-weighting for POC realism (no ta.* dependencies), matrix-driven persistence for quick redraws, and stabilization to eliminate repaints—issues plaguing similar scripts. v6 adaptations (e.g., custom clamp, matrix recreation on input change) ensure broad compatibility without bloat. It condenses complex liquidity scanning into one tool: spot red "hot" bands as magnets, blue voids as FVGs. Unlike generic heatmaps, the proxy options and limit-aware design scale across timeframes/assets (e.g., forex vs. crypto), reducing the need for layered indicators.
How to Use
Setup: Apply as overlay. Defaults suit ~4-day 1H view; tune lookback/bins (e.g., 50x100 for intraday fine-detail, but watch 5000 cap—errors auto-flag excesses). Select "POC Weighted" for nuanced clustering, "Even" for simplicity. Customize palette (e.g., desaturate for dark themes).
Reading the Heatmap:
X-Axis (Time): Left=older (fainter context), right=recent focus; tracks evolving liquidity trails.
Y-Axis (Price): Bottom=range low, top=high; vertical density shows price-level attraction.
Colors: Faint blue (sparse volume, possible inefficiencies) → vivid red (dense activity, likely SR). Horizontal streaks = sustained value zones.
Trading Insights: Price wicking into red? Anticipate fills/reversals. Blue gaps post-break? Targets for retraces. Ideal on 5M–Daily; layer with candlesticks off for purity.
Example: In BTCUSD 4H, a yellow-red band at $60K from prior consolidation → treat as dynamic support for longs on dips.
Tips
Balance settings: High bins = sharper verticals but cap lookback (e.g., 80x60=4800 cells). Test on volatile pairs first.
"POC Weighted" excels in ranging markets; switch to "Even" for trending (avoids close-bias skew).
For deeper analysis, screenshot/export or pair with divergence tools; add manual alerts via box counts if extended.
Efficiency: Last-bar only keeps it snappy; refresh on input tweaks.
Limitations & Disclaimer
Visualization is historical/proxy-based—lagging by one bar, no forward projection or tick-level precision (close-as-POC is estimate). Clipping may trim outlier wicks; low-volume bars dilute globally. Stepped colors are relative (max scales per redraw), potentially compressing extremes. Exceeds 5000 cells? Runtime error halts—no fallback resize. Not real liquidity (volume ≠ depth); best as visual aid, not quantitative. Updates post-close only. Backtest zones on specific symbols—correlation ≠ causation. Not advice; trade responsibly. Ideas in comments!
Multi-timeframe Pivot PointThis indicator is a lightweight indicator designed to display higher timeframe pivot levels on your chart.
It helps traders quickly identify key support and resistance zones derived from higher timeframes (such as daily or weekly pivots) while analyzing lower timeframes (e.g., 15m or 1h charts).
 Calculation Logic 
This indicator uses the classic pivot point formula, calculated from high, low, and close values:
 PP  = (High + Low + Close) / 3
R1  = 2 * PP - Low
S1  = 2 * PP - High
R2  = PP + (High - Low)
S2  = PP - (High - Low)
R3  = R1 + (High - Low)
S3  = S1 - (High - Low) 
Additionally, it includes breakout levels:
 HBOP = PP + PP + (High - Low) - Low
LBOP = PP + PP - (High - Low) - High
 
DCT - Liquidity Heatmap - ProOVERVIEW
--------
The DCT Liquidity Heatmap Pro is an advanced order flow visualization tool designed specifically for cryptocurrency markets operating 24/7. This indicator identifies and tracks liquidity accumulation zones where significant buy and sell orders cluster, helping traders understand potential support/resistance areas and market microstructure.
WHAT IT DOES
------------
This script creates a visual heatmap of liquidity levels by analyzing volume intensity and price action across multiple timeframes. It automatically detects and displays:
- BID LEVELS (below price): Areas where buy-side liquidity accumulates
- ASK LEVELS (above price): Areas where sell-side liquidity accumulates  
- SWEPT ZONES: Levels that have been taken out by price action
- VOLUME INTENSITY: Color-coded gradient showing relative strength of each level
The indicator uses a pure gradient system:
- Purple (Low): 0-25% volume intensity
- Yellow (Mid): 25-50% volume intensity
- Orange (High): 50-75% volume intensity
- Red (Extreme): 75%+ volume intensity
When CVD (Cumulative Volume Delta) is enabled, colors adapt to show directional bias:
- Green tint: Buy pressure dominant (>60%)
- Red tint: Sell pressure dominant (<40%)
KEY FEATURES
------------
1. AUTO-DETECTION: Automatically identifies market type (BTC/ETH, Major Altcoins, Low Cap/Volatile) and exchange type (Perpetual/Spot) based on the ticker symbol
2. DYNAMIC ADJUSTMENTS: Automatically adapts spacing, level count, and retention based on:
   - Current timeframe (5m to Daily+)
   - ATR-based volatility (Low, Normal, High, Extreme)
   - Market type characteristics
3. CVD TRACKING: Optional Cumulative Volume Delta calculation showing net buy/sell pressure over time, with real-time dollar values displayed in the info table
4. SWEPT LEVEL PRESERVATION: Maintains swept levels on the chart with original color coding for historical reference and pattern analysis
5. FORWARD PROJECTION: Extends active (non-swept) levels into the future to show where liquidity currently exists
6. SMART CLEANUP: Automatic memory management removes old swept levels based on configurable retention period (default: 2000 bars)
7. IMBALANCE DETECTION: Visual markers (triangles) indicating significant buy/sell imbalances at current price
8. REAL-TIME ALERTS: Configurable alerts for:
   - Level sweeps (when price takes out a liquidity level)
   - Price approaching significant levels
9. COMPREHENSIVE INFO TABLE: Live statistics showing:
   - Auto-detection status
   - Market and exchange type
   - Current volatility state (with ATR percentage)
   - CVD values and directional bias
   - Dollar liquidity estimates above/below price
   - Count of swept and total levels
ORIGINALITY & VALUE PROPOSITION
--------------------------------
This script is completely original code developed from the ground up for cryptocurrency trading. Unlike generic liquidity indicators designed for traditional markets, this tool addresses specific challenges in crypto:
CRYPTO-SPECIFIC OPTIMIZATIONS:
- 24/7 market operation (session-based analysis removed as irrelevant for crypto)
- Higher volatility handling with ATR-based dynamic adjustments
- Perpetual vs Spot differentiation
- Market-cap based calibration (BTC/ETH, Major Alts, Low Cap)
TECHNICAL INNOVATIONS:
- Pure gradient intensity system eliminating redundant major/minor classifications
- Volume accumulation algorithm that builds strength over time
- Smart memory management preventing performance degradation on long charts
- Swept level preservation with color retention for pattern recognition
WHY CLOSED-SOURCE:
The proprietary algorithms for volume intensity calculation, dynamic parameter adjustment, and liquidity level clustering represent significant research and development. The specific mathematical models and calibration for crypto markets provide a competitive edge that warrants code protection.
WHAT THIS SCRIPT IS NOT
------------------------
IMPORTANT LIMITATIONS TO UNDERSTAND:
1. NOT PREDICTIVE: This indicator shows where liquidity EXISTS, not where price WILL go. Liquidity levels can be swept without reversals, or price may never reach certain levels. No future performance is implied or guaranteed.
2. NOT A COMPLETE SYSTEM: This is a visualization tool for understanding order flow and market microstructure. It should be used alongside proper risk management, fundamental analysis, and other technical tools. It does not generate entry/exit signals.
3. TIMEFRAME DEPENDENT: Effectiveness varies by timeframe. Lower timeframes (5m-15m) show more granular but potentially noisier data. Higher timeframes (4H-Daily) show broader structure but with less precision for intraday trading.
4. VOLUME LIMITATIONS: Crypto exchange volume data can vary significantly between exchanges and may include wash trading or other manipulated volume. The indicator works with whatever volume data your exchange provides.
5. BACKTESTING CONSTRAINTS: While swept levels are preserved historically, the indicator calculates levels in real-time. Historical visualization shows where levels WERE, not how they would have appeared to a trader in real-time at that moment.
6. NOT FOR ALL MARKETS: Optimized specifically for cryptocurrency perpetual and spot markets. May not perform optimally on traditional stocks, forex, or futures without parameter adjustment.
HOW TO USE
----------
1. Add the indicator to your chart
2. Verify auto-detection has correctly identified your market (check info table)
3. Adjust "Spacing" slider if you want wider/tighter level clustering
4. Enable CVD if you want directional volume bias analysis
5. Configure alerts for sweeps or level approaches if desired
6. Use "Compact" mode on smaller screens to reduce table size
RECOMMENDED SETTINGS BY TIMEFRAME:
- Scalping (5m-15m): Default settings, focus on immediate levels
- Swing Trading (1H-4H): Enable "Extend All" for broader view
- Position Trading (Daily+): Increase spacing 20-30% for major levels only
PERFORMANCE NOTES
-----------------
The script is optimized for performance but users should be aware:
- Maximum 500 boxes can be displayed (TradingView limitation)
- Retention set to 2000 bars by default (configurable 10-5000)
- On very long charts (>5000 bars), older swept levels will be deleted
- Lower timeframes generate more levels and may hit box limits faster
ALERT CONDITIONS
----------------
Two alert types available:
1. SWEEP ALERTS: Triggered when price takes out a liquidity level
2. PROXIMITY ALERTS: (Disabled by default) Warns when price approaches significant levels
Configure alert distance threshold in settings (default: 0.5% of price)
SUPPORT & USAGE
---------------
This is an advanced tool requiring understanding of:
- Order flow concepts and liquidity sweeps
- Volume profile interpretation  
- Crypto market microstructure
- Risk management principles
Successful use requires combining this tool with your existing trading methodology and proper risk controls. Past swept levels and current liquidity zones do not guarantee future price behavior.
TECHNICAL SPECIFICATIONS
-------------------------
- Pine Script v6
- Overlay: true
- Max boxes: 500
- Max labels: 50 (though labels removed in Pro edition)
- Memory optimized with smart cleanup routines
- Compatible with Perpetual and Spot crypto markets
NO WARRANTIES
-------------
As with all technical indicators, this tool is provided for informational and educational purposes. No representations are made regarding future performance or profitability. Trading cryptocurrencies involves substantial risk of loss. Always conduct your own research and never risk more than you can afford to lose.
The indicator displays levels based on historical and current volume data, which does not constitute investment advice or a recommendation to buy or sell. Market conditions change, and what worked in the past may not work in the future.
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!
Last Price Line
# Last Price Line with Enhanced Features
## Description
This indicator provides a highly customizable horizontal price line that tracks the current market price with advanced visualization options and real-time price change tracking. Unlike the basic price line built into most charting platforms, this tool offers extensive customization including dynamic color changes based on price movement, detailed price change statistics, adjustable line extensions, and flexible label positioning. The indicator is designed to give traders instant visual reference of the current price level with optional momentum context through color-coded labels showing gains or losses from the previous bar.
## How It Works
The indicator continuously monitors the closing price of the most recent bar and draws a horizontal line at that exact level. The line extends both left and right by user-defined amounts, with an option to infinitely extend the line to the right. When price change display is enabled, the indicator calculates the difference between the current price and the previous close, presenting this information both in absolute points and percentage terms directly on the price label.
**Core Calculation:**
- Current Price = Close of most recent bar
- Price Change = Current Price - Previous Close
- Percent Change = (Price Change / Previous Close) × 100
**Dynamic Color Logic:**
When "Color by Change Direction" is enabled, the label automatically changes color based on price movement:
- **Up Color** (default: green) when current price > previous close
- **Down Color** (default: red) when current price < previous close
- **Neutral Color** (default: gray) when price is unchanged
This provides instant visual feedback on intrabar momentum without needing to look at price values.
## Original Features & Methodology
**What Makes This Script Unique:**
- Combines a customizable price reference line with real-time price change statistics
- Implements percentage-based label offset system that works consistently across all price scales
- Features tri-state color system (up/down/neutral) with user-definable colors for each state
- Includes independent left and right extension controls for precise visual placement
- Offers multiple decimal place precision options (0-8 decimals) for any asset class
- Provides optional circular marker plot that can be toggled independently from the main line
**Technical Implementation:**
- Uses `barstate.islast` to ensure line updates only on the most recent bar for performance
- Implements proper object deletion to prevent memory buildup over time
- Employs `line.style_label_left` and `line.style_label_right` for intelligent label positioning
- Supports infinite right extension via `extend.right` or fixed extension via `extend.none`
- Line transparency and marker transparency controlled independently
## Key Features
🔹 **Fully Customizable Line**: Control color, width, style (solid/dashed/dotted), and transparency  
🔹 **Flexible Extension**: Separate left and right extension controls with optional infinite right extension  
🔹 **Smart Price Labels**: Display current price with customizable size, position, and decimal precision  
🔹 **Price Change Display**: Optional display of price change from previous bar in points and/or percentage  
🔹 **Dynamic Color Coding**: Label automatically changes color based on up/down/neutral movement  
🔹 **Custom Color Palette**: Define your own colors for bullish, bearish, and neutral conditions  
🔹 **Precision Control**: Set decimal places from 0 to 8 for any asset (stocks, forex, crypto, futures)  
🔹 **Optional Price Marker**: Toggle circular plot marker independently from main line  
🔹 **Performance Optimized**: Efficient code that only updates on the most recent bar  
## Input Parameters Explained
**Line Settings**
- **Line Color**: Base color for the horizontal price line (default: yellow)
- **Line Width**: Thickness from 1-5 pixels (default: 2)
- **Line Style**: Choose Solid, Dashed, or Dotted appearance
- **Line Transparency**: 0-100% transparency control (0 = opaque, 100 = invisible)
**Extension Settings**
- **Left Extension**: How many bars to extend the line to the left (default: 50)
- **Right Extension**: How many bars to extend the line to the right (default: 10)
- **Extend Line Right**: Toggle infinite right extension (overrides right extension bars when enabled)
**Label Settings**
- **Show Price Label**: Toggle the price label on/off
- **Label Position**: Place label on Left or Right side of chart
- **Label Size**: Choose from Tiny, Small, Normal, Large, or Huge
- **Label Text Color**: Color of the text inside the label (default: white)
- **Price Decimals**: Number of decimal places to display (0-8)
**Price Change Settings**
- **Show Price Change**: Display change from previous bar
- **Show Percent Change**: Include percentage change in label
- **Color by Change Direction**: Enable dynamic color coding based on movement
- **Up Color**: Label color when price is higher (default: green)
- **Down Color**: Label color when price is lower (default: red)
- **Neutral Color**: Label color when price is unchanged (default: gray)
**Display Settings**
- **Show Current Price Marker**: Toggle the circular plot marker
- **Marker Transparency**: Control transparency of the marker line (default: 90%)
## How to Use This Indicator
**Basic Setup:**
1. Add the indicator to your chart - a yellow horizontal line will appear at the current price
2. The line extends 50 bars to the left and 10 bars to the right by default
3. A label on the right shows the current price with 2 decimal places
**Customizing Appearance:**
1. Adjust line color, width, and style to match your chart theme
2. Modify left/right extensions to fit your chart display preferences
3. Change label position to Left if it interferes with right-side indicators
4. Increase/decrease label size based on your screen resolution and preferences
**Enabling Price Change Display:**
1. Check "Show Price Change" to see movement from previous bar
2. Label will show: Current Price, Point Change, and Percent Change
3. Enable "Color by Change Direction" for instant visual momentum feedback
4. Customize up/down/neutral colors to match your trading style
**Precision Settings:**
- **Stocks**: Use 2 decimal places
- **Forex majors**: Use 4-5 decimal places  
- **Crypto**: Use 2-4 decimal places depending on asset value
- **Futures**: Use 2 decimal places (0 for index futures)
- **Commodities**: Vary by instrument (0-4 typical)
**Pro Tips:**
- Use high transparency (60-80%) for subtle price reference
- Disable the circular marker if you only want the main line
- Enable infinite right extension to see price level projection into the future
- Use different colors for different timeframes on multi-chart layouts
## Use Cases
**Day Trading:**
- Quick visual reference for entry price and current price relationship
- Color-coded momentum feedback shows if you're gaining or losing on the bar
- Precise decimal control for instruments with specific tick sizes
**Swing Trading:**
- Track daily close levels across multiple days
- Monitor percentage gains/losses from previous session close
- Clear visual separation between current price and reference levels
**Position Monitoring:**
- Instant visual of current P&L when combined with entry indicators
- Clean price display without cluttering the chart
- Customizable to match any chart color scheme
**Multi-Monitor Setups:**
- Consistent price reference across different timeframe charts
- Large label sizes for viewing from a distance
- High-contrast colors for quick recognition
## Technical Details
- Updates only on `barstate.islast` for optimal performance
- Proper line and label deletion prevents memory buildup
- Works on all timeframes and asset classes
- No repainting - all values based on confirmed bar data
- Label position calculated using `bar_index` for accurate placement
- Supports both fixed and infinite line extension modes
## Best Practices
- Use contrasting line colors that stand out against your chart background
- Set appropriate decimal places for your asset to avoid clutter
- Enable price change display for active trading, disable for clean charts
- Use transparency when layering multiple indicators
- Position labels to avoid overlap with other chart elements
- Customize colors to distinguish between different chart windows
- Test different label sizes to find what works best for your screen
This indicator serves as an essential price reference tool that combines simplicity with powerful customization options, making it suitable for traders of all experience levels and trading styles.
---
## Connect With Me
📧 **Email**: contact@savvytraderpro.com  
📊 **Website**:  (savvytraderpro.com)  
🐦 **X (Twitter)**:  (twitter.com)  
💬 Follow for more indicators, trading strategies, and market insights!
---
**⚠️ Disclaimer:**  
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
Smart SuperTrend v.1 [TradeMindsetAI]
✅ 🚀 Smart Super Trend v.1   🚀 is an advanced Pine Script indicator that combines real pivot points with ATR-based dynamic bands to create a highly responsive Super Trend system — but smarter, using a weighted Adaptive Pivot Center for adaptive trend detection.  
✅ Key Features: 
• Detects pivot highs/lows with customizable period  
• Builds a dynamic Adaptive Pivot Center from confirmed pivots (weighted averaging)  
• Calculates upper/lower bands using ATR × Factor for volatility adaptation  
• Generates clean Buy/Sell signals on trend flips with optional labels  
• Plots Support/Resistance from last pivot levels (optional)  
• Optional Adaptive Pivot Center visualization for deeper trend insight  
• Fully customizable: ATR period, factor, pivot sensitivity, visuals  
✅ Ideal for scalpers, swing traders & algo developers across crypto, forex, stocks.  
✅ Note: Works best after 50+ bars for pivot stabilization.  
✅ Recommended Settings (Optimized & Tested):  
`Pivot Point Period: 2` | `ATR Factor: 3.0` | `ATR Period: 10` → Best for 1H–4H (All Markets)  
`Pivot Point Period: 3` | `ATR Factor: 3.0` | `ATR Period: 14` → Best for Daily & Long-Term Trends 
`Pivot Point Period: 1` | `ATR Factor: 2.5` | `ATR Period: 10` → Best for 15M & Scalping  
🎯 Built for traders who want SuperTrend + Pivot Intelligence = Unbreakable Edge.  
⭐ Like & Follow for more elite tools!  
#supertrend #pivot #atr #trendfollowing #crypto #forex #tradingview
✅  اندیکاتور 🚀 Smart SuperTrend v.1   🚀 با ترکیب پیوتهای واقعی و باندهای دینامیک ATR، یک سوپرترند هوشمند و تطبیقپذیر ارائه میدهد — اما با یک خط مرکزی تطبیقی پیوت
 (Adaptive Pivot Center) برای تشخیص روند دقیقتر.  
✅ ویژگیهای کلیدی: 
•	شناسایی پیوتهای کف و سقف با دوره قابل تنظیم 
•	ساخت خط مرکزی تطبیقی پیوت بر اساس پیوتهای تأییدشده (میانگین وزنی)  
•	محاسبه باندهای بالا / پایین با ATR × ضریب برای تطبیق با نوسانات  
•	تولید سیگنالهای خرید / فروش تمیز در لحظه تغییر روند + برچسب اختیاری  
•	نمایش سطوح حمایت / مقاومت از آخرین پیوتها (اختیاری)  
•	نمایش خط مرکزی تطبیقی پیوت برای تحلیل عمیقتر روند (اختیاری)  
•	کاملاً قابل تنظیم: دوره  ATR، ضریب، حساسیت پیوت، ظاهر  
✅  مناسب برای اسکالپرها، سوئینگ تریدرها و توسعهدهندگان الگو در کریپتو، فارکس، سهام. 
✅  نکته: پس از ۵۰ کندل برای تثبیت پیوتها بهترین عملکرد را دارد. 
✅ تنظیمات پیشنهادی بهینه (تستشده):  
`Pivot Point Period: 2` | `ATR Factor: 3.0` | `ATR Period: 10` →  مناسب برای 1 و 4 ساعته (تمام بازارها)  
`Pivot Point Period: 3` | `ATR Factor: 3.0` | `ATR Period: 14` → مناسب رای روند روزانه و بلندمدت 
`Pivot Point Period: 1` | `ATR Factor: 2.5` | `ATR Period: 10` → مناسب برای ۱۵ دقیقه و اسکالپینگ 
🎯 برای معاملهگرانی که سوپرترند + پیوت هوشمند = برتری غیرقابل شکست میخواهند.
⭐ لایک و فالو کنید تا ابزارهای حرفهای بیشتری ببینید! 
#سوپرترند #پیوت #ای_تی_آر #دنبال_روند #کریپتو #فارکس #تریدینگ_ویو
MoneyPlant-Auto Support Resistance V2.0
🧭 Overview
MoneyPlant – Auto Support Resistance is a professional-grade indicator designed to automatically detect dynamic Support and Resistance levels using real-time market structure.
It combines trend confirmation, structure analysis, and momentum logic to identify high-probability trading zones in all market conditions.
⚙️ Core Concept
This indicator uses a unique combination of classic and proprietary logic to filter only the most relevant S/R levels:
• Dynamic Support/Resistance Mapping: Detects strong reaction levels based on price structure, candle rejection points, and breakout validation.
• EMA & WMA Trend Filter: Uses a triple-moving-average model (default EMA 18, EMA 25, and WMA 7) to confirm current market bias.
• MACD Momentum Filter: Confirms trend strength and helps avoid false breakouts.
• Smart Alignment Logic: Generates signals only when structure, trend, and momentum all align in the same direction.
🧠 How It Works
1. Buy Setup:
 When price breaks above a resistance level with bullish EMA/WMA alignment and positive MACD momentum → Buy Signal triggers.
2. Sell Setup:
 When price breaks below a support level with bearish EMA/WMA alignment and negative MACD momentum → Sell Signal triggers.
3. Auto-Refreshing Zones:
 Support and Resistance zones update dynamically as market structure evolves.
🎯 Best Use Cases
• Works effectively on Stocks, Indices, Forex, and Commodities (e.g., XAUUSD, NIFTY, BANKNIFTY ).
• Ideal for Intraday & Swing Trading (15 min – 1 hour timeframes).
• Fully compatible with TradingView alerts and automation tools.
💡 Key Features
✅ Automatic Support/Resistance detection
✅ Adaptive EMA + WMA + MACD trend logic
✅ Real-time Buy/Sell alerts
✅ Multi-timeframe compatibility
✅ Optimized for clean chart visuals
⚖️ Recommended Settings
• EMA Fast: 18
• EMA Slow: 25
• WMA Filter: 7
• MACD: Default parameters
(Users may adjust EMA/WMA settings according to their own trading style.)
🔒 How to Get Access
To get access to this invite-only script, please send me a private message on TradingView or use the link in my profile.
Once your username is added via Manage Access, you’ll be able to use the indicator.
🧾 Notes for Traders
This tool does not repaint, and it’s meant for educational and analytical purposes only.
Each license is valid for one TradingView username — no resale or redistribution is permitted.
Developed by MoneyPlant
Smart Automation for Professional Traders
KVS-FF-AA-2-FibThis indicator combines an EMA (Exponential Moving Average) cloud with advanced Fibonacci levels. It displays EMA's from three different timeframes (Daily, Weekly, Monthly) to help you track primary trends across various periods. It also generates a dynamic cloud for a user-defined timeframe.
The integrated Fibonacci tool offers four different calculation modes: Static, Dynamic, ATH/ATL, and Price. Additionally, you can select from four Fibonacci level types: Standard, Percentage, FF-AA, and FF-AA-2.  This tool automatically determines the trend direction and plots the Fibonacci levels on either a logarithmic or linear scale.
Advanced Psychological Levels with Dynamic Spacing═══════════════════════════════════════
 ADVANCED PSYCHOLOGICAL LEVELS WITH DYNAMIC SPACING 
═══════════════════════════════════════
A comprehensive psychological price level indicator that automatically identifies and displays round number levels across multiple timeframes. Features dynamic ATR-based spacing, smart crypto detection, distance tracking, and customizable alert system.
───────────────────────────────────────
 WHAT THIS INDICATOR DOES 
───────────────────────────────────────
This indicator automatically draws psychological price levels (round numbers) that often act as support and resistance:
- Dynamic ATR-Based Spacing - Adapts level spacing to market volatility
- Multiple Level Types - Major (250 pip), Standard (100 pip), Mid, and Intraday levels
- Smart Asset Detection - Automatically adjusts for Forex, Crypto, Indices, and CFDs
- Crypto Price Adaptation - Intelligent level spacing based on cryptocurrency price magnitude
- Distance Information Table - Real-time percentage distance to nearest levels
- Combined Level Labels - Clear identification when multiple level types coincide
- Performance Optimized - Configurable visible range and label limits
- Comprehensive Alerts - Notifications when price crosses any level type
───────────────────────────────────────
 HOW IT WORKS 
───────────────────────────────────────
 PSYCHOLOGICAL LEVELS CONCEPT: 
Psychological levels are round numbers where traders tend to place orders, creating natural support and resistance zones. These include:
- Forex: 1.0000, 1.0100, 1.0050 (pips)
- Crypto: $100, $1,000, $10,000 (whole numbers)
- Indices: 10,000, 10,500, 11,000 (points)
Why They Matter:
- Traders naturally gravitate to round numbers
- Stop losses cluster at these levels
- Take profit orders concentrate here
- Institutional algorithmic trading often targets these levels
 DYNAMIC ATR-BASED SPACING: 
Traditional Method:
- Fixed spacing regardless of volatility
- May be too tight in volatile markets
- May be too wide in quiet markets
Dynamic Method (Recommended):
- Uses ATR (Average True Range) to measure volatility
- Automatically adjusts level spacing
- Tighter levels in low volatility
- Wider levels in high volatility
Calculation:
1. Calculate ATR over specified period (default: 14)
2. Multiply by ATR multiplier (default: 2.0)
3. Round to nearest psychological level
4. Generate levels at dynamic intervals
Benefits:
- Adapts to market conditions
- More relevant levels in all volatility regimes
- Reduces clutter in trending markets
- Provides more detail in ranging markets
 LEVEL TYPES: 
Major Levels (250 pip/point):
- Highest significance
- Primary support/resistance zones
- Color: Red (default)
- Style: Solid lines
- Spacing: 2.5x standard step
Standard Levels (100 pip/point):
- Secondary importance
- Common psychological barriers
- Color: Blue (default)
- Style: Dashed lines
- Spacing: Standard step
Mid Levels (50% between major):
- Optional intermediate levels
- Halfway between major levels
- Color: Gray (default)
- Style: Dotted lines
- Usage: Additional confluence points
Intraday Levels (sub-100 pip):
- For intraday traders
- Fine-grained precision
- Color: Yellow (default)
- Style: Dotted lines
- Only shown on intraday timeframes
 SMART ASSET DETECTION: 
Forex Pairs:
- Detects major currency pairs automatically
- Uses pip-based calculations
- Standard: 100 pips (0.0100)
- Major: 250 pips (0.0250)
- Intraday: 20, 50, 80 pip subdivisions
Cryptocurrencies:
- Automatic price magnitude detection
- Adaptive spacing based on price:
  * Under $0.10: Levels at $0.01, $0.05
  * $0.10-$1: Levels at $0.10, $0.50
  * $1-$10: Levels at $1, $5
  * $10-$100: Levels at $10, $50
  * $100-$1,000: Levels at $100, $500
  * $1,000-$10,000: Levels at $1,000, $5,000
  * Over $10,000: Levels at $5,000, $10,000
Indices & CFDs:
- Fixed point-based system
- Major: 500 point intervals (with 250 sub-levels)
- Standard: 100 point intervals
- Suitable for stock indices like SPX, NASDAQ
 COMBINED LEVEL LABELS: 
When multiple level types coincide at the same price:
- Single line drawn (highest priority color)
- Combined label shows all types
- Priority: Major > Standard > Mid > Intraday
Example Label Formats:
- "1.1000 Major" - Major level only
- "1.1000 Std + Major" - Both standard and major
- "50000 Intra + Mid + Std" - Three levels coincide
Benefits:
- Cleaner chart appearance
- Clear identification of confluence
- Reduced visual clutter
- Easy to spot high-importance levels
 DISTANCE INFORMATION TABLE: 
Real-time tracking of nearest levels:
Table Contents:
- Nearest major level above (price and % distance)
- Nearest standard level above (price and % distance)
- Nearest standard level below (price and % distance)
Display:
- Top right corner (configurable)
- Color-coded by level type
- Real-time percentage calculations
- Helpful for position management
Usage:
- Identify proximity to key levels
- Set realistic profit targets
- Gauge potential move magnitude
- Monitor approaching resistance/support
ALERT SYSTEM:
Comprehensive crossing alerts:
Alert Types:
- Major Level Crosses
- Standard Level Crosses
- Intraday Level Crosses
Alert Modes:
- First Cross Only: Alert once when level is crossed
- All Crosses: Alert every time level is crossed
Alert Information:
- Level type crossed
- Specific price level
- Direction (above/below)
- One alert per bar to prevent spam
Configuration:
- Enable/disable by level type
- Choose alert frequency
- Customize for your trading style
───────────────────────────────────────
 HOW TO USE 
───────────────────────────────────────
 INITIAL SETUP: 
General Settings:
1. Enable "Use Dynamic ATR-Based Spacing" (recommended)
2. Set ATR Period (14 is standard)
3. Adjust ATR Multiplier (2.0 is balanced)
Visibility Settings:
1. Set Visible Range % (10% recommended for clarity)
2. Adjust Label Offset for readability
3. Configure performance limits if needed
Level Selection:
1. Enable/disable level types based on trading style
2. Adjust line counts for each type
3. Choose line styles and colors for visibility
 TRADING STRATEGIES: 
Breakout Trading:
1. Wait for price to approach major or standard level
2. Monitor for consolidation near level
3. Enter on confirmed break above/beyond level
4. Stop loss just beyond the broken level
5. Target: Next major or standard level
Rejection Trading:
1. Identify major psychological level
2. Wait for price to test the level
3. Look for rejection signals (wicks, bearish/bullish candles)
4. Enter in direction of rejection
5. Stop beyond the level
6. Target: Previous level or mid-level
Range Trading:
1. Identify range between two major levels
2. Buy at lower psychological level
3. Sell at upper psychological level
4. Use standard and mid-levels for position management
5. Exit if major level breaks with volume
Confluence Trading:
1. Look for combined levels (Std + Major)
2. These represent high-probability zones
3. Use as primary support/resistance
4. Increase position size at confluence
5. Expect stronger reactions at these levels
Session-Based Trading:
1. Note opening level at session start (Asian/London/NY)
2. Trade breakouts of major levels during high-volume sessions
3. London/NY sessions: More likely to break levels
4. Asian session: More likely to respect levels (range trading)
 RISK MANAGEMENT WITH PSYCHOLOGICAL LEVELS: 
Stop Loss Placement:
- Place stops just beyond psychological levels
- Add buffer (5-10 pips for forex)
- Avoid exact round numbers (stop hunting risk)
- Use previous major level as maximum stop
Take Profit Strategy:
- First target: Next standard level (partial profit)
- Second target: Next major level (remaining position)
- Trail stops to breakeven at first target
- Use distance table to calculate risk/reward
Position Sizing:
- Larger positions at major levels (higher probability)
- Smaller positions at intraday levels (lower probability)
- Scale in at standard levels between major levels
- Reduce size when multiple levels are close together
 TIMEFRAME CONSIDERATIONS: 
Higher Timeframes (4H, Daily, Weekly):
- Focus on Major and Standard levels only
- Disable Intraday and Mid levels
- Wider level spacing expected
- Use for swing trading and position trading
Lower Timeframes (5m, 15m, 1H):
- Enable all level types
- Use Intraday levels for precision
- Tighter level spacing acceptable
- Good for day trading and scalping
Multi-Timeframe Approach:
- Identify major levels on Daily/4H charts
- Refine entries using 15m/1H intraday levels
- Trade in direction of higher timeframe bias
- Use lower timeframe levels for position management
───────────────────────────────────────
 CONFIGURATION GUIDE 
───────────────────────────────────────
GENERAL SETTINGS:
Dynamic ATR-Based Spacing:
- Enabled: Recommended for most markets
- Disabled: Fixed psychological levels
- ATR Period: 14 (standard), 10 (responsive), 20 (smooth)
- ATR Multiplier: 1.0-5.0 (2.0 is balanced)
VISIBILITY SETTINGS:
Visible Range %:
- 5%: Very tight range, minimal clutter
- 10%: Balanced view (recommended)
- 20%: Wide range, more context
- 50%: Maximum range, all levels visible
Label Offset:
- 10-20 bars: Close to current price
- 30-50 bars: Moderate distance
- 50-100 bars: Far from price action
Performance Limits:
- Max Historical Bars: Reduce if indicator loads slowly
- Max Labels: Reduce for cleaner chart (20-30 recommended)
LEVEL CUSTOMIZATION:
Line Count:
- Lower (1-3): Cleaner chart, fewer levels
- Medium (4-6): Balanced view
- Higher (7-10): More context, busier chart
Line Styles:
- Solid: High importance, easy to see
- Dashed: Medium importance, clear but subtle
- Dotted: Low importance, minimal visual weight
Colors:
- Use contrasting colors for different level types
- Red/Blue/Yellow default works well
- Adjust based on chart background and personal preference
DISTANCE TABLE:
Position:
- Top Right: Doesn't interfere with price action
- Top Left: Good for right-side price scale
- Bottom positions: Less common but available
Colors:
- Default (white text, dark background) works for most charts
- Match your chart theme for consistency
- Ensure text is readable against background
ALERT CONFIGURATION:
Alert by Level Type:
- Major: Most important, fewer false signals
- Standard: Balance of frequency and importance
- Intraday: Many signals, best for active traders
Alert Frequency:
- First Cross Only: Cleaner, less noise (recommended for swing trading)
- All Crosses: Every touch, good for scalping
Alert Setup in TradingView:
1. Configure desired alert types in indicator settings
2. Right-click chart → Add Alert
3. Select this indicator
4. Choose "Any alert() function call"
5. Set delivery method (mobile, email, webhook)
───────────────────────────────────────
 ASSET-SPECIFIC TIPS 
───────────────────────────────────────
FOREX (EUR/USD, GBP/USD, etc.):
- Major levels at x.x000, x.x500
- Standard levels at x.xx00
- Intraday levels at 20/50/80 pips
- Most effective during London/NY sessions
- Watch for "figure" levels (1.0000, 1.1000)
CRYPTOCURRENCIES (BTC, ETH, etc.):
- Enable dynamic spacing for volatile markets
- Levels adjust automatically based on price
- Watch major $1,000 increments for BTC
- $100 levels important for ETH
- Smaller caps: Use standard levels
- High volatility: Increase ATR multiplier to 3.0
STOCK INDICES (SPX, NASDAQ, etc.):
- 100-point levels most important
- 500-point levels for major S/R
- 50-point mid-levels for refinement
- Watch end-of-day for level reactions
- Futures often lead spot on level breaks
GOLD/COMMODITIES:
- Major levels at $50 increments ($1,900, $1,950)
- Standard levels at $10 increments
- Very reactive to psychological levels
- Watch for false breaks during low volume
- Best reactions during active trading hours
───────────────────────────────────────
 BEST PRACTICES 
───────────────────────────────────────
Chart Setup:
- Use clean price action charts
- Avoid too many indicators
- Ensure psychological levels are clearly visible
- Match colors to your chart theme
Level Selection:
- Start with Major and Standard levels only
- Add Mid and Intraday as needed
- Less is more - avoid chart clutter
- Adjust based on timeframe
Combining with Other Tools:
- Volume profile for confluence
- Trendlines intersecting psychological levels
- Moving averages near round numbers
- Fibonacci levels coinciding with psychological levels
Common Mistakes to Avoid:
- Trading every level touch (be selective)
- Ignoring volume confirmation
- Setting stops exactly at levels (stop hunting)
- Forgetting to adjust for different assets
- Over-relying on levels without price action confirmation
Performance Optimization:
- Reduce visible range for faster loading
- Lower max historical bars on lower timeframes
- Limit labels to 30-50 for clarity
- Disable unused level types
───────────────────────────────────────
 EDUCATIONAL DISCLAIMER 
───────────────────────────────────────
This indicator identifies psychological price levels based on round numbers that tend to act as support and resistance. The methodology includes:
- Round number detection algorithms
- ATR-based dynamic spacing calculations
- Asset-specific level determination
- Distance percentage calculations
Psychological levels are a recognized concept in technical analysis, studied by traders and institutions. However, they do not guarantee price reactions and should be used as part of a comprehensive trading strategy including proper risk management, volume analysis, and price action confirmation.
───────────────────────────────────────
 USAGE DISCLAIMER 
───────────────────────────────────────
This tool is for educational and analytical purposes. Psychological levels can act as support or resistance but price reactions are not guaranteed. Dynamic spacing may generate different levels in different market conditions. Always conduct independent analysis, use proper risk management, and never risk capital you cannot afford to lose. Past performance does not indicate future results.
───────────────────────────────────────
 CREDITS & ATTRIBUTION 
───────────────────────────────────────
Original Concept: Sonar Lab
Opening Range Breakout with Multi-Timeframe Liquidity]═══════════════════════════════════════
 OPENING RANGE BREAKOUT WITH MULTI-TIMEFRAME LIQUIDITY 
═══════════════════════════════════════
A professional Opening Range Breakout (ORB) indicator enhanced with multi-timeframe liquidity detection, trading session visualization, volume analysis, and trend confirmation tools. Designed for intraday trading with comprehensive alert system.
───────────────────────────────────────
 WHAT THIS INDICATOR DOES 
───────────────────────────────────────
This indicator combines multiple trading concepts:
- Opening Range Breakout (ORB) - Customizable time period detection with automatic high/low identification
- Multi-Timeframe Liquidity - HTF (Higher Timeframe) and LTF (Lower Timeframe) key level detection
- Trading Sessions - Tokyo, London, New York, and Sydney session visualization
- Volume Analysis - Volume spike detection and strength measurement
- Multi-Timeframe Confirmation - Trend bias from higher timeframes
- EMA Integration - Trend filter and dynamic support/resistance
- Smart Alerts - Quality-filtered breakout notifications
───────────────────────────────────────
 HOW IT WORKS 
───────────────────────────────────────
 OPENING RANGE BREAKOUT (ORB): 
Concept:
The Opening Range is a period at the start of a trading session where price establishes an initial high and low. Breakouts beyond this range often indicate the direction of the day's trend.
Detection Method:
- Default: 15-minute opening range (configurable)
- Custom Range: Set specific session times with timezone support
- Automatically identifies ORH (Opening Range High) and ORL (Opening Range Low)
- Tracks ORB mid-point for reference
Range Establishment:
1. Session starts (or custom time begins)
2. Tracks highest high and lowest low during the period
3. Range confirmed at end of opening period
4. Levels extend throughout the session
Breakout Detection:
- Bullish Breakout: Close above ORH
- Bearish Breakout: Close below ORL
- Mid-point acts as bias indicator
Visual Display:
- Shaded box during range formation
- Horizontal lines for ORH, ORL, and mid-point
- Labels showing level values
- Color-coded fills based on selected method
Fill Color Methods:
1. Session Comparison:
   - Green: Current OR mid > Previous OR mid
   - Red: Current OR mid < Previous OR mid
   - Gray: Equal or first session
   - Shows day-over-day momentum
2. Breakout Direction (Recommended):
   - Green: Price currently above ORH (bullish breakout)
   - Red: Price currently below ORL (bearish breakout)
   - Gray: Price inside range (no breakout)
   - Real-time breakout status
MULTI-TIMEFRAME LIQUIDITY:
Two-Tier System for comprehensive level identification:
HTF (Higher Timeframe) Key Liquidity:
- Default: 4H timeframe (configurable to Daily, Weekly)
- Identifies major institutional levels
- Uses pivot detection with adjustable parameters
- Suitable for swing highs/lows where large orders rest
LTF (Lower Timeframe) Key Liquidity:
- Default: 1H timeframe (configurable)
- Provides precision entry/exit levels
- Finer granularity for intraday trading
- Captures minor swing points
Calculation Method:
- Pivot high/low detection algorithm
- Configurable left bars (lookback) and right bars (confirmation)
- Timeframe multiplier for accurate multi-timeframe detection
- Automatic level extension
Mitigation System:
- Tracks when levels are swept (broken)
- Configurable mitigation type: Wick or Close-based
- Option to remove or show mitigated levels
- Display limit prevents chart clutter
Asset-Specific Optimization:
The indicator includes quick reference settings for different assets:
- Major Forex (EUR/USD, GBP/USD): Default settings optimal
- Crypto (BTC/ETH): Left=12, Right=4, Display=7
- Gold: HTF=1D, Left=20
 TRADING SESSIONS: 
Four Major Sessions with Full Customization:
Tokyo Session:
- Default: 04:00-13:00 UTC+4
- Asian trading hours
- Often sets daily range
London Session:
- Default: 11:00-20:00 UTC+4
- Highest liquidity period
- Major institutional activity
New York Session:
- Default: 16:00-01:00 UTC+4
- US market hours
- High-impact news events
Sydney Session:
- Default: 01:00-10:00 UTC+4
- Earliest Asian activity
- Lower volatility
Session Features:
- Shaded background boxes
- Session name labels
- Optional open/close lines
- Session high/low tracking with colored lines
- Each session has independent color settings
- Fully customizable times and timezones
VOLUME ANALYSIS:
Volume-Based Trade Confirmation:
Volume MA:
- Configurable period (default: 20)
- Establishes average volume baseline
- Used for spike detection
Volume Spike Detection:
- Identifies when volume exceeds MA * multiplier
- Default: 1.5x average volume
- Confirms breakout strength
Volume Strength Measurement:
- Calculates current volume as percentage of average
- Shows relative volume intensity
- Used in alert quality filtering
High Volume Bars:
- Identifies bars above 50th percentile
- Additional confirmation layer
- Indicates institutional participation
MULTI-TIMEFRAME CONFIRMATION:
Trend Bias from Higher Timeframes:
HTF 1 (Trend):
- Default: 1H timeframe
- Uses EMA to determine intermediate trend
- Compares current timeframe EMA to HTF EMA
HTF 2 (Bias):
- Default: 4H timeframe
- Uses 50 EMA for longer-term bias
- Confirms overall market direction
Bias Classifications:
- Bullish Bias: HTF close > HTF 50 EMA AND Current EMA > HTF1 EMA
- Bearish Bias: HTF close < HTF 50 EMA AND Current EMA < HTF1 EMA
- Neutral Bias: Mixed signals between timeframes
EMA Stack Analysis:
- Compares EMA alignment across timeframes
- +1: Bullish stack (lower TF EMA > higher TF EMA)
- -1: Bearish stack (lower TF EMA < higher TF EMA)
- 0: Neutral/crossed
Usage:
- Filters false breakouts
- Confirms trend direction
- Improves trade quality
 EMA INTEGRATION: 
Dynamic EMA for Trend Reference:
Features:
- Configurable period (default: 20)
- Customizable color and width
- Acts as dynamic support/resistance
- Trend filter for ORB trades
Application:
- Above EMA: Favor long breakouts
- Below EMA: Favor short breakouts
- EMA cross: Potential trend change
- Distance from EMA: Momentum gauge
SMART ALERT SYSTEM:
Quality-Filtered Breakout Notifications:
Alert Types:
1. Standard ORB Breakout
2. High Quality ORB Breakout
Quality Criteria:
- Volume Confirmation: Volume > 1.2x average
- MTF Confirmation: Bias aligned with breakout direction
Standard Alert:
- Basic breakout detection
- Price crosses ORH or ORL
- Icon: 🚀 (bullish) or 🔻 (bearish)
High Quality Alert:
- Both volume AND MTF confirmed
- Stronger probability setup
- Icon: 🚀⭐ (bullish) or 🔻⭐ (bearish)
Alert Information Includes:
- Alert quality rating
- Breakout level and current price
- Volume strength percentage (if enabled)
- MTF bias status (if enabled)
- Recommended action
One Alert Per Bar:
- Prevents alert spam
- Uses flag system to track sent alerts
- Resets on new ORB session
───────────────────────────────────────
 HOW TO USE 
───────────────────────────────────────
 OPENING RANGE SETUP: 
Basic Configuration:
1. Select time period for opening range (default: 15 minutes)
2. Choose fill color method (Breakout Direction recommended)
3. Enable historical data display if needed
Custom Range (Advanced):
1. Enable Custom Range toggle
2. Set specific session time (e.g., 0930-0945)
3. Select appropriate timezone
4. Useful for specific market opens (NYSE, LSE, etc.)
 LIQUIDITY LEVELS SETUP: 
Quick Configuration by Asset:
- Forex: Use default settings (Left=15, Right=5)
- Crypto: Set Left=12, Right=4, Display=7
- Gold: Set HTF=1D, Left=20
HTF Liquidity:
- Purpose: Major support/resistance levels
- Recommended: 4H for day trading, 1D for swing trading
- Use as profit targets or reversal zones
LTF Liquidity:
- Purpose: Entry/exit refinement
- Recommended: 1H for day trading, 4H for swing trading
- Use for position management
Mitigation Settings:
- Wick-based: More sensitive (default)
- Close-based: More conservative
- Remove or Show mitigated levels based on preference
TRADING SESSIONS SETUP:
Enable/Disable Sessions:
- Master toggle for all sessions
- Individual session controls
- Show/hide session names
Session High/Low Lines:
- Enable to see session extremes
- Each session has custom colors
- Useful for range trading
Customization:
- Adjust session times for your broker
- Set timezone to match your location
- Customize colors for visibility
 VOLUME ANALYSIS SETUP: 
Enable Volume Analysis:
1. Toggle on Volume Analysis
2. Set MA length (20 recommended)
3. Adjust spike multiplier (1.5 typical)
Usage:
- Confirm breakouts with volume
- Identify climactic moves
- Filter false signals
MULTI-TIMEFRAME SETUP:
HTF Selection:
- HTF 1 (Trend): 1H for day trading, 4H for swing
- HTF 2 (Bias): 4H for day trading, 1D for swing
Interpretation:
- Trade only with bias alignment
- Neutral bias: Be cautious
- Bias changes: Potential reversals
EMA SETUP:
Configuration:
- Period: 20 for responsive, 50 for smoother
- Color: Choose contrasting color
- Width: 1-2 for visibility
Usage:
- Filter trades: Long above, Short below
- Dynamic support/resistance reference
- Trend confirmation
ALERT SETUP:
TradingView Alert Creation:
1. Enable alerts in indicator settings
2. Enable ORB Breakout Alerts
3. Right-click chart → Add Alert
4. Select this indicator
5. Choose "Any alert() function call"
6. Configure delivery method (mobile, email, webhook)
Alert Filtering:
- All alerts include quality rating
- High Quality alerts = Volume + MTF confirmed
- Standard alerts = Basic breakout only
───────────────────────────────────────
 TRADING STRATEGIES 
───────────────────────────────────────
CLASSIC ORB STRATEGY:
Setup:
1. Wait for opening range to complete
2. Price breaks and closes above ORH or below ORL
3. Volume > average (if enabled)
4. MTF bias aligned (if enabled)
Entry:
- Bullish: Buy on break above ORH
- Bearish: Sell on break below ORL
- Consider retest entries for better risk/reward
Stop Loss:
- Bullish: Below ORL or range mid-point
- Bearish: Above ORH or range mid-point
- Adjust based on volatility
Targets:
- Initial: Range width extension (ORH + range width)
- Secondary: HTF liquidity levels
- Final: Session high/low or major support/resistance
ORB + LIQUIDITY CONFLUENCE:
Enhanced Setup:
1. Opening range established
2. HTF liquidity level near or beyond ORH/ORL
3. Breakout occurs with volume
4. Price targets the liquidity level
Entry:
- Enter on ORB breakout
- Target the HTF liquidity level
- Use LTF liquidity for position management
Management:
- Partial profits at ORB + range width
- Move stop to breakeven at LTF liquidity
- Final exit at HTF liquidity sweep
ORB REJECTION STRATEGY (Counter-Trend):
Setup:
1. Price breaks above ORH or below ORL
2. Weak volume (below average)
3. MTF bias opposite to breakout
4. Price closes back inside range
Entry:
- Failed bullish break: Short below ORH
- Failed bearish break: Long above ORL
Stop Loss:
- Beyond the failed breakout level
- Or beyond session extreme
Target:
- Opposite end of opening range
- Range mid-point for partial profit
SESSION-BASED ORB TRADING:
Tokyo Session:
- Typically narrower ranges
- Good for range trading
- Wait for London open breakout
London Session:
- Highest volume and volatility
- Strong ORB setups
- Major liquidity sweeps common
New York Session:
- Strong trending moves
- News-driven volatility
- Good for momentum trades
Sydney Session:
- Quieter conditions
- Suitable for range strategies
- Sets up Tokyo session
EMA-FILTERED ORB:
Rules:
- Only take bullish breaks if price > EMA
- Only take bearish breaks if price < EMA
- Ignore counter-trend breaks
Benefits:
- Reduces false signals
- Aligns with larger trend
- Improves win rate
───────────────────────────────────────
CONFIGURATION GUIDE
───────────────────────────────────────
OPENING RANGE SETTINGS:
Time Period:
- 15 min: Standard for most markets
- 30 min: Wider range, fewer breakouts
- 60 min: For slower markets or swing trades
Custom Range:
- Use for specific market opens
- NYSE: 0930-1000 EST
- LSE: 0800-0830 GMT
- Set timezone to match exchange
Historical Display:
- Enable: See all previous session data
- Disable: Cleaner chart, current session only
LIQUIDITY SETTINGS:
Left Bars (5-30):
- Lower: More frequent, sensitive levels
- Higher: Fewer, more significant levels
- Recommended: 15 for most markets
Right Bars (1-25):
- Confirmation period
- Higher: More reliable, less frequent
- Recommended: 5 for balance
Display Limit (1-20):
- Number of active levels shown
- Higher: More context, busier chart
- Recommended: 7 for clarity
Extension Options:
- Short: Levels visible near formation
- Current: Extended to current bar (recommended)
- Max: Extended indefinitely
VOLUME SETTINGS:
MA Length (5-50):
- Shorter: More responsive to spikes
- Longer: Smoother baseline
- Recommended: 20 for balance
Spike Multiplier (1.0-3.0):
- Lower: More sensitive spike detection
- Higher: Only extreme spikes
- Recommended: 1.5 for day trading
MULTI-TIMEFRAME SETTINGS:
HTF 1 (Trend):
- 5m chart: Use 15m or 1H
- 15m chart: Use 1H or 4H
- 1H chart: Use 4H or 1D
HTF 2 (Bias):
- One level higher than HTF 1
- Provides longer-term context
- Don't use same as HTF 1
EMA SETTINGS:
Length:
- 20: Responsive, more signals
- 50: Smoother, stronger filter
- 200: Long-term trend only
Style:
- Choose contrasting color
- Width 1-2 for visibility
- Match your trading style
───────────────────────────────────────
BEST PRACTICES
───────────────────────────────────────
Chart Timeframe Selection:
- ORB Trading: Use 5m or 15m charts
- Session Review: Use 1H or 4H charts
- Swing Trading: Use 1H or 4H charts
Quality Over Quantity:
- Wait for high-quality alerts (volume + MTF)
- Avoid trading every breakout
- Focus on confluence setups
Risk Management:
- Position size based on range width
- Wider ranges = smaller positions
- Use stop losses always
- Take partial profits at targets
Market Conditions:
- Best results in trending markets
- Reduce position size in choppy conditions
- Consider session overlaps for volatility
- Avoid trading near major news if inexperienced
Continuous Improvement:
- Track win rate by session
- Note which confluence factors work best
- Adjust settings based on market volatility
- Review performance weekly
───────────────────────────────────────
PERFORMANCE OPTIMIZATION
───────────────────────────────────────
This indicator is optimized with:
- max_bars_back declarations for efficient processing
- Conditional calculations based on enabled features
- Proper memory management for drawing objects
- Minimal recalculation on each bar
Best Practices:
- Disable unused features (sessions, MTF, volume)
- Limit historical display to reduce rendering
- Use appropriate timeframe for your strategy
- Clear old drawing objects periodically
───────────────────────────────────────
EDUCATIONAL DISCLAIMER
───────────────────────────────────────
This indicator combines established trading concepts:
- Opening Range Breakout theory (price action)
- Liquidity level detection (pivot analysis)
- Session-based trading (time-of-day patterns)
- Volume analysis (confirmation technique)
- Multi-timeframe analysis (trend alignment)
All calculations use standard technical analysis methods:
- Pivot high/low detection algorithms
- Moving averages for trend and volume
- Session time filtering
- Timeframe security functions
The indicator identifies potential trading setups but does not predict future price movements. Success requires proper application within a complete trading strategy including risk management, position sizing, and market context.
───────────────────────────────────────
USAGE DISCLAIMER
───────────────────────────────────────
This tool is for educational and analytical purposes. Opening Range Breakout trading involves substantial risk. The alert system and quality filters are designed to identify potential setups but do not guarantee profitability. Always conduct independent analysis, use proper risk management, and never risk capital you cannot afford to lose. Past performance does not indicate future results. Trading intraday breakouts requires experience and discipline.
───────────────────────────────────────
CREDITS & ATTRIBUTION
───────────────────────────────────────
ORIGINAL SOURCE:
This indicator builds upon concepts from LuxAlgo's-ORB
Advanced Smart Trading Suite with OTE═══════════════════════════════════════
 ADVANCED SMART TRADING SUITE WITH OPTIMAL TRADE ENTRY 
═══════════════════════════════════════
A comprehensive institutional trading system combining multiple advanced concepts including multi-timeframe liquidity analysis, order blocks, fair value gaps, and optimal trade entry zones. Features optional anti-repainting controls for confirmed signal generation.
───────────────────────────────────────
 WHAT THIS INDICATOR DOES 
───────────────────────────────────────
This all-in-one trading suite provides:
- Multi-Timeframe Liquidity Detection - HTF (Higher Timeframe), LTF (Lower Timeframe), and current timeframe liquidity sweep identification
- Order Blocks - Institutional accumulation/distribution zones with enhanced detection
- Fair Value Gaps (FVG) - Price imbalance detection
- Inverse Fair Value Gaps (iFVG) - Counter-trend imbalance zones
- Optimal Trade Entry (OTE) Zones - Fibonacci retracement-based entry zones (0.618-0.786)
- Trading Sessions - Asian, London, and New York session visualization
- Anti-Repainting Controls - Optional confirmed signals with adjustable confirmation bars
- Comprehensive Alert System - Notifications for all major events
───────────────────────────────────────
 HOW IT WORKS 
───────────────────────────────────────
 ANTI-REPAINTING SYSTEM: 
This indicator includes optional anti-repainting controls that fundamentally change how signals are generated:
Confirmed Mode (Recommended):
- Signals wait for confirmation bars before appearing
- No repainting - what you see is final
- Adjustable confirmation period (1-5 bars)
- Slight lag in signal generation
- Better for backtesting and systematic trading
Live Mode:
- Signals appear immediately as patterns develop
- May repaint as new bars form
- Faster signal generation
- Better for discretionary real-time trading
The confirmation system affects all features: liquidity sweeps, order blocks, FVGs, and OTE zones.
 LIQUIDITY SWEEP DETECTION: 
Three-Tier System:
1. Current Timeframe Liquidity:
   - Detects swing highs/lows on chart timeframe
   - Configurable lookback and confirmation periods
   - Session-tagged for context (Asian/London/NY)
   
2. HTF (Higher Timeframe) Key Liquidity:
   - Default: 4H timeframe (configurable to Daily/Weekly)
   - Strength-based filtering using ATR multipliers
   - Distance-based clustering prevention
   - Only strongest levels displayed (top 1-10)
   - Labels show timeframe and strength rating
   
3. LTF (Lower Timeframe) Key Liquidity:
   - Default: 1H timeframe (configurable)
   - Precision entry/exit levels
   - Strength-based ranking
   - Distance filtering to avoid clutter
Sweep Detection Methods:
- Wick Break: Any wick beyond the level
- Close Break: Close price beyond the level
- Full Retrace: Break and close back inside (stop hunt detection)
Buffer System:
- Configurable ATR-based buffer for sweep confirmation
- Prevents false positives from minor price fluctuations
 ORDER BLOCKS (Enhanced): 
Detection Methodology:
- Identifies the last opposing candle before significant structure break
- Bullish OB: Last red candle before bullish break
- Bearish OB: Last green candle before bearish break
Enhanced Filters:
1. Size Filter:
   - Minimum order block size (ATR-based)
   - Ensures significant zones only
2. Volume Filter:
   - Requires above-average volume (configurable multiplier)
   - Confirms institutional participation
3. Imbalance Filter:
   - Requires strong directional move after OB formation
   - Validates true institutional activity
Violation Detection:
- Wick-based: Any wick through the zone
- Close-based: Close price through the zone
- Automatic removal of broken order blocks
 FAIR VALUE GAPS (FVG): 
Bullish FVG: Gap between candle 3 low and candle 1 high (three-bar pattern)
Bearish FVG: Gap between candle 3 high and candle 1 low
Requirements:
- Minimum gap size (ATR-based)
- Clear price imbalance
- No overlap between the three candles
Fill Detection:
- Configurable fill threshold (default 50%)
- Tracks partial and complete fills
- Removes filled gaps to keep chart clean
 INVERSE FAIR VALUE GAPS (iFVG): 
What are iFVGs:
- Counter-trend FVGs that form after original FVG is filled
- Indicate potential reversal or continuation failure
- Form within specific timeframe after original FVG
Detection Rules:
- Must occur after a FVG is filled
- Must form within 20 bars of original FVG
- Minimum size requirement (ATR-based)
- Opposite direction to original FVG
Visual Distinction:
- Dashed border boxes
- Different color scheme from regular FVGs
- Combined labels when FVG and iFVG overlap
 OPTIMAL TRADE ENTRY (OTE) ZONES: 
Based on Fibonacci retracement principles used by institutional traders:
Concept:
After a structure break (swing high/low violation), price often retraces to specific Fibonacci levels before continuing. The OTE zone (0.618 to 0.786) represents the optimal entry area.
Bullish OTE Formation:
1. Swing low is formed
2. Structure breaks above previous swing high (bullish structure break)
3. Price retraces into 0.618-0.786 Fibonacci zone
4. Entry signal when price enters and holds in OTE zone
Bearish OTE Formation:
1. Swing high is formed
2. Structure breaks below previous swing low (bearish structure break)
3. Price retraces into 0.618-0.786 Fibonacci zone
4. Entry signal when price enters and holds in OTE zone
Key Fibonacci Levels:
- 0.618 (Golden ratio - primary target)
- 0.705 (Square root of 0.5 - institutional level)
- 0.786 (Square root of 0.618 - deep retracement)
Structure Break Requirement:
- Optional setting to require confirmed structure break
- Prevents premature OTE zone identification
- Ensures proper swing structure is established
Entry/Exit Tracking:
- Green checkmark: Price entered OTE zone validly
- Red X: Price exited OTE zone (stop or target)
- Real-time status monitoring
 TRADING SESSIONS: 
Displays three major trading sessions with full customization:
Asian Session (Tokyo + Sydney):
- Default: 01:00-13:00 UTC+4
- Typically lower volatility
- Sets up key levels for London open
London Session:
- Default: 11:00-20:00 UTC+4
- Highest liquidity period
- Major institutional moves
New York Session:
- Default: 16:00-01:00 UTC+4
- US market hours
- High impact news events
Features:
- Real-time status indicators (🟢 Open / 🔴 Closed)
- Session high/low tracking
- Overlap detection and highlighting
- Historical session display (0-30 days)
- Customizable colors and borders
───────────────────────────────────────
 HOW TO USE 
───────────────────────────────────────
 MASTER CONTROLS: 
Enable/disable major features independently:
- Trading Sessions
- Liquidity Sweeps (Current TF)
- HTF Liquidity Sweeps
- LTF Liquidity Sweeps
- Order Blocks
- Fair Value Gaps
- Inverse Fair Value Gaps
- Optimal Trade Entry Zones
 ANTI-REPAINTING SETUP: 
For Backtesting/Systematic Trading:
1. Enable "Use Confirmed Signals"
2. Set Confirmation Bars to 2-3
3. All signals will wait for confirmation
4. No repainting will occur
For Real-Time Discretionary Trading:
1. Disable "Use Confirmed Signals"
2. Signals appear immediately
3. Be aware signals may adjust with new bars
 MULTI-TIMEFRAME LIQUIDITY STRATEGY: 
Top-Down Analysis:
1. Identify HTF liquidity levels (4H/Daily) for major targets
2. Find LTF liquidity levels (1H) for entry refinement
3. Wait for HTF liquidity sweep (liquidity grab)
4. Enter on LTF order block in direction of HTF sweep
5. Target next HTF or LTF liquidity level
Liquidity Sweep Trading:
1. HTF liquidity sweep = major institutional move
2. Look for immediate reversal or continuation
3. Use order blocks for entry timing
4. Place stops beyond the swept liquidity
 SESSION-BASED TRADING: 
Asian Session Strategy:
1. Identify Asian session high/low
2. Wait for London or NY session to open
3. Trade breakouts of Asian range
4. Target previous day's highs/lows
 London/NY Session Strategy: 
1. Watch for liquidity sweeps at session open
2. Enter on order block confirmation
3. Use OTE zones for retracement entries
4. Target session high/low or HTF liquidity
 OTE ZONE TRADING: 
Setup Identification:
1. Wait for clear swing high/low formation
2. Confirm structure break in intended direction
3. Monitor for price retracement to 0.618-0.786 zone
4. Enter when price enters OTE zone with confirmation
Entry Rules:
- Bullish: Long when price enters OTE zone from above
- Bearish: Short when price enters OTE zone from below
- Stop loss: Beyond 0.786 level or swing extreme
- Target: Previous swing high/low or HTF liquidity
Exit Management:
- Indicator tracks when price exits OTE zone
- Red X indicates position should be managed/closed
- Use order blocks or FVGs for partial profit targets
 FAIR VALUE GAP STRATEGY: 
FVG Entry Method:
1. Wait for FVG formation
2. Monitor for price return to FVG
3. Enter on first touch of FVG zone
4. Stop beyond FVG boundary
5. Target: Fill of FVG or next liquidity level
iFVG Reversal Strategy:
1. Original FVG is filled
2. iFVG forms in opposite direction
3. Indicates failed move or reversal
4. Enter on iFVG confirmation
5. Target: Opposite end of range or next structure
Combined FVG + iFVG:
- When both overlap, indicator combines labels
- Represents high-probability reversal zone
- Use with order blocks for confirmation
 ORDER BLOCK STRATEGY: 
Entry Approach:
1. Wait for order block formation after structure break
2. Enter on first return to order block
3. Place stop beyond order block boundary
4. Target: Next order block or liquidity level
Confirmation Layers:
- Order block + FVG = strong confluence
- Order block + Liquidity sweep = institutional setup
- Order block + OTE zone = optimal entry
- Order block + Session open = high probability
Volume Analysis:
- Wider colored section = stronger institutional interest
- Use volume bars to confirm order block strength
- Higher volume order blocks = more reliable
───────────────────────────────────────
 CONFIGURATION GUIDE 
───────────────────────────────────────
 LIQUIDITY SETTINGS: 
Lookback: 5-30 bars
- Lower = more frequent, sensitive levels
- Higher = fewer, more significant levels
- Recommended: 15 for intraday, 20-25 for swing
Sweep Detection Type:
- Wick Break: Most sensitive
- Close Break: More conservative
- Full Retrace: Stop hunt detection
Sweep Buffer: 0-1.0 ATR
- Adds distance requirement for sweep confirmation
- Prevents false positives
- Recommended: 0.1 for most markets
 HTF/LTF LIQUIDITY: 
HTF Timeframe Selection:
- Swing trading: 1D or 1W
- Day trading: 4H or 1D
- Scalping: 1H or 4H
LTF Timeframe Selection:
- Swing trading: 4H or 1D
- Day trading: 1H or 4H
- Scalping: 15m or 1H
Strength Filters:
- Min Pivot Strength: Higher = fewer, stronger levels
- Min Distance: Higher = less clustering
- Recommended: 2.0 ATR for HTF, 1.5 ATR for LTF
 ORDER BLOCK SETTINGS: 
Swing Length: 5-20
- Controls sensitivity of structure break detection
- Lower = more order blocks, faster signals
- Higher = fewer order blocks, stronger signals
- Recommended: 8-10 for most timeframes
Enhancement Filters:
- Min Size: 0.5-1.5 ATR typical
- Volume Multiplier: 1.2-2.0 typical
- Imbalance: Enable for strongest signals only
 OTE SETTINGS: 
Swing Length: 5-50
- Controls OTE zone formation sensitivity
- Lower = more frequent, smaller moves
- Higher = fewer, larger trend moves
- Recommended: 10-15 for intraday
Require Structure Break:
- Enabled: Only shows OTE after confirmed break
- Disabled: Shows potential OTE zones earlier
- Recommended: Enable for higher probability setups
 FVG SETTINGS: 
Min FVG Size: 0.1-2.0 ATR
- Lower = more gaps detected
- Higher = only significant gaps
- Recommended: 0.5 ATR for most markets
Fill Threshold: 0.1-1.0
- Determines when gap is considered "filled"
- 0.5 = 50% fill required
- Higher = more conservative
iFVG Min Size: 0.1-2.0 ATR
- Typically smaller than regular FVG
- Recommended: 0.3 ATR
 ALERT SYSTEM: 
Available Alerts:
- Liquidity Sweeps (Current TF)
- HTF Liquidity Sweeps
- LTF Liquidity Sweeps
- Session Changes (Open/Close)
- OTE Entry Signals
Alert Setup:
1. Enable alerts in settings
2. Select specific alert types
3. Create TradingView alert using "Any alert() function call"
4. Configure delivery method (mobile, email, webhook)
Alert Messages Include:
- Event type and direction
- Confirmation status (if using confirmed mode)
- Price level
- Timeframe (for liquidity sweeps)
───────────────────────────────────────
 RECOMMENDED CONFIGURATIONS 
───────────────────────────────────────
For Day Trading (15m-1H charts):
- HTF Liquidity: 4H
- LTF Liquidity: 1H
- Liquidity Lookback: 15
- Order Block Swing Length: 8
- OTE Swing Length: 10
- Confirmed Signals: Enabled, 2 bars
For Swing Trading (4H-1D charts):
- HTF Liquidity: 1D or 1W
- LTF Liquidity: 4H
- Liquidity Lookback: 20
- Order Block Swing Length: 10
- OTE Swing Length: 15
- Confirmed Signals: Enabled, 2-3 bars
For Scalping (5m-15m charts):
- HTF Liquidity: 1H or 4H
- LTF Liquidity: 15m or 1H
- Liquidity Lookback: 10-12
- Order Block Swing Length: 6-8
- OTE Swing Length: 8
- Confirmed Signals: Optional
───────────────────────────────────────
 PERFORMANCE OPTIMIZATION 
───────────────────────────────────────
This indicator is optimized with:
- max_bars_back declarations for efficient lookback
- Automatic memory cleanup every 10 bars
- Conditional execution based on enabled features
- Drawing object limits to prevent performance degradation
Memory Management:
- Old liquidity zones automatically removed
- Filled FVGs/iFVGs cleaned up
- Exited OTE zones removed
- Mitigated order blocks deleted
Best Practices:
- Enable only needed features
- Use appropriate timeframe combinations
- Don't display excessive historical sessions
- Monitor drawing object counts on lower timeframes
───────────────────────────────────────
 EDUCATIONAL DISCLAIMER 
───────────────────────────────────────
This indicator combines multiple institutional trading concepts:
- Liquidity theory (where orders accumulate)
- Order flow analysis (institutional footprints)
- Price imbalance detection (FVGs)
- Fibonacci retracement theory (OTE zones)
- Session-based trading (time-of-day patterns)
All calculations use standard technical analysis methods:
- Pivot high/low detection
- ATR-based normalization
- Volume analysis
- Fibonacci ratios
- Time-based filtering
The indicator identifies potential setups but does not predict future price movements. Success depends on proper application within a complete trading plan including risk management, position sizing, and market context analysis.
───────────────────────────────────────
 USAGE DISCLAIMER 
───────────────────────────────────────
This tool is for educational and analytical purposes. Trading involves substantial risk of loss. The anti-repainting features provide confirmed signals but do not guarantee profitability. Always conduct independent analysis, use proper risk management, and never risk capital you cannot afford to lose. Past performance does not indicate future results.
Key Liquidity Advanced Multi-Timeframe Suite═══════════════════════════════════════
 KEY LIQUIDITY ADVANCED MULTI-TIMEFRAME SUITE 
═══════════════════════════════════════
A professional-grade indicator focused on identifying institutional liquidity levels across multiple timeframes, combined with order flow analysis and market structure tools.
───────────────────────────────────────
 WHAT THIS INDICATOR DOES 
───────────────────────────────────────
This tool specializes in multi-timeframe liquidity analysis with the following components:
- Multi-Timeframe Liquidity Levels - Track swing highs/lows on HTF (Higher Timeframe), LTF (Lower Timeframe), and CTF (Current Timeframe)
- Order Blocks - Identify institutional accumulation and distribution zones
- Premium/Discount Zones - Show price distribution relative to swing ranges
- Market Structure Breaks - Highlight significant trend changes
- Trading Sessions - Display major market session boundaries (Optional)
───────────────────────────────────────
 HOW IT WORKS 
───────────────────────────────────────
 MULTI-TIMEFRAME LIQUIDITY SYSTEM: 
The indicator uses a three-tier liquidity detection system:
1. HTF (Higher Timeframe) Liquidity:
   - Default: 4H timeframe (configurable to Daily, Weekly)
   - Identifies major institutional levels
   - Uses pivot detection with adjustable left/right bar parameters
   - Color-coded: Green for highs, Red for lows
2. LTF (Lower Timeframe) Liquidity:
   - Default: 1H timeframe (configurable)
   - Provides precision entry/exit levels
   - Color-coded: Blue for highs, Orange for lows
3. CTF (Current Timeframe) Liquidity:
   - Optional feature for chart timeframe levels
   - Color-coded: Purple for highs, Pink for lows
Calculation Method:
- Uses standard pivot high/low detection algorithm
- Configurable sensitivity via left bars (lookback) and right bars (confirmation)
- Levels automatically removed when price sweeps through them (mitigation)
- Optional display of mitigated levels with reduced opacity
 ORDER BLOCKS: 
Detection Logic:
- Bullish OB: Last bearish candle before significant bullish move
- Bearish OB: Last bullish candle before significant bearish move
- Uses swing length parameter to identify structural breaks
- Strength visualization showing buying vs selling pressure
Visual Elements:
- Split-colored boxes showing institutional sentiment
- Upper half: Bullish strength (teal)
- Lower half: Bearish strength (red)
- Labels positioned at center with institutional markers
Violation Detection:
- Configurable: Wick-based or Close-based
- Automatically removes broken order blocks
- Optional overlap hiding to keep chart clean
 PREMIUM/DISCOUNT ZONES: 
Zone Structure:
- Premium Zone: Upper 5% of swing range (institutional selling area)
- Equilibrium: Middle 5% representing fair value
- Discount Zone: Lower 5% of swing range (institutional buying area)
The zones dynamically update based on trailing swing extremes and adapt to current market structure.
 MARKET STRUCTURE BREAKS (MSB): 
Identifies when price breaks through significant swing points:
- Bearish MSB: Price closes below swing low
- Bullish MSB: Price closes above swing high
- Labels appear only on trend direction changes
- Horizontal lines extend from break point
 TRADING SESSIONS (Optional): 
Displays time-based session boxes for:
- Asian Session (Tokyo + Sydney combined)
- London Session
- New York Session
 Features: 
- Customizable session times and time zones
- Session high/low tracking
- Overlap detection showing when multiple sessions are active
- Fully configurable colors and display options
───────────────────────────────────────
 HOW TO USE 
───────────────────────────────────────
 MASTER TOGGLE CONTROLS: 
Use these to enable/disable major features:
- Key Liquidity Levels (Main feature)
- Premium/Discount Zones
- Order Blocks
- Market Structure Breaks
- Trading Sessions
 MULTI-TIMEFRAME LIQUIDITY STRATEGY: 
 Conservative Approach: 
1. Wait for HTF liquidity sweep (4H or Daily level)
2. Look for LTF confirmation (1H level hold)
3. Enter when order block forms at discount (bullish) or premium (bearish)
 Aggressive Approach: 
1. Trade LTF liquidity sweeps in direction of HTF trend
2. Use order blocks for entry refinement
3. Target next LTF or HTF liquidity level
 Range Trading: 
1. Identify premium and discount zones
2. Buy at discount, sell at premium
3. Use equilibrium as profit target or re-entry
 ORDER BLOCK TRADING: 
 Entry Method: 
1. Wait for order block formation (after structure break)
2. Enter on first return to order block zone
3. Place stop beyond the order block
 Strength Analysis: 
- Wider bullish section = stronger institutional buying
- Wider bearish section = more selling pressure
- Use this to gauge conviction
 Violation: 
- Order block broken = setup invalidated
- Look for next order block in continuation
 MARKET STRUCTURE TRADING: 
MSB signals potential trend change:
- Bearish MSB + Bearish OB = short opportunity
- Bullish MSB + Bullish OB = long opportunity
- Wait for retest of broken level for confirmation
───────────────────────────────────────
 CONFIGURATION GUIDE 
───────────────────────────────────────
 KEY LIQUIDITY SETTINGS: 
Pivot Detection:
- Left Bars (Default: 15): Lookback period for pivot identification
- Right Bars (Default: 5): Confirmation period
- Higher values = fewer, more significant levels
- Lower values = more frequent, sensitive levels
Timeframe Selection:
- HTF: Recommended 4H, 1D, or 1W for swing trading
- LTF: Recommended 1H or 4H for day trading
- CTF: Use for scalping on current chart timeframe
Display Options:
- Display Limit: Maximum number of levels shown per timeframe
- Extension: Short/Current/Max - how far lines extend
- Line Width: Visual prominence (1-5)
- Text Size: Label size adjustment
Mitigation:
- Remove: Delete levels when swept (cleaner chart)
- Show: Keep swept levels visible with reduced opacity
 ORDER BLOCKS SETTINGS: 
Core Parameters:
- Swing Length (Default: 8): Sensitivity for structure detection
- Show Last X (Default: 4): Number of active blocks displayed
- Violation Check: Choose Wick or Close-based invalidation
- Hide Overlap: Remove overlapping blocks for clarity
 PREMIUM/DISCOUNT ZONES: 
- Swing Detection Length (Default: 50): Range calculation period
- Longer period = broader zones, more stable
- Shorter period = tighter zones, more reactive
TRADING SESSIONS:
Time Configuration:
- Adjust session times for your timezone
- Use IANA timezone database format recommended
- Days to Show: Historical session display (0-10)
Visualization:
- Session boxes with colored backgrounds
- Optional high/low lines within each session
- Optional open/close lines
- Overlap highlighting when sessions coincide
───────────────────────────────────────
 ALERT SYSTEM 
───────────────────────────────────────
Available Alerts:
- HTF High Liquidity Hit
- HTF Low Liquidity Hit
Alert Configuration:
1. Enable HTF Liquidity Alerts in settings
2. Select specific alert types (High/Low)
3. Create TradingView alert with "Any alert() function call"
4. Alerts fire once per bar when liquidity is swept
Alert Message Format:
- Event type and description
- Timeframe information
- Current price
- Timestamp
───────────────────────────────────────
 RECOMMENDED TIMEFRAME COMBINATIONS 
───────────────────────────────────────
Swing Trading:
- Chart: 4H or 1D
- HTF Liquidity: 1D or 1W
- LTF Liquidity: 4H or 1D
Day Trading:
- Chart: 15m or 1H
- HTF Liquidity: 4H or 1D
- LTF Liquidity: 1H or 4H
Scalping:
- Chart: 5m or 15m
- HTF Liquidity: 1H or 4H
- LTF Liquidity: 15m or 1H
- Enable CTF Liquidity
───────────────────────────────────────
 PERFORMANCE NOTES 
───────────────────────────────────────
This indicator is optimized for performance:
- Uses max_bars_back declarations to limit lookback
- Conditional execution based on toggle settings
- Efficient array management for drawing objects
- Recommended for intraday timeframes only
- Sessions feature requires intraday timeframes
───────────────────────────────────────
 EDUCATIONAL DISCLAIMER 
───────────────────────────────────────
This indicator identifies areas where institutional orders may be positioned based on historical price action. It uses standard technical analysis techniques:
- Pivot point detection for liquidity levels
- Swing analysis for market structure
- Volume-weighted order block strength
- Time-based session filtering
The indicator does not predict future price movements. Always combine with your own analysis, risk management, and trading plan.
───────────────────────────────────────
 USAGE DISCLAIMER 
───────────────────────────────────────
This tool is for educational and analytical purposes. Past performance does not guarantee future results. Trading involves substantial risk of loss. Always conduct your own due diligence and never risk more than you can afford to lose.























