Wick Sweep & Liquidity Grab DetectorThis indicator helps you spot those subtle yet powerful market moments when price just barely sweeps the wick of the previous candle — triggering stops and grabbing liquidity — before pulling back to close inside the prior range .
These wick sweeps are classic signs of:
Stop hunts
Liquidity grabs
Trap candles
Or even smart money entries
You'll see:
🟢 A green dot when price wicks below the previous low but closes back inside — potential bullish reversal zone.
🔴 A red dot when price wicks above the previous high but closes back inside — potential bearish reversal zone.
Great for traders using:
Smart Money Concepts (SMC)
ICT-style setups
Reversal scalps
Or anyone looking to trade around liquidity zones
Includes built-in alerts for both bullish and bearish wick sweeps, and is designed with a clean, minimalist look to reduce chart noise.
Use this tool in confluence with your other edge — order blocks, imbalance zones, BOS/CHOCH, etc.
Ict
ICT Killzones Toolkit [LuxAlgo] (Auto-Daylight Time Mod)This script was originally created by @LuxAlgo ( ), and has been modified here to add automating updating for Daylight Savings Time. No other changes have been made, and this script may not (likely will not) be maintained in sync with the original script from LuxAlgo.
Session Range ProjectionsSession Range Projections
Purpose & Concept:
Session Range Projections is a comprehensive trading tool that identifies and analyzes price ranges during user-defined time periods. The indicator visualizes high-probability reversal zones and profit targets by projecting Fibonacci levels from custom session ranges, making it ideal for traders who focus on time-based market structure analysis.
Key Features & Calculations:
1. Custom Time Range Analysis
- Define any time period for range calculation - from traditional sessions (Asian, London, NY) to custom periods like opening ranges, hourly ranges, or 4-hour blocks
- Automatically captures the highest and lowest prices within your specified timeframe
- Supports multiple timezone selections for global market analysis
- Flexible enough for intraday scalping ranges or longer-term swing trading setups
2. Premium & Discount Zones
- Automatically divides the range into premium (above 50%) and discount (below 50%) zones
- Visual differentiation helps identify institutional buying and selling areas
- Color-coded boxes clearly mark these critical price zones
3. Optimal Trade Entry (OTE) Zones
- Highlights the 79-89% retracement zone in premium territory
- Highlights the 11-21% retracement zone in discount territory
- These zones represent high-probability reversal areas based on institutional order flow concepts
4. Fibonacci Projections
- Projects 11 customizable Fibonacci extension levels from the range extremes
- Levels extend both above and below the range for symmetrical analysis
- Each level can be individually toggled and color-customized
- Default levels include common retracement ratios: -0.5, -1.0, -2.0, -2.33, -2.5, -3.0, -4.0, -4.5, -6.0, -7.0, -8.0
How to Use:
Set Your Time Range: Input your desired session start and end times (24-hour format)
Select Timezone: Choose the appropriate timezone for your trading session
Customize Display: Toggle various visual elements based on your preferences
Monitor Price Action: Watch for reactions at projected levels and OTE zones
Set Alerts: Configure sweep alerts for when price breaks above/below range extremes
Input Parameters Explained:
Time Range Settings
Range Start/End Hour & Minute: Define your analysis period
Time Zone: Ensure accurate session timing across different markets
Visual Settings
Range Box: Toggle the premium/discount zone visualization
Horizontal Lines: Customize high/low line appearance
Internal Range Levels: Show/hide equilibrium and OTE zones
Labels: Configure text display for key levels
Fibonacci Projections: Enable/disable extension levels
Display Settings
Historical Ranges: Show up to 10 previous session ranges
Alert Type: Choose between high sweep, low sweep, or both
Trading Applications:
Session-Based Trading: Analyze specific market sessions (Asian, London, New York, opening ranges, hourly ranges)
Reversal Trading: Identify high-probability reversal zones at OTE levels
Breakout/Reversal Trading: Monitor range breaks/reversals with built-in sweep alerts
Risk Management: Use Fibonacci projections as profit targets or rejection areas
Multi-Timeframe Analysis: Apply to any timeframe for various trading styles
Important Notes:
This indicator is for educational purposes only and should not be considered financial advice
Past performance does not guarantee future results
Always use proper risk management when trading
The indicator automatically manages historical data to maintain chart performance
Failed 2s - The StratDescription:
This indicator detects and highlights "Failed 2" candlestick patterns from The Strat methodology — key price action setups signaling potential reversals or continuation points. It automatically identifies Failed 2 Down (Failed 2D) and Failed 2 Up (Failed 2U) signals by analyzing two consecutive bars, with special attention to price interaction at the 50% midpoint of the previous candle.
Visuals:
- Green upward triangles mark Failed 2 Down signals (bullish setups).
- Red downward triangles mark Failed 2 Up signals (bearish setups).
- Special signals that touch the 50% midpoint of the previous candle are emphasized but use the same shapes.
Alerts:
Built-in alert conditions let you receive notifications when these patterns occur, so you never miss a trade opportunity.
How to Use ALERTS in TradingView
- Paste this code into Pine Editor on TradingView.
- Click Add to Chart.
Set alerts:
- Click "Alerts" → "Condition" = your indicator name
- Choose the alert type (e.g. "Failed 2D Bar Alert")
- Set "Once per bar close"
- Customize the notification method (pop-up, app, email, etc.)
Turtle Soup 🐢This indicator automatically detects and plots “false breakouts” (also known as the “Turtle Soup” pattern) of an initial price move—both in bullish and bearish scenarios. It’s based on identifying the first candle (B1), whether it’s bullish or bearish, and then looking for a quick price reversal that breaks below (or above) B1’s low (or high) before closing back inside its range.
Important High & Low ⚖️This indicator automatically identifies and plots horizontal lines on the chart at significant price-reversal points.
Two “setup” styles are available to the user:
Normal (identifies classic reversal configurations)
Special (…)
The “Important High” lines appear at key highs, and the “Important Low” lines appear at key lows.
Golden SweepThe Golden Sweep is a confluence-based indicator built for traders who prioritize high-quality, low-frequency entries. It identifies potential inverse Fair Value Gap (iFVG) setups — but only when five independent conditions align.
No signal appears unless every enabled filter confirms.
Built-in Filters (All Must Trigger for a Signal):
✅ Liquidity Sweep Confirmation
– Detects key stop hunts and engineered liquidity grabs at swing highs/lows.
✅ VWAP Band Precision
– Signals only when price aligns with specific VWAP deviation zones, mimicking real institutional behavior.
✅ BPR Zones
– Highlights key Balanced Price Range zones
✅ Turtle Soup Style Reversals
– Classic ICT fakeout model built-in. Catch the trap, not the bait.
✅ Session Timing Filters
– Control exactly when the model is active: NY Open, Power Hour, London Close — you name it.
💡 Optional Visual Overlays:
Fair Value Gaps (FVG & iFVG)
VWAP & Deviation Bands
Order Blocks & Breaker Blocks
PDH, PDL, NYO levels
Toggle on what you want. Keep your chart clean or turn it into a precision control room.
⚠️ Disclaimer:
This indicator is for educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Trading involves risk — always do your own research and use proper risk management.
Custom Session ZonesCreate your own custom market session zones. Currently marks for Asia, London, NY, NY Open, ICT Silver Bullet AM/PM timings.
Volume Levels - QuantShok* Beta version * Updates will be made. This indicator shows you where buyers and sellers lie in the market. The script is very heavy so you have too play around with the setting for it too run properly.
DSI Bias Engine - QuantShokUses a math equation i made too determine how strong a high/low is which using ICT determines were liquidity will be hunted.
9AM/10AM opensPrice lines for the 9AM/10AM hourly candle opens. (OLHC/OHLC)
Lines extend only to the next hourly candle open (12 5m bars, can customize in source code)
Color customizable
CandelaCharts - Unicorn Model📝 Overview
The Unicorn Model is an advanced indicator that pinpoints high-probability reversal setups based on the ICT Unicorn formation. It uses a zigzag-based structure to detect engineered liquidity grabs followed by sharp displacements in the opposite direction—ideal for fade entries or the start of new trends.
The indicator is enhanced with macro time filters, allowing it to align model detections with key trading sessions and institutional flow windows.
The ICT Unicorn Model is a precision-driven intraday strategy rooted in smart money concepts. It combines time-of-day sensitivity, engineered liquidity runs, and institutional order flow to uncover high-quality trading opportunities.
📦 Features
Liquidity Levels: Projects forward-looking liquidity zones after a Unicorn model is confirmed, highlighting potential price targets. These zones act as magnet areas where price is likely to be drawn, helping traders manage exits, partials, and re-entries with greater precision.
Unicorn: The Unicorn formation utilizes a smart money framework and a dynamic zigzag detection method to identify engineered liquidity grabs—sharp sweeps of previous highs or lows—followed by impulsive reversals.
Macros: These time-based intervals represent key moments when institutional algorithms are most active, seeking liquidity, rebalancing, or delivering price to key levels like fair value gaps and liquidity pools.
Custom TF Pairing: Choose your preferred combination of entry timeframe and context timeframe. For example, trade 5m setups within a 1h HTF bias, allowing precise alignment of microstructure with broader directional intent.
HTF & LTF PD Arrays: Displays high- and low-timeframe PD Arrays (e.g., Fair Value Gaps, Inversion Fair Value Gaps) that act as zones of interest or rejection, enhancing confluence and risk control.
History: Backtest previous Unicorn setups directly on the chart. Toggle historical models to analyze past behavior, improve your confidence, and fine-tune your trade execution across varying market regimes.
Killzone Filter: Restrict signal generation to specific trading sessions or killzones (e.g., London Open, New York AM). This minimizes false positives in low-volume or overlapping ranges.
Standard Deviation: Dynamically calculates and plots four deviation bands from the model confirmation point. These levels offer insight into stretch targets, volatility bands, and potential mean-reversion zones.
Dashboard: A real-time control panel showing the active model, HTF candle timer, current directional bias, asset name, and session date—offering clarity and fast decision-making at a glance.
⚙️ Settings
Core
Status: Filter models based on status
Bias: Controls what model type will be displayed, bullish or bearish
Fractal: Controls the timeframe pairing that will be used
Length: Sets the maximum number of candles allowed for a model to develop
Labels: Display the model label (e.g., C1, C2, Cn)
Unicorn
Zigzag: Adjusts the length of the Zigzag formation
Breaker: Defines the style of Breaker Blocks
Sweeps
Sweep: Shows the sweep that forms a model
I-sweep: Controls the visibility of invalidated sweeps
D-purge: Plots the double purge sweeps
S-area: Highlights the sweep area
Liquidity
Liquidity: Displays the liquidity levels that belong to the model
History
History: Controls the number of past models displayed on the chart
Filters
Asia: Filter models based on Asia Killzone hours
London: Filter models based on London Killzone hours
NY AM: Filter models based on NY AM Killzone hours
NY Launch: Filter models based on NY Launch Killzone hours
NY PM: Filter models based on NY PM Killzone hours
Custom: Filter models based on user Custom hours
HTF
Candles: Controls the number of HTF candles that will be visible on the chart
NY Open: Display True Day Open line
Offset: Controls the distance of HTF from the current chart
Space: Controls the space between HTF candles
Size: Controls the size of HTF candles
PD Array: Displays ICT PD Arrays
CE Line: Style the equilibrium line of PD Array
Border: Style the border of the PD Array
LTF
H/L Line: Displays on the LTF chart the High and Low of each HTF candle
O/C Line: Displays on the LTF chart the Open and Close of each HTF candle
PD Array: Displays ICT PD Arrays
CE Line: Style the equilibrium line of PD Array
Border: Style the border of the PD Array
Standard Deviation
StDev: Controls standard deviation of available levels
Labels: Controls the size of standard deviation levels
Anchor: Controls the anchor point of standard deviation levels (wick, body)
Lines: Controls the line widths and color of standard deviation levels
Dashboard
Panel: Display information about the current model
💡 Framework
The Unicorn Model analyzes price action by combining key elements to identify high-probability trade setups. It detects liquidity sweeps and uses a zigzag method to spot Breaker Blocks. The model maps PD Arrays like Fair Value Gaps and Inversion FVGs for precision zones, integrates macro time filters for context, and projects forward price targets based on liquidity clusters. Together, these components provide a clear framework to anticipate market trends and optimize entries and exits.
The model incorporates the following timeframe pairing:
15s - 5m
1m - 15m
1m - 30m
2m - 20m
3m - 30m
3m - 60m
5m - 1H
15m - 4H
15m - 8H
30m - 9H
30m - 12H
1H - 1D
2H - 2D
3H - 3D
4H - 1W
8H - 2W
12H - 3W
1D - 1M
2D - 2M
1W - 3M
2W - 6M
3W - 9M
1M - 12M
Below are the key components that make up the model:
Sweep
D-purge
Zigzag (Breaker)
PD Arrays (FVG, IFVG)
Macros
Standard Deviation
Liquidity
The Unicorn Model operates through a defined lifecycle that tracks its current stage, helping to assess the validity of potential trade opportunities.
The model's lifecycle includes the following statuses:
Formation (grey)
Invalidation (red)
Success (green)
Through the phases of Formation, Invalidation, and Success, traders can effectively manage positions, minimize risk, and capitalize on the high-probability setups presented by the Unicorn Model.
⚡️ Showcase
The Unicorn Model is an advanced trading framework designed to elevate your market analysis and increase your trading edge. By leveraging smart money concepts and sophisticated pattern detection, it helps you spot key liquidity sweeps, reversal zones, and high-probability setups, enabling more precise entries, exits, and risk management tailored to market structure.
LTF PD Array
LTF PD Arrays are crucial to the Unicorn Model and must align with the Zigzag Breaker for the setup to be considered valid.
HTF PD Array
Higher-Timeframe PD Arrays deliver essential macro context, serving to validate both the direction and momentum of potential reversals.
Timeframe Alignment
Timeframe alignment is a fundamental element of the Unicorn trading model. By integrating multi-timeframe context, the model effectively identifies high-probability models.
Killzone Filters
Filter Unicorn Models according to key market sessions—Asia, London, New York AM, New York Launch, and New York PM—to target periods of high liquidity. This approach improves the accuracy and timing of trade setups by capturing moments when smart money is most active.
Macros
The Unicorn Model uses ICT Macro Times to identify key trading periods when institutional activity is most intense. By syncing setups with these critical windows, the model improves accuracy and provides better context for entries, risk management, and potential reversals.
Gain a trading advantage with the Unicorn Model — your essential tool for clearer insights, smarter decision-making, and more confident trade execution.
🚨 Alerts
This script provides alert options for all model types, which must be configured within TradingView.
Bearish Model
A bearish model alert is triggered when a model forms, signaling a 4 Zigzag points formation and a bearish Breaker.
Bullish Model
A bullish model alert is triggered when a model forms, signaling a 4 Zigzag points formation and a bullish Breaker.
⚠️ Disclaimer
These tools are exclusively available on the TradingView platform.
Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.
By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.
We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.
By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.
1st FVGOverview
This indicator is specifically designed for intraday price action traders who focus on the NASDAQ opening range. Its primary function is to automatically identify, plot, and alert on the very first Fair Value Gap (FVG) that forms during the critical 30-minute window of the New York morning session, from 9:30 AM to 10:00 AM ET.
The script intelligently ignores any gaps that rely on pre-market data, ensuring that the detected FVG is a true imbalance created by the initial volume and volatility of the regular trading session. This tool helps traders to quickly pinpoint a key area of interest right after the market opens.
Key Features
First FVG Detection: Pinpoints only the initial FVG of the session and ignores all subsequent ones for the day.
Specific Time Window: Operates strictly between 9:30 and 10:00 AM New York time.
Strict Formation Rule: To ensure accuracy, the entire 3-bar FVG pattern must form at or after the 9:30 AM candle. This prevents false signals from pre-market price action.
Visual Price Zones: Automatically draws a clean, colored box around the FVG, making the zone easy to see. The box can be extended to track future price interactions.
Customizable Display: Control how many historical FVGs to show on your chart and how far the zone extends to the right.
Built-in Alerts: Get real-time notifications the moment the first FVG is confirmed, so you never miss a potential setup.
How It Works
The indicator scans the price action candle by candle. Once the 9:30 AM ET session begins, it looks for the first valid 3-bar FVG pattern (also known as a price imbalance).
A Bullish FVG is identified when the low of the current candle is higher than the high of the candle two periods ago.
A Bearish FVG is identified when the high of the current candle is lower than the low of the candle two periods ago.
Once the first FVG for the day is detected and plotted, the script will remain dormant until the next trading day begins, keeping your chart clean and focused.
Settings
Number of FVG History: Controls how many of the most recent daily FVGs are displayed on the chart.
Extend Box To End: A checkbox to extend the FVG zone all the way to the right edge of the chart. This is useful for tracking how price interacts with the zone later in the day.
Manual Box Length: If the "Extend Box" option is unchecked, this input sets a fixed length for the box (in number of bars).
How to Set Up Alerts
Add the indicator to your chart.
Click the 'Alert' icon (alarm clock) in the TradingView toolbar.
In the 'Condition' dropdown menu, select "1st FVG".
A second dropdown will appear, which should be set to "Alert Function Call".
Choose your preferred notification options (e.g., pop-up, email, app notification).
Click 'Create'.
Disclaimer: This indicator is a tool for technical analysis and should not be considered as financial advice. Always use proper risk management and conduct your own research before making any trading decisions.
Simple Fractals with Wick Filter & BOSThis advanced fractal indicator combines traditional Williams Fractal analysis with sophisticated wick filtering and Break of Structure (BOS) detection to identify high-probability reversal points and structural breaks in price action.
🔍 How It Works
Fractal Detection: Uses the classic Williams Fractal methodology to identify swing highs and lows. A fractal high occurs when a candle's high is greater than N periods before and after it. Similarly, a fractal low occurs when a candle's low is lower than N periods on both sides.
Wick Filtering: Only displays fractals where the rejection wick meets a minimum threshold, ensuring the fractal represents genuine price rejection rather than minor fluctuations.
Break of Structure (BOS): Monitors when strong candles close beyond previous fractal levels within a specified lookback period, indicating potential trend changes or continuation patterns.
⚙️ Parameter Guide
Periods (Default: 7) - Controls fractal sensitivity
Wick Threshold (Default: 0.4 / 40%) - Minimum wick size relative to total candle range
BOS Lookback Bars (Default: 90) - How far back to monitor fractal levels for potential breaks
Strong Candle Body % (Default: 0.5 / 50%) - Minimum body size required to trigger BOS, Higher values reduce false signals but may miss some valid breaks
📊 Visual Elements
Colored Dots: Small circles mark validated fractals
Top Wick Fractals: Customizable color (default red) above bars
Bottom Wick Fractals: Customizable color (default green) below bars
BOS Lines: Dotted horizontal lines connecting fractal origin to break point
Green Lines: Bullish BOS (price closes above fractal high)
Red Lines: Bearish BOS (price closes below fractal low)
Faded Fractals (Optional): Shows all fractals that didn't meet wick requirements for comparison
🔔 Alerts
The indicator includes built-in alerts for:
High fractal formation with sufficient wick
Low fractal formation with sufficient wick
TradeJorno - Time + Price Levels
Tired of manually drawing and updating important ICT or SMC time and price levels on your charts every day?
Here’s an indicator to draw important TIME and PRICE levels automatically.
Here’s what you can highlight in realtime on your charts:
1. Previous major highs and lows
⁃ Previous daily and weekly highs and low
- Weekly dividing lines
2. Session highs/lows
⁃ Plot the high and low of Asia and London sessions.
⁃ Customise the timeframe and appearance on the chart.
- Previous session settlement price.
3. Various price levels
⁃ Pre-market opening prices : midnight, 7:30 and 8:30
⁃ Regular market opening prices: 9:30, 10:00, 14:00
- end of session settlement prices
4. Market opening range high and low
⁃ Lines extending throughout the current session
⁃ Customise the timeframe and appearance on the chart.
5. ICT Macro times
- Draw customisable vertical lines and labels to indicate the start of each ICT macro
period.
Let us know in the comments below if there’s anything else we need to add!
Power of Three FractalsIntroducing Power of Three Fractals—an advanced, all-in-one TradingView toolkit designed to bring higher timeframe context directly onto your primary chart. This isn't just another candle overlay; it's a sophisticated analytical suite built for the serious price action trader. Developed with the core principles of "smart money" concepts, this indicator helps you see the market in a new dimension.
Key Features:
Floating Candlestick Display:
Forget cluttered chart backgrounds. Power of Three Fractals displays your chosen higher timeframe candles as a clean, stylized series of candlesticks in a dedicated space on the right side of your chart, allowing you to analyze HTF structure without losing focus on live price action.
Intelligent Adaptive Timeframe:
This is a game-changer. If you set the indicator to show 4H candles but switch your main chart to the Daily, it won't produce an error. Instead, it automatically adapts, recognizing the invalid selection and seamlessly switching to display the next logical timeframe (e.g., Weekly candles). This provides a flawless analytical experience as you move through timeframes.
Precision High/Low Anchors:
Dotted Lines: Instantly see which lower timeframe (LTF) candle created the high and low of the current HTF candle. This is perfect for visualizing manipulation wicks and the true Power of Three delivery.
Solid Lines: Automatically identify the absolute highest high and lowest low across the entire displayed range of HTF candles. The script then draws a solid line back to the exact LTF candle that formed these critical points, defining your true trading range. This feature intelligently hides itself if the current candle is making the high/low to avoid unnecessary clutter.
Automated Liquidity Sweep Detection:
This powerful, built-in algorithm automatically identifies one of the most critical price action events: a liquidity sweep. When a newer HTF candle takes the low of the oldest displayed candle and then closes back above it, the indicator instantly alerts you.
It draws a dashed line from the initial low to the end of the range and places a bold 'x' marker below the specific candle that performed the sweep, giving you a clear, unmissable signal of this key market event.
Integrated HTF Countdown Timer:
Stay perfectly in sync with the market. A clean, floating timer in the bottom-right corner displays a live countdown to the close of your selected higher timeframe candle, complete with a header so you always know which timeframe you're tracking.
Fully Customizable Aesthetics:
Tailor the indicator to your personal chart theme. You have full control over the colors of bullish/bearish candles, wicks, and all connecting lines, allowing for a seamless visual integration.
Who Is This Indicator For?
The Power of Three Fractals indicator is built for the discerning trader who understands that context is key. It is ideal for:
Day Traders & Scalpers needing constant awareness of higher timeframe control.
Swing Traders looking to time entries based on HTF structure and LTF shifts.
Price Action & "Smart Money Concept" Traders who utilize concepts like liquidity sweeps, order blocks, and fractals.
What You Get:
Access to the Power of Three Fractals indicator on TradingView.
All future updates, bug fixes, and feature enhancements.
Stop trading in the dark. Elevate your analysis, gain a critical edge, and make more informed trading decisions with the Power of Three Fractals indicator.
Disclaimer: The Power of Three Fractals is an analytical tool and should not be considered financial advice or a signal service. All trading involves risk, and past performance is not indicative of future results. Please use this tool as part of a comprehensive trading plan with proper risk management.
CISD Levels by HAZEDCISD Levels by HAZED - Advanced Market Structure Analysis
📊 Overview
The CISD Levels indicator is a sophisticated market structure analysis tool that automatically identifies and plots critical support and resistance levels based on Change in State Direction (CISD) methodology. This indicator helps traders visualize key market turning points and potential breakout/breakdown levels with precision.
🎯 What are CISD Levels?
CISD (Change in State Direction) levels represent significant price points where market sentiment shifts from bullish to bearish or vice versa. These levels are dynamically calculated based on:
Market structure breaks (higher highs/lower lows)
Pullback patterns and trend continuations
Real-time price action analysis
Dynamic level updates as market conditions evolve
✨ Key Features
🔥 Smart Level Detection
Automatically identifies bullish (+CISD) and bearish (-CISD) levels
Real-time updates as market structure evolves
Intelligent pullback detection algorithm
🎨 Full Customization
Colors: Customize bullish/bearish level colors
Line Styles: Choose from solid, dotted, or dashed lines
Text Labels: Fully customizable text, size, and font options
Transparency: Adjustable line transparency (0-100%)
Extensions: Control how far lines extend into the future
📈 Historical Analysis
Show All Levels: Option to display historical CISD levels
Max Levels Control: Limit the number of historical levels shown (1-50)
Level Management: Automatic cleanup of old levels
🚨 Smart Alerts
Bullish Alerts: Get notified when price breaks above +CISD levels
Bearish Alerts: Get notified when price breaks below -CISD levels
Alert Frequency: Choose between "Once Per Bar" or "Once Per Bar Close"
📊 Statistics Table
Market State: Current bullish/bearish market condition
Active Levels: Count of currently active CISD levels
Latest Levels: Display of most recent +CISD and -CISD values
Positioning: 5 different table positions available
🛠️ How to Use
For Swing Traders:
Use CISD levels as key support/resistance zones
Enter positions on level breaks with proper risk management
Set stop losses below/above opposite CISD levels
For Day Traders:
Watch for price reactions at CISD levels
Use levels for entry/exit timing
Combine with volume analysis for confirmation
For Position Traders:
Identify major market structure changes
Use higher timeframe CISD levels for strategic entries
Monitor level breaks for trend continuation signals
⚙️ Settings Guide
CISD Level Settings
Bullish/Bearish Colors: Customize level appearance
Custom Text: Add your own labels to levels
Alert Setup: Enable notifications for level breaks
Historical Levels: Choose to show past levels for context
Appearance Customization
Line Width: 1-5 pixel thickness options
Line Style: Solid, dotted, or dashed
Extension Bars: Control future projection (1-50 bars)
Text Options: Size, font, and bold formatting
Statistics Table
Enable/Disable: Toggle table visibility
Position: 5 placement options on chart
Real-time Data: Live market state and level information
🎯 Best Practices
Multi-Timeframe Analysis: Use CISD levels across different timeframes for confluence
Risk Management: Always use proper position sizing and stop losses
Confirmation: Combine with volume, momentum, or other indicators
Market Context: Consider overall market conditions and news events
Backtesting: Test the levels on historical data before live trading
📋 Technical Specifications
Overlay: True (plots directly on price chart)
Max Lines: 500 (handles multiple historical levels)
Max Labels: 500 (supports extensive labeling)
Real-time Updates: Dynamic level calculation and alerts
Performance: Optimized code for smooth chart operation
🚀 Why Choose CISD Levels?
Precision: Advanced algorithm for accurate level identification
Flexibility: Extensive customization options for any trading style
Reliability: Proven market structure analysis methodology
User-Friendly: Intuitive settings with helpful tooltips
Professional: Clean, professional appearance on any chart
📞 Support & Updates
This indicator is actively maintained and updated. For questions, suggestions, or feature requests, feel free to reach out through TradingView messaging.
⚠️ Disclaimer: This indicator is for educational and informational purposes only. Always conduct your own analysis and risk management. Past performance does not guarantee future results.
MarketMastery Suite by DGTAll-in-One Trading Framework for Price Action, Smart Money, and Market Structure
Unlock a complete, institutional-grade toolkit built for modern traders. The MarketMastery Suite blends advanced price action logic, multi-timeframe structure detection, capital flow analytics, and liquidation-based risk tools — empowering you to decode market behavior with confidence.
Whether you're identifying smart money zones, anticipating structural shifts, or managing position risk, MarketMastery Suite delivers actionable and adaptive insights.
KEY FEATURES
---------------------------------------------------------------------------------------------------------------
⯌ Dynamic Support & Resistance Zones
Automatically detects major Support and Resistance zones based on adaptive logic derived from ICT-style OBs and BBs. Rather than using fixed lookbacks, the script applies swing-based detection to reveal significant levels across Local, Regional, Global, and Macro structures — pinpointing areas of likely institutional interest.
⯌ Trend Stop & Range Detection
Tracks market bias with a smart 3-tier trailing stop that filters noise and identifies potential breakouts, traps, or directional flips — even in ranging conditions.
⯌ Fractal Market Structure & Shift Detection
Detects real-time Break of Structure (BoS) and Change of Character (CHoCH) events across fractal structure levels — Local to Macro — helping confirm or anticipate market shifts.
⯌ Volume & Capital Flow Analysis
Highlights volume spikes and overlays Cumulative Volume Delta (CVD) and Open Interest (OI) to uncover buyer/seller intent and momentum pressure shifts.
⯌ Trend Snapshot Dashboard
A clean, mobile-friendly dashboard that shows live trend strength, directional flow (Price, OI, CVD), and key capital activity, anchored to the latest swing evaluation window.
⯌ Liquidation Risk Zones
Visualizes liquidation and margin thresholds based on leverage, entry price, and maintenance margin — essential for futures risk planning.
ALERT MESSAGES
---------------------------------------------------------------------------------------------------------------
Support & Resistance Events
"Rejection {count} at Support · Support ≈ {value}"
"Support Retest {count} After Break · Support ≈ {value}"
"Rejection {count} at Resistance · Resistance ≈ {value}"
"Resistance Retest {count} After Break · Resistance ≈ {value}"
Support & Resistance Transitions
"Support Broken · {value} → Becomes Resistance"
"Resistance Broken · {value} → Becomes Support"
Market Structure Alerts
"{fractal depth} {Bullish|Bearish} Break of Structure detected."
"{fractal depth} {Bullish|Bearish} Change of Character detected."
Bias Transitions
"{Bullish|Bearish} Bias — Trailing stop flipped {upward|downward} {volume activity}"
"Potential {Bullish|Bearish} Flip — Early signs of {upward|downward} pressure {volume activity}"
"Ranging or Transitioning — Market lacks a clear trend {volume activity}"
Volume Spike
"Extreme volume spike detected!"
DISCLAIMER
---------------------------------------------------------------------------------------------------------------
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Breaker Blocks & Unicorns (with Deviations) by RiseBreaker Block and Unicorns (with Deviations) - The Highest Probability ICT Pattern
This advanced indicator identifies and tracks ICT Breaker Blocks, while incorporating powerful supplementary features including Unicorn patterns and customizable deviation levels.
These patterns develop through a precise market structure sequence culminating in structural breaks. Following Breaker Block confirmation, users can optionally enable highly customizable deviation levels. Additionally, the indicator can scan active Breaker Blocks for overlapping Fair Value Gaps (FVGs) and Inverted Fair Value Gaps (IFVGs)-(also known as "Unicorns") that represent high-probability trading opportunities, highly regarded in the ICT community.
This comprehensive tool provides unmatched functionality for traders and analysts seeking to track, backtest, and execute Breaker Block strategies. With its extensive feature set and granular customization options, it delivers capabilities that surpass existing alternatives in the market.
What is an ICT Breaker Block?
To explain this, we must understand the ABC sequence that form this pattern. It consists of:
Initial range (from A -> B)
First break point, commonly called "Manipulation" (C)
Second break, which is when the pattern is formed.
Each of these "points" consist of pivot levels, with an adjustable strength.
Breaker Blocks are invalidated and made inactive if price breaks the "C point", or manipulation.
Unicorns
Unicorns are Fair Value Gaps or Inverted Fair Value Gaps that overlap a Breaker Block. Breakers have their associated Unicorn, which is updated until price retraces into said gap.
Standard Deviations
This indicator has options to display deviations based on Breaker Blocks:
Breaker Deviations -> using the initial range (A -> B).
Manipulation Deviations -> using the manipulation (B -> C).
Input Settings:
This tool offers a lot of customizable options, which could be overwhelming to some users. Below you will find an in-depth definition of every input's purpose, to complement the tooltips that can be found directly in the indicator's settings.
Mode ⚙️
Default -> Displays every Breaker Block pattern found.
Bullish -> Displays every Bullish Breaker Block found.
Bearish -> Displays every Bearish Breaker Block found.
Reversals -> Displays alternate Breaker Blocks (Bearish -> Bullish -> Bearish and so on).
This is paired with a Historical input, to select the amount of previous Breakers to display.
Extend 📏
Last -> This option will extend the most recent Breaker's drawings.
Specified -> Extend Breakers a preset amount of bars.
All -> Extend all active Breakers to the current bar.
None -> Never extend Breaker Blocks.
Each object has it's specific " offset " parameter, which defines the amount of bars to extend drawings past the current bar.
Parameters
This section defines the main parameters used to define the Breaker Block pattern.
Time Filter -> Optional session to filter Breakers based on time of day.
Pivot Strength -> Determines how many consecutive bars to the left of a pivot must be lower (for highs) or higher (for lows) to confirm it as a point.
Range Lookback -> Amount of ranges that the indicator will keep track for each direction.
Breaker Type -> Defines how a Breaker Block is displayed:
Range -> Entire initial range.
Consecutive -> Last consecutive onside candles (upclose for bullish, downclose for bearish).
Last -> Last onside candle.
Breaker Offset -> Amount of bars to extend Breaker Blocks past the current bar.
Use Candle Bodies? -> Use bar open to close rather than high to low.
Require Candle Close? -> Use bar close to form Breaker Blocks.
Remove After Invalidation? -> Remove drawings for invalidated Breakers.
Style
Breaker Block boxes styling based on directions.
Optional Middle Line and styling.
Optional Signals for Breaker Block formation:
Triangle label with adjustable sizing on the formation bar.
Line with custom styling at breakout point to the formation bar.
Unicorn Fair Value Gaps
Checkbox to display Unicorns with adjustable "FVGs", "IFVGs", or "Both" types.
Overlap Threshold -> Distance away from Breaker to still consider an "overlap".
Unicorn Offset -> Amount of bars to extend unicorn gaps past the current bar.
Lines styling.
Optional Middle Line and styling.
Include Volume Imbalances? -> Include adjacent VIs as part of Fair Value Gaps.
Extend until Reached? -> Extend Unicorn drawings until price reaches them.
Deviations
Checkbox to display Standard Deviations with adjustable types and levels.
Lines styling.
Text size and positioning.
Extend until Reached? -> Extend deviation lines until price reaches them.
Text
Label contents:
Default -> "+/- Breaker".
Abbreviation -> "+/- BB".
None -> No text.
Size .
Font (Default or Monospace) and Format (None, Italic or Bold).
Align -> vertical and horizontal positioning.
This indicator is for educational and informational purposes only. Past performance and historical patterns do not guarantee future results. Trading involves substantial risk of loss and is not suitable for all investors. Always conduct your own analysis and consider your financial situation before making any trading decisions. The identification of patterns does not constitute trading advice.
For any additional questions and/or feedback related to this indicator, users can comment below!
FVG Premium [no1x]█ OVERVIEW
This indicator provides a comprehensive toolkit for identifying, visualizing, and tracking Fair Value Gaps (FVGs) across three distinct timeframes (current chart, a user-defined Medium Timeframe - MTF, and a user-defined High Timeframe - HTF). It is designed to offer traders enhanced insight into FVG dynamics through detailed state monitoring (formation, partial fill, full mitigation, midline touch), extensive visual customization for FVG representation, and a rich alert system for timely notifications on FVG-related events.
█ CONCEPTS
This indicator is built upon the core concept of Fair Value Gaps (FVGs) and their significance in price action analysis, offering a multi-layered approach to their detection and interpretation across different timeframes.
Fair Value Gaps (FVGs)
A Fair Value Gap (FVG), also known as an imbalance, represents a range in price delivery where one side of the market (buying or selling) was more aggressive, leaving an inefficiency or an "imbalance" in the price action. This concept is prominently featured within Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies, where such gaps are often interpreted as footprints left by "smart money" due to rapid, forceful price movements. These methodologies suggest that price may later revisit these FVG zones to rebalance a prior inefficiency or to seek liquidity before continuing its path. These gaps are typically identified by a three-bar pattern:
Bullish FVG : This is a three-candle formation where the second candle shows a strong upward move. The FVG is the space created between the high of the first candle (bottom of FVG) and the low of the third candle (top of FVG). This indicates a strong upward impulsive move.
Bearish FVG : This is a three-candle formation where the second candle shows a strong downward move. The FVG is the space created between the low of the first candle (top of FVG) and the high of the third candle (bottom of FVG). This indicates a strong downward impulsive move.
FVGs are often watched by traders as potential areas where price might return to "rebalance" or find support/resistance.
Multi-Timeframe (MTF) Analysis
The indicator extends FVG detection beyond the current chart's timeframe (Low Timeframe - LTF) to two higher user-defined timeframes: Medium Timeframe (MTF) and High Timeframe (HTF). This allows traders to:
Identify FVGs that might be significant on a broader market structure.
Observe how FVGs from different timeframes align or interact.
Gain a more comprehensive perspective on potential support and resistance zones.
FVG State and Lifecycle Management
The indicator actively tracks the lifecycle of each detected FVG:
Formation : The initial identification of an FVG.
Partial Fill (Entry) : When price enters but does not completely pass through the FVG. The indicator updates the "current" top/bottom of the FVG to reflect the filled portion.
Midline (Equilibrium) Touch : When price touches the 50% level of the FVG.
Full Mitigation : When price completely trades through the FVG, effectively "filling" or "rebalancing" the gap. The indicator records the mitigation time.
This state tracking is crucial for understanding how price interacts with these zones.
FVG Classification (Large FVG)
FVGs can be optionally classified as "Large FVGs" (LV) if their size (top to bottom range) exceeds a user-defined multiple of the Average True Range (ATR) for that FVG's timeframe. This helps distinguish FVGs that are significantly larger relative to recent volatility.
Visual Customization and Information Delivery
A key concept is providing extensive control over how FVGs are displayed. This control is achieved through a centralized set of visual parameters within the indicator, allowing users to configure numerous aspects (colors, line styles, visibility of boxes, midlines, mitigation lines, labels, etc.) for each timeframe. Additionally, an on-chart information panel summarizes the nearest unmitigated bullish and bearish FVG levels for each active timeframe, providing a quick glance at key price points.
█ FEATURES
This indicator offers a rich set of features designed to provide a highly customizable and comprehensive Fair Value Gap (FVG) analysis experience. Users can tailor the FVG detection, visual representation, and alerting mechanisms across three distinct timeframes: the current chart (Low Timeframe - LTF), a user-defined Medium Timeframe (MTF), and a user-defined High Timeframe (HTF).
Multi-Timeframe FVG Detection and Display
The core strength of this indicator lies in its ability to identify and display FVGs from not only the current chart's timeframe (LTF) but also from two higher, user-selectable timeframes (MTF and HTF).
Timeframe Selection: Users can specify the exact MTF (e.g., "60", "240") and HTF (e.g., "D", "W") through dedicated inputs in the "MTF (Medium Timeframe)" and "HTF (High Timeframe)" settings groups. The visibility of FVGs from these higher timeframes can be toggled independently using the "Show MTF FVGs" and "Show HTF FVGs" checkboxes.
Consistent Detection Logic: The FVG detection logic, based on the classic three-bar imbalance pattern detailed in the 'Concepts' section, is applied consistently across all selected timeframes (LTF, MTF, HTF)
Timeframe-Specific Visuals: Each timeframe's FVGs (LTF, MTF, HTF) can be customized with unique colors for bullish/bearish states and their mitigated counterparts. This allows for easy visual differentiation of FVGs originating from different market perspectives.
Comprehensive FVG Visualization Options
The indicator provides extensive control over how FVGs are visually represented on the chart for each timeframe (LTF, MTF, HTF).
FVG Boxes:
Visibility: Main FVG boxes can be shown or hidden per timeframe using the "Show FVG Boxes" (for LTF), "Show Boxes" (for MTF/HTF) inputs.
Color Customization: Colors for bullish, bearish, active, and mitigated FVG boxes (including Large FVGs, if classified) are fully customizable for each timeframe.
Box Extension & Length: FVG boxes can either be extended to the right indefinitely ("Extend Boxes Right") or set to a fixed length in bars ("Short Box Length" or "Box Length" equivalent inputs).
Box Labels: Optional labels can display the FVG's timeframe and fill percentage on the box. These labels are configurable for all timeframes (LTF, MTF, and HTF). Please note: If FVGs are positioned very close to each other on the chart, their respective labels may overlap. This can potentially lead to visual clutter, and it is a known behavior in the current version of the indicator.
Box Borders: Visibility, width, style (solid, dashed, dotted), and color of FVG box borders are customizable per timeframe.
Midlines (Equilibrium/EQ):
Visibility: The 50% level (midline or EQ) of FVGs can be shown or hidden for each timeframe.
Style Customization: Width, style, and color of the midline are customizable per timeframe. The indicator tracks if this midline has been touched by price.
Mitigation Lines:
Visibility: Mitigation lines (representing the FVG's opening level that needs to be breached for full mitigation) can be shown or hidden for each timeframe. If shown, these lines are always extended to the right.
Style Customization: Width, style, and color of the mitigation line are customizable per timeframe.
Mitigation Line Labels: Optional price labels can be displayed on mitigation lines, with a customizable horizontal bar offset for positioning. For optimal label placement, the following horizontal bar offsets are recommended: 4 for LTF, 8 for MTF, and 12 for HTF.
Persistence After Mitigation: Users can choose to keep mitigation lines visible even after an FVG is fully mitigated, with a distinct color for such lines. Importantly, this option is only effective if the general setting 'Hide Fully Mitigated FVGs' is disabled, as otherwise, the entire FVG and its lines will be removed upon mitigation.
FVG State Management and Behavior
The indicator tracks and visually responds to changes in FVG states.
Hide Fully Mitigated FVGs: This option, typically found in the indicator's general settings, allows users to automatically remove all visual elements of an FVG from the chart once price has fully mitigated it. This helps maintain chart clarity by focusing on active FVGs.
Partial Fill Visualization: When price enters an FVG, the indicator offers a dynamic visual representation: the portion of the FVG that has been filled is shown as a "mitigated box" (typically with a distinct color), while the original FVG box shrinks to clearly highlight the remaining, unfilled portion. This two-part display provides an immediate visual cue about how much of the FVG's imbalance has been addressed and what potential remains within the gap.
Visual Filtering by ATR Proximity: To help users focus on the most relevant price action, FVGs can be dynamically hidden if they are located further from the current price than a user-defined multiple of the Average True Range (ATR). This behavior is controlled by the "Filter Band Width (ATR Multiple)" input; setting this to zero disables the filter entirely, ensuring all detected FVGs remain visible regardless of their proximity to price.
Alternative Usage Example: Mitigation Lines as Key Support/Resistance Levels
For traders preferring a minimalist chart focused on key Fair Value Gap (FVG) levels, the indicator's visualization settings can be customized to display only FVG mitigation lines. This approach leverages these lines as potential support and resistance zones, reflecting areas where price might revisit to address imbalances.
To configure this view:
Disable FVG Boxes: Turn off "Show FVG Boxes" (for LTF) or "Show Boxes" (for MTF/HTF) for the desired timeframes.
Hide Midlines: Disable the visibility of the 50% FVG Midlines (Equilibrium/EQ).
Ensure Mitigation Lines are Visible: Keep "Mitigation Lines" enabled.
Retain All Mitigation Lines:
Disable the "Hide Fully Mitigated FVGs" option in the general settings.
Enable the feature to "keep mitigation lines visible even after an FVG is fully mitigated". This ensures lines from all FVGs (active or fully mitigated) remain on the chart, which is only effective if "Hide Fully Mitigated FVGs" is disabled.
This setup offers:
A Decluttered Chart: Focuses solely on the FVG opening levels.
Precise S/R Zones: Treats mitigation lines as specific points for potential price reactions.
Historical Level Analysis: Includes lines from past, fully mitigated FVGs for a comprehensive view of significant price levels.
For enhanced usability with this focused view, consider these optional additions:
The on-chart Information Panel can be activated to display a quick summary of the nearest unmitigated FVG levels.
Mitigation Line Labels can also be activated for clear price level identification. A customizable horizontal bar offset is available for positioning these labels; for example, offsets of 4 for LTF, 8 for MTF, and 12 for HTF can be effective.
FVG Classification (Large FVG)
This feature allows for distinguishing FVGs based on their size relative to market volatility.
Enable Classification: Users can enable "Classify FVG (Large FVG)" to identify FVGs that are significantly larger than average.
ATR-Based Threshold: An FVG is classified as "Large" if its height (price range) is greater than or equal to the Average True Range (ATR) of its timeframe multiplied by a user-defined "Large FVG Threshold (ATR Multiple)". The ATR period for this calculation is also configurable.
Dedicated Colors: Large FVGs (both bullish/bearish and active/mitigated) can be assigned unique colors, making them easily distinguishable on the chart.
Panel Icon: Large FVGs are marked with a special icon in the Info Panel.
Information Panel
An on-chart panel provides a quick summary of the nearest unmitigated FVG levels.
Visibility and Position: The panel can be shown/hidden and positioned in any of the nine standard locations on the chart (e.g., Top Right, Middle Center).
Content: It displays the price levels of the nearest unmitigated bullish and bearish FVGs for LTF, MTF (if active), and HTF (if active). It also indicates if these nearest FVGs are Large FVGs (if classification is enabled) using a selectable icon.
Styling: Text size, border color, header background/text colors, default text color, and "N/A" cell background color are customizable.
Highlighting: Background and text colors for the cells displaying the overall nearest bullish and bearish FVG levels (across all active timeframes) can be customized to draw attention to the most proximate FVG.
Comprehensive Alert System
The indicator offers a granular alert system for various FVG-related events, configurable for each timeframe (LTF, MTF, HTF) independently. Users can enable alerts for:
New FVG Formation: Separate alerts for new bullish and new bearish FVG formations.
FVG Entry/Partial Fill: Separate alerts for price entering a bullish FVG or a bearish FVG.
FVG Full Mitigation: Separate alerts for full mitigation of bullish and bearish FVGs.
FVG Midline (EQ) Touch: Separate alerts for price touching the midline of a bullish or bearish FVG.
Alert messages are detailed, providing information such as the timeframe, FVG type (bull/bear, Large FVG), relevant price levels, and timestamps.
█ NOTES
This section provides additional information regarding the indicator's usage, performance considerations, and potential interactions with the TradingView platform. Understanding these points can help users optimize their experience and troubleshoot effectively.
Performance and Resource Management
Maximum FVGs to Track : The "Max FVGs to Track" input (defaulting to 25) limits the number of FVG objects processed for each category (e.g., LTF Bullish, MTF Bearish). Increasing this value significantly can impact performance due to more objects being iterated over and potentially drawn, especially when multiple timeframes are active.
Drawing Object Limits : To manage performance, this script sets its own internal limits on the number of drawing objects it displays. While it allows for up to approximately 500 lines (max_lines_count=500) and 500 labels (max_labels_count=500), the number of FVG boxes is deliberately restricted to a maximum of 150 (max_boxes_count=150). This specific limit for boxes is a key performance consideration: displaying too many boxes can significantly slow down the indicator, and a very high number is often not essential for analysis. Enabling all visual elements for many FVGs across all three timeframes can cause the indicator to reach these internal limits, especially the stricter box limit
Optimization Strategies : To help you manage performance, reduce visual clutter, and avoid exceeding drawing limits when using this indicator, I recommend the following strategies:
Maintain or Lower FVG Tracking Count: The "Max FVGs to Track" input defaults to 25. I find this value generally sufficient for effective analysis and balanced performance. You can keep this default or consider reducing it further if you experience performance issues or prefer a less dense FVG display.
Utilize Proximity Filtering: I suggest activating the "Filter Band Width (ATR Multiple)" option (found under "General Settings") to display only those FVGs closer to the current price. From my experience, a value of 5 for the ATR multiple often provides a good starting point for balanced performance, but you should feel free to adjust this based on market volatility and your specific trading needs.
Hide Fully Mitigated FVGs: I strongly recommend enabling the "Hide Fully Mitigated FVGs" option. This setting automatically removes all visual elements of an FVG from the chart once it has been fully mitigated by price. Doing so significantly reduces the number of active drawing objects, lessens computational load, and helps maintain chart clarity by focusing only on active, relevant FVGs.
Disable FVG Display for Unused Timeframes: If you are not actively monitoring certain higher timeframes (MTF or HTF) for FVG analysis, I advise disabling their display by unchecking "Show MTF FVGs" or "Show HTF FVGs" respectively. This can provide a significant performance boost.
Simplify Visual Elements: For active FVGs, consider hiding less critical visual elements if they are not essential for your specific analysis. This could include box labels, borders, or even entire FVG boxes if, for example, only the mitigation lines are of interest for a particular timeframe.
Settings Changes and Platform Limits : This indicator is comprehensive and involves numerous calculations and drawings. When multiple settings are changed rapidly in quick succession, it is possible, on occasion, for TradingView to issue a "Runtime error: modify_study_limit_exceeding" or similar. This can cause the indicator to temporarily stop updating or display errors.
Recommended Approach : When adjusting settings, it is advisable to wait a brief moment (a few seconds) after each significant change. This allows the indicator to reprocess and update on the chart before another change is made
Error Recovery : Should such a runtime error occur, making a minor, different adjustment in the settings (e.g., toggling a checkbox off and then on again) and waiting briefly will typically allow the indicator to recover and resume correct operation. This behavior is related to platform limitations when handling complex scripts with many inputs and drawing objects.
Multi-Timeframe (MTF/HTF) Data and Behavior
HTF FVG Confirmation is Essential: : For an FVG from a higher timeframe (MTF or HTF) to be identified and displayed on your current chart (LTF), the three-bar pattern forming the FVG on that higher timeframe must consist of fully closed bars. The indicator does not draw speculative FVGs based on incomplete/forming bars from higher timeframes.
Data Retrieval and LTF Processing: The indicator may use techniques like lookahead = barmerge.lookahead_on for timely data retrieval from higher timeframes. However, the actual detection of an FVG occurs after all its constituent bars on the HTF have closed.
Appearance Timing on LTF (1 LTF Candle Delay): As a natural consequence of this, an FVG that is confirmed on an HTF (i.e., its third bar closes) will typically become visible on your LTF chart one LTF bar after its confirmation on the HTF.
Example: Assume an FVG forms on a 30-minute chart at 15:30 (i.e., with the close of the 30-minute bar that covers the 15:00-15:30 period). If you are monitoring this FVG on a 15-minute chart, the indicator will detect this newly formed 30-minute FVG while processing the data for the 15-minute bar that starts at 15:30 and closes at 15:45. Therefore, the 30-minute FVG will become visible on your 15-minute chart at the earliest by 15:45 (i.e., with the close of that relevant 15-minute LTF candle). This means the HTF FVG is reflected on the LTF chart with a delay equivalent to one LTF candle.
FVG Detection and Display Logic
Fair Value Gaps (FVGs) on the current chart timeframe (LTF) are detected based on barstate.isconfirmed. This means the three-bar pattern must be complete with closed bars before an FVG is identified. This confirmation method prevents FVGs from being prematurely identified on the forming bar.
Alerts
Alert Setup : To receive alerts from this indicator, you must first ensure you have enabled the specific alert conditions you are interested in within the indicator's own settings (see 'Comprehensive Alert System' under the 'FEATURES' section). Once configured, open TradingView's 'Create Alert' dialog. In the 'Condition' tab, select this indicator's name, and crucially, choose the 'Any alert() function call' option from the dropdown list. This setup allows the indicator to trigger alerts based on the precise event conditions you have activated in its settings
Alert Frequency : Alerts are designed to trigger once per bar close (alert.freq_once_per_bar_close) for the specific event.
User Interface (UI) Tips
Settings Group Icons: In the indicator settings menu, timeframe-specific groups are marked with star icons for easier navigation: 🌟 for LTF (Current Chart Timeframe), 🌟🌟 for MTF (Medium Timeframe), and 🌟🌟🌟 for HTF (High Timeframe).
Dependent Inputs: Some input settings are dependent on others being enabled. These dependencies are visually indicated in the settings menu using symbols like "↳" (dependent setting on the next line), "⟷" (mutually exclusive inline options), or "➜" (directly dependent inline option).
Settings Layout Overview: The indicator settings are organized into logical groups for ease of use. Key global display controls – such as toggles for MTF FVGs, HTF FVGs (along with their respective timeframe selectors), and the Information Panel – are conveniently located at the very top within the '⚙️ General Settings' group. This placement allows for quick access to frequently adjusted settings. Other sections provide detailed customization options for each timeframe (LTF, MTF, HTF), specific FVG components, and alert configurations.
█ FOR Pine Script® CODERS
This section provides a high-level overview of the FVG Premium indicator's internal architecture, data flow, and the interaction between its various library components. It is intended for Pine Script™ programmers who wish to understand the indicator's design, potentially extend its functionality, or learn from its structure.
System Architecture and Modular Design
The indicator is architected moduarly, leveraging several custom libraries to separate concerns and enhance code organization and reusability. Each library has a distinct responsibility:
FvgTypes: Serves as the foundational data definition layer. It defines core User-Defined Types (UDTs) like fvgObject (for storing all attributes of an FVG) and drawSettings (for visual configurations), along with enumerations like tfType.
CommonUtils: Provides utility functions for common tasks like mapping user string inputs (e.g., "Dashed" for line style) to their corresponding Pine Script™ constants (e.g., line.style_dashed) and formatting timeframe strings for display.
FvgCalculations: Contains the core logic for FVG detection (both LTF and MTF/HTF via requestMultiTFBarData), FVG classification (Large FVGs based on ATR), and checking FVG interactions with price (mitigation, partial fill).
FvgObject: Implements an object-oriented approach by attaching methods to the fvgObject UDT. These methods manage the entire visual lifecycle of an FVG on the chart, including drawing, updating based on state changes (e.g., mitigation), and deleting drawing objects. It's responsible for applying the visual configurations defined in drawSettings.
FvgPanel: Manages the creation and dynamic updates of the on-chart information panel, which displays key FVG levels.
The main indicator script acts as the orchestrator, initializing these libraries, managing user inputs, processing data flow between libraries, and handling the main event loop (bar updates) for FVG state management and alerts.
Core Data Flow and FVG Lifecycle Management
The general data flow and FVG lifecycle can be summarized as follows:
Input Processing: User inputs from the "Settings" dialog are read by the main indicator script. Visual style inputs (colors, line styles, etc.) are consolidated into a types.drawSettings object (defined in FvgTypes). Other inputs (timeframes, filter settings, alert toggles) control the behavior of different modules. CommonUtils assists in mapping some string inputs to Pine constants.
FVG Detection:
For the current chart timeframe (LTF), FvgCalculations.detectFvg() identifies potential FVGs based on bar patterns.
For MTF/HTF, the main indicator script calls FvgCalculations.requestMultiTFBarData() to fetch necessary bar data from higher timeframes, then FvgCalculations.detectMultiTFFvg() identifies FVGs.
Newly detected FVGs are instantiated as types.fvgObject and stored in arrays within the main script. These objects also undergo classification (e.g., Large FVG) by FvgCalculations.
State Update & Interaction: On each bar, the main indicator script iterates through active FVG objects to manage their state based on price interaction:
Initially, the main script calls FvgCalculations.fvgInteractionCheck() to efficiently determine if the current bar's price might be interacting with a given FVG.
If a potential interaction is flagged, the main script then invokes methods directly on the fvgObject instance (e.g., updateMitigation(), updatePartialFill(), checkMidlineTouch(), which are part of FvgObject).
These fvgObject methods are responsible for the detailed condition checking and the actual modification of the FVG's state. For instance, the updateMitigation() and updatePartialFill() methods internally utilize specific helper functions from FvgCalculations (like checkMitigation() and checkPartialMitigation()) to confirm the precise nature of the interaction before updating the fvgObject’s state fields (such as isMitigated, currentTop, currentBottom, or isMidlineTouched).
Visual Rendering:
The FvgObject.updateDrawings() method is called for each fvgObject. This method is central to drawing management; it creates, updates, or deletes chart drawings (boxes, lines, labels) based on the FVG's current state, its prev_* (previous bar state) fields for optimization, and the visual settings passed via the drawSettings object.
Information Panel Update: The main indicator script determines the nearest FVG levels, populates a panelData object (defined in FvgPanelLib), and calls FvgPanel.updatePanel() to refresh the on-chart display.
Alert Generation: Based on the updated FVG states and user-enabled alert settings, the main indicator script constructs and triggers alerts using Pine Script's alert() function."
Key Design Considerations
UDT-Centric Design: The fvgObject UDT is pivotal, acting as a stateful container for all information related to a single FVG. Most operations revolve around creating, updating, or querying these objects.
State Management: To optimize drawing updates and manage FVG lifecycles, fvgObject instances store their previous bar's state (e.g., prevIsVisible, prevCurrentTop). The FvgObject.updateDrawings() method uses this to determine if a redraw is necessary, minimizing redundant drawing calls.
Settings Object: A drawSettings object is populated once (or when inputs change) and passed to drawing functions. This avoids repeatedly reading numerous input() values on every bar or within loops, improving performance.
Dynamic Arrays for FVG Storage: Arrays are used to store collections of fvgObject instances, allowing for dynamic management (adding new FVGs, iterating for updates).
Swing High/Low LQ TrackerAn interactive tool to track liquidity events. Select start and end points on your chart—this indicator will automatically detect and plot the highest high and lowest low from that window, then extend those levels forward. If price sweeps either level, it marks the event with a clean "LQ" tag.
Perfect for traders who want to identify session-based liquidity, like killzone highs/lows, without manually drawing and deleting lines every day.
How It Works
-Select start and end time directly from settings
-Indicator calculates the swing high and low during that range
-Lines extend beyond the session until broken
-“LQ” markers appear when price sweeps the swing levels
It’s a must-have for ICT traders, smart money traders, or anyone who wants to track key liquidity levels without clutter.
Simple and effective tool for marking important ranges and tracking when liquidity is taken. No complex settings - just select your range and monitor the levels.
Multi Session LQ Tracker by DeadcatDisplays session ranges and identifies when price sweeps session highs/lows (liquidity) . Shows up to 5 sessions with customizable times.
Setup
Timezone - Must match your chart timezone
Sessions - 2 active by default (Asia and London), add up to 5 total
LQ Trigger Session - Time window for liquidity detection (default: 0800-1600), If LQ sweeps happen before this time, they will not be marked.
Key Features
Session Boxes: Visual range of each session high/low
Extended Lines: Continue until price breaks level
LQ Markers: Red "LQ" circles when session levels swept during trigger hours
Liquidity Toggle: Turn off to use as standard session indicator.
Customize it according to your needs. If LQ detection is off, it will function as a normal session indicator.
Very useful for ICT traders who often track session highs/lows to make trading decisions, or for someone who just wants to use a session indicator.
Macro TimerPlease note these session macros are according to ICT and this is ONLY the AM macro.
This indicator provides a visual countdown timer for daily macro session opens and closes. It displays a UI panel on the right side of the chart with three stacked boxes:
The top box labels the indicator as "Macro Indicator".
The middle box shows a live countdown timer.
The bottom box indicates whether the countdown is for the macro session open (9:50 AM) or close (10:10 AM), based on the current time.
The tool helps traders stay aware of key macro timing windows without manually tracking the clock, improving time-based strategy execution and session awareness.
ICT Opening Range Projections (tristanlee85)ICT Opening Range Projections
This indicator visualizes key price levels based on ICT's (Inner Circle Trader) "Opening Range" concept. This 30-minute time interval establishes price levels that the algorithm will refer to throughout the session. The indicator displays these levels, including standard deviation projections, internal subdivisions (quadrants), and the opening price.
🟪 What It Does
The Opening Range is a crucial 30-minute window where market algorithms establish significant price levels. ICT theory suggests this range forms the basis for daily price movement.
This script helps you:
Mark the high, low, and opening price of each session.
Divide the range into quadrants (premium, discount, and midpoint/Consequent Encroachment).
Project potential price targets beyond the range using configurable standard deviation multiples .
🟪 How to Use It
This tool aids in time-based technical analysis rooted in ICT's Opening Range model, helping you observe price interaction with algorithmic levels.
Example uses include:
Identifying early structural boundaries.
Observing price behavior within premium/discount zones.
Visualizing initial displacement from the range to anticipate future moves.
Comparing price reactions at projected standard deviation levels.
Aligning price action with significant times like London or NY Open.
Note: This indicator provides a visual framework; it does not offer trade signals or interpretations.
🟪 Key Information
Time Zone: New York time (ET) is required on your chart.
Sessions: Supports multiple sessions, including NY midnight, NY AM, NY PM, and three custom timeframes.
Time Interval: Supports multi-timeframe up to 15 minutes. Best used on a 1-minute chart for accuracy.
🟪 Session Options
The Opening Range interval is configurable for up to 6 sessions:
Pre-defined ICT Sessions:
NY Midnight: 12:00 AM – 12:30 AM ET
NY AM: 9:30 AM – 10:00 AM ET
NY PM: 1:30 PM – 2:00 PM ET
Custom Sessions:
Three user-defined start/end time pairs.
This example shows a custom session from 03:30 - 04:00:
🟪 Understanding the Levels
The Opening Price is the open of the first 1-minute candle within the chosen session.
At session close, the Opening Range is calculated using its High and Low . An optional swing-based mode uses swing highs/lows for range boundaries.
The range is divided into quadrants by its midpoint ( Consequent Encroachment or CE):
Upper Quadrant: CE to high (premium).
Lower Quadrant: Low to CE (discount).
These subdivisions help visualize internal range dynamics, where price often reacts during algorithmic delivery.
🟪 Working with Ranges
By default, the range is determined by the highest high and lowest low of the 30-minute session:
A range can also be determined by the highest/lowest swing points:
Quadrants outline the premium and discount of a range that price will reference:
Small ranges still follow the same algorithmic logic, but may be deemed insignificant for one's trading. These can be filtered in the settings by specifying a minimum ticks limit. In this example, the range is 42 ticks (10.5 points) but the indicator is configured for 80 ticks (20 points). We can select which levels will plot if the range is below the limit. Here, only the 00:00 opening price is plotted:
You may opt to include the range high/low, quadrants, and projections as well. This will plot a red (configurable) range bracket to indicate it is below the limit while plotting the levels:
🟪 Price Projections
Projections extend beyond the Opening Range using standard deviations, framing the market beyond the initial session and identifying potential targets. You define the standard deviation multiples (e.g., 1.0, 1.5, 2.0).
Both positive and negative extensions are displayed, symmetrically projected from the range's high and low.
The Dynamic Levels option plots only the next projection level once price crosses the previous extreme. For example, only the 0.5 STDEV level plots until price reaches it, then the 1.0 level appears, and so on. This continues up to your defined maximum projections, or indefinitely if standard deviations are set to 0.
This example shows dynamic levels for a total of 6 sessions, only 1 of which meet a configured minimum limit of 50 ticks:
Small ranges followed by significant displacement are impacted the most with the number of levels plotted. You may hide projections when configuring the minimum ticks.
A fixed standard deviation will plot levels in both directions, regardless of the price range. Here, we plot up to 3.0 which hiding projections for small ranges:
🟪 Legal Disclaimer
This indicator is provided for informational and educational purposes only. It is not financial advice, and should not be construed as a recommendation to buy or sell any financial instrument. Trading involves substantial risk, and you could lose a significant amount of money. Past performance is not indicative of future results. Always consult with a qualified financial professional before making any trading or investment decisions. The creators and distributors of this indicator assume no responsibility for your trading outcomes.