Support & Resistance ZonesAdvanced Support & Resistance Detection Algorithm
This indicator identifies meaningful price levels by analyzing market structure using a proprietary statistical approach. Unlike traditional methods that rely on simple swing highs/lows or moving averages, this system dynamically detects zones where price has shown consistent interaction, revealing true areas of supply and demand.
Core Methodology
Price Data Aggregation
Collects highs and lows over a configurable lookback period.
Normalizes price data to account for volatility, ensuring levels remain relevant across different market conditions.
Statistical Significance Filtering
Rejection of random noise: Eliminates insignificant price fluctuations using adaptive thresholds.
Volume-weighted analysis (implied): Stronger reactions at certain price levels are given higher priority, even if volume data is unavailable.
Dynamic Level Extraction
Density-based S/R Zones: Instead of fixed swing points, the algorithm identifies zones where price has repeatedly consolidated.
Time decay adjustment: Recent price action has more influence, ensuring levels adapt to evolving market structure.
Strength Quantification
Each level is assigned a confidence score based on:
Touch frequency: How often price revisited the zone.
Reaction intensity: The magnitude of bounces/rejections.
Time relevance: Whether the level remains active or has been broken decisively.
Adaptive Level Merging & Pruning
Proximity-based merging: If two levels are too close (within a volatility-adjusted threshold), they combine into one stronger zone.
Decay mechanism: Old, untested levels fade away if price no longer respects them.
Why This Approach Works Better Than Traditional Methods
✅ No subjective drawing required – Levels are generated mathematically, removing human bias.
✅ Self-adjusting sensitivity – Works equally well on slow and fast-moving markets.
✅ Focuses on statistically meaningful zones – Avoids false signals from random noise.
✅ Non-repainting & real-time – Levels only update when new data confirms their validity.
How Traders Can Use These Levels
Support/Resistance Trading: Fade bounces off strong levels or trade breakouts with confirmation.
Confluence with Other Indicators: Combine with RSI, MACD, or volume profiles for higher-probability entries.
Stop Placement: Place stops just beyond key levels to avoid premature exits.
Technical Notes (For Advanced Users)
The algorithm avoids overfitting by dynamically adjusting zones sensitivity based on market conditions.
Unlike fixed pivot points, these levels adapt to trends, making them useful in both ranging and trending markets.
The strength percentage helps filter out weak levels—only trade those with a high score for better accuracy.
Note: Script takes some time to load.
Tìm kiếm tập lệnh với "zone"
A.K Dynamic EMA/SMA / MTF S&R Zones Toolkit with AlertsThe A.K Dynamic EMA/SMA / MTF Support & Resistance Zones Toolkit is a powerful all-in-one technical analysis tool designed for traders who want a clean yet comprehensive market view. Whether you're scalping lower timeframes or swing trading higher timeframes, this indicator gives you both the structure and signals to take action with confidence.
Key Features:
✅ Customizable EMA/SMA Suite
Display key Exponential and Simple Moving Averages including 5, 9, 20, 50, 100, and 200 EMAs, plus optional 50 SMA for trend filtering. Each line can be toggled individually and color-customized.
✅ Multi-Timeframe Support & Resistance Zones
Automatically detects dynamic S/R zones on key timeframes (5min, 15min, 30min, 1H, 4H, 1D) using swing highs/lows. Zones are color-coded by strength and whether they're broken or active, providing a clear visual roadmap for price reaction levels.
✅ Zone Strength & Break Detection
Distinguishes between strong and weak zones based on price proximity and reaction depth, with visual shading and automatic label updates when a level is broken.
✅ Price Action-Based Buy/Sell Signals
Generates BUY signals when bullish candles react to strong support (supply) zones, and SELL signals when bearish candles react to strong resistance (demand) zones. All logic is adjustable — including candle body vs wick detection, tolerance range, and strength thresholds.
✅ Alerts Engine
Built-in TradingView alerts for price touching support/resistance or triggering buy/sell signals. Perfect for automation or hands-free monitoring.
✅ Optional Candle & Trend Filters
Highlight bullish/bearish candles visually for additional confirmation.
Optional RSI display and 50-period SMA trend filter to guide directional bias.
🧠 Use Case Scenarios:
Identify dynamic supply & demand zones across multiple timeframes.
Confirm trend direction with EMAs and SMA filters.
React quickly to clean BUY/SELL signals based on actual price interaction with strong zones.
Customize it fully to suit scalping, day trading, or swing trading strategies.
📌 Recommended Settings:
Use default zone transparency (65%) and offset (250 bars) for optimal visual clarity.
Enable alerts to get notified when price enters key S/R levels or when a trade signal occurs.
Combine this tool with your entry/exit plan for better decision-making under pressure.
💡 Pro Tip: Add this indicator to a clean chart and let the zones + EMAs guide your directional bias. Use alerts to avoid screen-watching and improve discipline.
Created by:
Version: Pine Script v6
Platform: TradingView
Delta Zones🔶 Delta Zones — A Precision Tool for Time-Price Mapping 🔶
The Delta Zones indicator is a refined structure-mapping tool that dynamically tracks zones of dominant trading activity across recent sessions.
These zones are projected forward in time, offering traders a reliable visual guide to where significant interactions between buyers and sellers are likely to take place.
This tool was designed for intraday use, but its adaptability makes it powerful even on higher timeframes, giving traders insights into market behavior without the noise. You need to change session setting from indicator to higher TF that the chart. For intra, its by default on daily.
🔧 What This Indicator Does
Detects and displays the key activity zone for the current session (today).
Recalls the most active zone from the previous session, allowing you to track momentum or reversal bias.
Color codes each zone based on where price currently trades relative to it:
Neutral gradient (orange/white) for today’s zone, showing where price is consolidating or reacting.
Bullish green fade if price is trading above yesterday’s zone.
Bearish red fade if price is trading below yesterday’s zone.
Extends each zone forward (default 200 bars) so you can observe price behavior as it revisits these areas over time.
📈 How to Use Delta Zones
Trend Continuation:
If price pushes beyond today's zone and maintains momentum, it may suggest strength in that direction. Watch how price reacts on retests of this zone.
Fade or Mean Reversion:
When price strays far from a Delta Zone and struggles to gain ground, it often rotates back into that region. These situations can offer attractive risk-reward setups.
Zone Polarity from Prior Sessions:
Yesterday’s zone serves as a directional cue — if price opens and stays above it (green-filled), sentiment favors strength. If it stays below (red-filled), weakness may persist.
Support/Resistance Anchors:
Use zones as dynamic S/R levels — watch for wick tests, engulfing candles, or volume surges at zone edges for potential trade entries or exits.
🎛️ Inputs You Can Control
Session Length (Default: Daily): Defines how often a new zone is calculated.
💡 Pro Tip
These zones act like magnetic fields around price — not only can they contain price, but they also attract it. The key is to recognize when price is respecting, rejecting, or absorbing at the edges of the zone.
Pair Delta Zones with your favorite price action, momentum, or volume tools for sharper decision-making. For example, "Accumulation/Distribution Money Flow" script which I published few days ago.
⚠️ Note
This is a conceptually adaptive framework designed to simplify the visual structure of the market. While no model guarantees predictive accuracy, Delta Zones are especially useful for contextualizing price behavior and anticipating where meaningful reactions may occur.
This is an educational idea, use it at your own risk.
Past performance does not guarantee future success.
Mayer Multiple ZonesMayer Multiple Zones
The Mayer Multiple Zones indicator is a powerful market valuation tool that helps traders identify key price zones based on multiples of the 200-period moving average. Originally inspired by the Bitcoin Mayer Multiple concept, this versatile indicator works across all markets and timeframes to visualize the relative valuation of any asset.
Key Features:
Color-coded valuation zones: Instantly recognize if the current price represents a strong buy opportunity, fair value, or potential bubble territory
Customizable multiplier levels: Adjust all zone thresholds to suit specific markets or trading strategies
Real-time status indicator: Clear market status display showing current valuation zone
Comprehensive information table: View all critical price levels and current multiple at a glance
Multi-timeframe compatible: Works seamlessly across all timeframes while maintaining accurate MA200 reference
Visual zone labeling: Clear labels for each price zone directly on the chart
How to Use:
The indicator divides price action into six distinct zones based on the MA200:
Strong Buy Zone (default: below 0.6x MA200): Extreme undervaluation, historically excellent buying opportunities
Value Buy Zone (default: 0.6x-0.8x MA200): Attractive buying range for long-term value
Accumulation Zone (default: 0.8x-1.0x MA200): Price building strength below the MA200
Fair Value Zone (default: 1.0x-2.0x MA200): Reasonable valuation range
Take Profit Zone (default: 2.0x-2.5x MA200): Overvaluation suggesting partial profit taking
Bubble Zone (default: above 2.5x MA200): Extreme overvaluation, historically unsustainable levels
This indicator serves as both a strategic planning tool for long-term investors and a tactical guide for shorter-term traders, helping identify potential reversal zones and price targets based on historical valuation patterns.
Settings:
MA Length: Adjust the moving average period (default: 200)
Multipliers: Customize each zone threshold to adapt to specific market characteristics
Perfect for all traders seeking to understand relative market valuation across any timeframe.
Peak Reaction Zones [BigBeluga]Peak Reaction Zones is an advanced Smart Money Concept (SMC) indicator that identifies the most recent swing high and swing low zones, helping traders determine premium and discount areas for optimal trade positioning.
🔵 Key Features:
Swing High & Low Zones:
Automatically detects the latest swing high and swing low levels.
Helps traders identify key reaction points where price is likely to respond.
Premium & Discount Concept:
The high zone represents a premium area, where price is overextended and may reverse.
The low zone represents a discount area, where price is undervalued and may bounce.
The midline dynamically marks the equilibrium of the range.
Adjustable Zone Width:
Users can fine-tune the width of the zones to match their trading style.
Wider zones capture broader reaction ranges, while narrower zones focus on precise levels.
Zone Retest Signals:
Blue markers appear when price retests the lower reaction zone, signaling potential support.
Orange markers appear when price retests the upper reaction zone, indicating possible resistance.
Price Labels for Key Levels:
Displays the price value of the swing high, swing low, and midline for quick reference.
Helps traders recognize major reaction points at a glance.
🔵 Usage:
Smart Money Trading: Utilize the premium and discount concept to align trades with institutional order flow.
Zone Reactions: Watch for price tests of reaction zones and use the retest signals to confirm potential reversals.
Midline Confirmation: If price holds above or below the midline, it can indicate directional bias.
Scalping & Swing Trading: Short-term traders can look for zone rejections, while swing traders can use the levels for trend continuation setups.
Peak Reaction Zones is a must-have tool for traders looking to trade with Smart Money Concepts, allowing for precise entries and exits based on key liquidity areas and market structure.
BIAS PRO - Zones + Liquidity + SP&RS [AlgoRich]This multifunction indicator is used to identify key areas on the chart, liquidity levels, and support/resistance zones (SP&RS). Its design is aimed at highlighting price pivots (swings) by drawing zones (boxes and lines) based on these pivots, while also displaying information about trading sessions and levels of analysis across different timeframes.
1. Configuration and Input Parameters
Swing Parameters (Bars Right-Left):
Two inputs are defined to adjust the number of bars on the right and left used to detect pivots (swings). This allows the determination of high and low pivot points.
Display Options:
You can choose to show or hide boxes, lines, and labels (bubbles). There is also an option to extend the zones until they are “filled” (confirmed), and you can opt to hide those zones once filled.
Appearance:
Visual parameters are defined, such as the option to display high and low pivots, colors for lines, labels, and boxes (for both bullish and bearish conditions), line styles (solid, dotted, dashed), and other aesthetic details (box width, label size, text alignment).
Lookback and Time Range:
The “lookback” and “daysBack” variables determine whether the analysis is limited to data from a certain number of days, helping to filter out older historical information.
2. Calculation of Pivots (Swings) and Zone Detection
Price Pivots:
Using the pivot functions (ta.pivothigh and ta.pivotlow), the script identifies swing high and low points based on the configured swing size (bars left and right).
If a swing high is detected, its bar index is stored and the corresponding signal is activated.
Similarly, a swing low is detected and marked.
Drawing Zones:
When a swing (high or low) is detected and the time range condition is met (inRange), the script draws:
Boxes: These visually represent the area around the pivot level. The configuration (type and width) is adjustable.
Lines: A horizontal line is drawn from the pivot point to the current bar, using the defined style and color.
Boxes and lines are drawn for both high pivots (showhighs) and low pivots (showlows).
Additionally, these zones are updated and extended dynamically as new bars appear, and zones that are “filled” (when the price exceeds the zone level) are removed.
Labels and Markers:
If enabled, the script displays circle markers (using plotshape) at the swing points.
3. Operational Zone (Sessions)
Customizable Sessions:
The script allows defining up to three operational sessions with distinct time ranges and colors.
For example, Session 1, Session 2, and Session 3 have configurable time ranges and colors (with adjustable opacity).
It checks if the current time falls within any of these sessions and, if so, applies a background color (bgcolor) to the chart with the configured session color.
Timezone Adjustment:
You can configure a UTC offset or use the exchange’s timezone to correctly adjust the session times.
4. Additional Levels and Analysis Groups
Groups of Levels (Levels 1, 2, 3, and 4):
Several groups are defined that allow data requests from different timeframes (e.g., 60 minutes, 240 minutes, daily, or weekly) and configure their parameters (length, line style, color).
For each group, the script uses a function that requests non-repainting data and calculates pivot levels based on ta.pivothigh/ta.pivotlow.
These levels are drawn on the chart with lines and “shadow” lines to reinforce the visualization of key pivot points. Labels are added with a slight offset to indicate the pivot value in the corresponding timeframe.
5. Maintenance and Management of Drawn Elements
Dynamic Update and Deletion:
The script maintains arrays to store the drawn boxes and lines. As new elements are added and the array reaches a maximum size (e.g., 500 elements), the oldest elements are deleted to avoid overloading the chart.
Extension and Hiding Conditions:
Conditions are checked to extend or delete zones based on whether the price has “filled” the area (i.e., if the current price has surpassed the zone level). There is also an option to hide zones once they are filled.
6. Session (Operational Zone) and Levels for Multiple Timeframes
Session Settings:
In addition to the pivot zones, the indicator also defines operational sessions with adjustable time ranges and colors, shading the background of the chart during those sessions.
Additional Level Groups:
The indicator allows grouping of analysis levels by timeframe, which can be useful for multi-timeframe analysis. Parameters such as length, style, and color are configurable for each group.
Summary:
The "BIAS PRO - Zones + Liquidity + SP&RS " is an all-in-one indicator that combines the detection of price pivots (swings) with the visual representation of key zones on the chart. With options to customize appearance, manage operational sessions, and group levels across different timeframes, this script is designed to help traders identify areas of high liquidity, potential breakouts, or reversals, thus optimizing decision-making based on market structure.
This explanation covers the main functionalities and workflow of the script, making it easier to understand without needing to examine the code in detail.
HTF Hi-Lo Zones [CHE]HTF Hi-Lo Zones Indicator
The HTF Hi-Lo Zones Indicator is a Pine Script tool designed to highlight important high and low values from a selected higher timeframe. It provides traders with clear visual zones where price activity has reached significant points, helping in decision-making by identifying potential support and resistance levels. This indicator is customizable, allowing users to select the resolution type, control the visualization of session ranges, and even display detailed information about the chosen timeframe.
Key Functionalities
1. Timeframe Resolution Selection:
- The indicator offers three modes to determine the resolution:
- Automatic: Dynamically calculates the higher timeframe based on the current chart's resolution.
- Multiplier: Allows users to apply a multiplier to the current chart's timeframe.
- Manual: Enables manual input for custom resolution settings.
- Each resolution type ensures flexibility to suit different trading styles and strategies.
2. Data Fetching for High and Low Values:
- The indicator retrieves the current high and low values for the selected higher timeframe using `request.security`.
- It also calculates the lowest and highest values over a configurable lookback period, providing insights into significant price movements within the chosen timeframe.
3. Session High and Low Detection:
- The indicator detects whether the current value represents a new session high or low by comparing the highest and lowest values with the current data.
- This is crucial for identifying breakouts or significant turning points during a session.
4. Visual Representation:
- When a new session high or low is detected:
- Range Zones: A colored box marks the session's high-to-low range.
- Labels: Optional labels indicate "New High" or "New Low" for clarity.
- Users can customize colors, transparency, and whether range outlines or labels should be displayed.
5. Information Box:
- An optional dashboard displays details about the chosen timeframe resolution and current session activity.
- The box's size, position, and colors are fully customizable.
6. Session Tracking:
- Tracks session boundaries, updating the visualization dynamically as the session progresses.
- Displays session-specific maximum and minimum values if enabled.
7. Additional Features:
- Configurable dividers for session or daily boundaries.
- Transparency and styling options for the displayed zones.
- A dashboard for advanced visualization and information overlay.
Key Code Sections Explained
1. Resolution Determination:
- Depending on the user's input (Auto, Multiplier, or Manual), the script determines the appropriate timeframe resolution for higher timeframe analysis.
- The resolution adapts dynamically based on intraday, daily, or higher-period charts.
2. Fetching Security Data:
- Using the `getSecurityDataFunction`, the script fetches high and low values for the chosen timeframe, including historical and real-time data management to avoid repainting issues.
3. Session High/Low Logic:
- By comparing the highest and lowest values over a lookback period, the script identifies whether the current value is a new session high or low, updating session boundaries and initiating visual indicators.
4. Visualization:
- The script creates visual representations using `box.new` for range zones and `label.new` for session labels.
- These elements update dynamically to reflect the most recent data.
5. Customization Options:
- Users can configure the appearance, behavior, and displayed data through multiple input options, ensuring adaptability to individual trading preferences.
This indicator is a robust tool for tracking higher timeframe activity, offering a blend of automation, customization, and visual clarity to enhance trading strategies.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
Supply and demandHi all!
This is my take on supply/demand. The gist is that it creates a zone if there is a big enough reaction. This is configurable in settings as "Minimum range (ATR factor)" (the Average True Length of length 14) that is the distance that the price must travel and "Reaction bars" that is the maximum number of bars that price must travel this distance. The zones that are shown are the ones that have a retest, break and retest or is unmitigated (untouched). If a zone is mitigated (entered) or broken it is temporarily hidden. For a zone to be created it needs to have this reaction and the previous bar does not.
So this script will show you zones that are fresh (unmitigated), retested or broken and retested. This means that the zones that are shown have "proven" that they are good zones through this. Basically it means that the script creates a bunch of zones and then picks the good once. This makes the script have some latency, but will hopefully give you good zones. A zone is completely removed if it's broken twice (it's okay if it's broken once and can still have a retest after it has flipped from previous supply (or resistance) into demand (or support)).
Here is a zone (the one that has the lowest opacity) that is broken and retested that could have resulted in a good long trade (the settings are default but has a stop in the beginning of 2024):
You have a setting to remove zones that are pierced (broken by price wicks). The following zone is pierced by price (in the beginning of May) that will not be shown after the start of May if you have "Pierced" checked (the indicator has default settings but a stop in the middle of April):
You have a trend section. Zones that create a reaction upwards can only be created if the trend is considered to be up, and vice versa. The options here are "SMA50" (the current price needs to be over the Simple Moving Average of length 50) and "SMA50, SMA200" (price needs to be over the Simple Moving Average of length 50 and the Simple Moving Average of length 50 needs to be over the Simple Moving Average of length 200). If these conditions are met the trend is considered to be up, otherwise it's down. You can disable this by choosing "No detection".
The zones that are shown also need to be within a limit (of the current price). This limit is 10 (factor of the Average True Range if length 14) by default. Set this to 0 to deactivate. This is useful for not showing zones that are far away from current price and therefore unlikely to be interacted with.
You can stop the calculation of zones (through the "Stop" value in the settings). This is useful to see if previous zones were any good. I used it in my testing of the script but left it because it can be nice to have.
The zones created by the script have different transparency based upon the zone's interaction. The clearest zones are the ones that are unmitigated, the second clearest ones are the ones having a retest and lastly the zones which are most unclear are the ones having a break and then a retest.
You can see the concept of this script to be a mix of supply/demand and support/resistance, having zones being unmitigated (untouched) as the most important but also show the zones having an interaction (in the form of a retest or a break and retest).
This is from a previous supply (or resistance) zone that has flipped into demand (or support) and has shown to be a good zone through a retest followed by a rally (default settings):
This zone has multiple retest and then rallies that could have given a good long trades (it has the default settings but a "Stop" time at 2022-01-14):
TODO:
- Create zones based on pivots
- Handle overlapping zones
- Incorporate volume in the creation and/or interaction with zones
- Add alerts
- Add ability to set maximum zone width
- Add ability to set the maximum number of retest bars
- ...?
The example for this publication has the default settings bit a "Stop" and a tighter "Limit" of 4.
I hope this explanation makes sense, let me know otherwise. Also let me know if you have any suggestions on improvements.
Best of trading luck!
Dynamic Support/Resistance Zones [ChartPrime]Dynamic Support/Resistance Zones is a new way to visualize key support and resistance levels by analyzing pivot points. It aggregates these points into bins and uses different scoring methods to determine the strength of the zone. The Linear method treats every pivot the same, Time gives more importance to recent pivots, and Volume scores pivots based on trading activity.
It visually represents the strength of price zones using either a visual distribution or an overlay of colors. Areas with many aggregated pivots are marked using the High Color, indicating strong support or resistance. Fewer pivots are shown in Low Color, suggesting weaker levels. Users can also see the score using the distribution mode to more accurately determine the strength of these areas.
The indicator also includes a special moving average line, calculated from pivot prices and their weights. This gives a central pivot level, allowing you to see the average pivot position. We have also provided some smoothing for this line to make it easer to use.
We have included various options to tailor your analysis. These include selecting the scoring method for pivots and adjusting the number of pivots to consider, along with many visual aids. Traders can also set the level of filtering for the distribution of pivots. By default the filter isn't enabled but when it is enabled it allows for a less noisy experience at the expense of precision.
We have included four pivot periods that you can modify and toggle. The idea is that longer period pivots will enhance the strength of the shorter period ones providing a natural way to weight pivot levels. You can also specify whether you want to use pivot high, pivot low, or both in your analysis.
Here are some details on the key inputs:
Weighting Style: Choose how to score pivot points. Options include: Linear: Treats each pivot equally. Time: Gives more importance to recent pivots. Volume: Scores pivots based on trading volume.
Number of Pivots: Set the number of pivots to consider in the calculation. Both pivot highs and lows are treated separately.
Filtering: Adjust the level of filtering applied to the distribution of pivots. A higher value smooths the distribution, providing a cleaner visual representation at the cost of some precision. This setting is crucial for managing the trade-off between clarity and detail in the visualization of support and resistance zones.
Distribution Scale: Determines the scale of the distribution on the screen. It influences both the visual aspect and the precision of the calculations, allowing for a balance between visibility and analytical accuracy.
Manual Precision: Manually set the number of divisions within the range. This setting offers control over the granularity.
Auto Precision: When enabled, it automatically adjusts the precision based on the average range of a candle, ensuring a minimum level of detail in the visualization.
Show Distribution: Toggle the visibility of the distribution of pivot points. When activated, it provides a detailed visual representation of where pivots are concentrated.
Show Score in Distribution: Opt to display the actual score within the distribution. This feature adds a quantitative element to the visual representation, offering a clearer understanding of the pivot point concentration.
Distribution Overlay: Activate a heat map overlay to visualize the distribution of pivots. You can also adjusting the transparency of this overlay, providing a balanced view that does not obstruct the underlying price chart.
Show Support/Resistance: Enable lines that indicate identified support and resistance levels based on the aggregated pivots. This feature provides a clear, actionable insight directly on the chart.
S/R Zone Visibility: Choose to display the support/resistance zones and set their transparency. It offers an extended visual cue about the potential breadth of support or resistance areas.
Pivot Level Average: Introduce a moving average line that's calculated based on the weighted pivot levels. You can also adjust the smoothness of this line.
Dynamic Support/Resistance Zones is an intuitive and versatile trading indicator that offers a novel approach to identifying support and resistance levels by analyzing pivot points. It blends a variety of scoring methods, customizable visual representations, and a unique moving average line. With its customizable settings for pivot analysis, visual clarity, and precision, it's an nifty tool for traders looking to enhance their decision making with detailed and actionable insights.
Forex Kill Zones - SMC IndicatorsWhat are Kill Zones?
Kill Zones are specific Time Windows of opportunity during the Session that have the potential for the highest volatility and where looking for trading opportunities is ideal.
The Forex Kill Zone Indicator is specifically designed for the Forex Market. What differentiates this script from other Kill Zones scripts is that this script is based on NY Midnight as the basis for the start of the day.
This is not the usual below-average Kill Zone indicator because this indicator does not only show the 3 main Kill Zones or Sessions, but it also offers extra Kill Zones that are called "Asian Range (AR)", "Central Bank Dealing Range (CBDR)", and "FLOUT".
Another key differentiator of this indicator's functionality is that it shows the highs and lows of each Kill zone allowing SMC traders to monitor Time-Based Liquidity above the highs and lows of each trading session.
Another added benefit of this indicator is the Standard Deviations features for the AR, CBDR, and FLOUT that we added. The Standard Deviations act as key levels where there is a high probability of price reacting when in confluence with 1H or higher key levels (PD Arrays). The Standard Deviations are not pivot levels but are ranges above and below the Kill Zones that rely on TIME and PRICE in their calculations.
Finally, we have also incorporated a Notification function to remind the trader of the start of the trading Kill Zones to not miss out on potential trade opportunities.
Key Functionalities
1) Universal Time Reference:
Every day starts at 00:00 NY Midnight, irrespective of the trader's local time, Instead of the Standard GMT Midnight. This allows all Kill Zones to be in line with the New York start of the day at Midnight, as thought by ICT.
Weekend Highlighter
This feature highlights time from Sunday Market Open at 5 PM NY Time to 00:00 NY Midnight.
It's useful for identifying the non-trading or the low volatility periods when trading should be avoided.
Features Breakdown
Lookback Period
Defaulted to 60 trading days, aligning with “IPDA Data Ranges”, which is ideal for backtesting.
Adjustable for trading, and it's recommended to keep it at 20 trading days to focus on most recent data only.
24-hour Daily Intervals
The 24-hour intervals are not the same as the usual daily candle. Instead, the start of each trading day is anchored to the 00:00 NY Midnight.
Highlights "Days of the Week" labels, "Weekend" Trading Time, and the daily high-low ranges based on the start of trading day mark being at 00:00 NY Midnight.
London Kill Zone (Green)
Starts from 01:00 NY Time to 05:00 NY Time.
London closes at 12:00 NY Time.
Highlight the high and low of the London Kill Zone to Identify Time-Based Liquidity above and below the London Kill Zone Range.
Marks the London Close Session to mark the end of London End of the trading day, where volatility drops.
Highlights the time when there is the highest volatility during the London Session Kill Zone.
New York Kill Zone (Blue)
Starts from 07:00 NY time to 10:00 NY Time.
Marks The CME Open at 08:30 (the opening of the Bond Market).
Highlight the high and low of the New York Kill Zone to Identify Time-Based Liquidity above and below the NY Kill Zone Range.
Highlights the time when there is the highest volatility during the New York Session.
The Central Bank Dealing Range or "CBDR" (Orange)
Starts From 14:00 NY Time to 20:00 NY Time.
Highlight the high and low of the CBDR Kill Zone to Identify Time-Based Liquidity above and below the CBDR Kill Zone Range.
Also, there is an added ability to add the CBDR Standard Deviations above and below the CBDR.
Can also extend the CBDR Standard Deviations key levels until the end of the next day's London Kill Zone.
What are the CBDR Standard Deviations?
The Standard Deviations are extensions of the CBDR above and below the CBDR original range. It takes the high and low of the range and adds the range above and below the original range by x times.
The CCBDR Standard Deviations are NOT pivot levels. They are used as points of reference where we could expect the price to react when in confluence with higher timeframe reference points.
The idea behind them is that if the price is Bearish, the price could rally to +1 CBDR Standard Deviation below dropping lower. As shown in the image below on Thursday, the two vertical lines before the start of Thursday mark the CBDR Kill Zone, then the price rallied to +1 CBDR SDv and then dropped.
Asian Range "AR" Kill Zone
Starts from 20:00 NY Time to 00:00 NY Time.
Highlight the high and low of the AR Kill Zone to Identify Time-Based Liquidity above and below the AR Kill Zone Range.
Also, there is an added ability to add the AR Standard Deviations above and below the AR.
This KillZone should be primarily used when CBDR exceeds 40 pips.
Similar to the CBDR, the AR Standard Deviations also can be used as points of reference where we could expect the price to react when in confluence with higher timeframe reference points.
The AR Standard Deviations can also be extended until the end of the next day's London Kill Zone.
FLOUT Range
It Combines AR and CBDR, spanning from 14:00 NY Time to 00:00 NY Time.
The FLOUT should only be used when both AR and CBDR have small ranges of less than 10 pips combined.
Highlight the high and low of the FLOUT Kill Zone to Identify Time-Based Liquidity above and below the FLOUT Kill Zone Range.
The FLOUT Standard Deviations also can be used as points of reference where we could expect the price to react when in confluence with higher timeframe reference points.
The Flout Standard Deviations can be extended until the end of the next day London Kill Zone.
Bonus Features
Daily & Weekly Open Price Levels
The Open Price levels draw a horizontal line from the start of the trading day at 00:00 NY midnight, and it extends it towards the end of the trading day.
This is useful for understanding where the price is relative to the daily candle.
When Bullish, the trader should look for setups at or below the daily or weekly open price.
When Bearish, the trader should look for setups at or above the daily or weekly open price.
Whether to choose the Daily or Weekly open price depends on the trader's trading style. If the trader is day trading or scaling, then it's more appropriate to choose the Daily Open Price.
However, Day Traders can also use the Weekly candle to align with the Weekly Candle's expected range direction.
On the other hand, if the trader is a Swing Trader and wants to capitalise on the weekly candle's trend, then it's more appropriate to choose the Weekly Open Price.
However, Swing Traders can also use the Daily Open Price when looking to take a trade to time better entries with a high risk-to-reward ratio.
Notifications
The trader can also receive alerts as a reminder at the start of the desired session to not miss out on the start of the trading session.
Flux Charts MTF Supply and Demand Zones (Premium)Indicator Overview
The Multi-Timeframe Supply & Demand Zones indicator by Flux Charts displays supply and demand zones on multiple timeframes with two different zone detection methods. These zones are commonly known as areas where there are lots of buyers/sellers present in the market.
Adaptive Detection Method
AMEX:SPY 5m timeframe, October 8 2023
Indicator Settings: (Timeframe: Chart & 15m, Method: Adaptive, Zone Multiplier: 1)
Many times supply and demand scripts try and precisely define conditions that qualify for supply and demand zones. People, however, when locating supply and demand zones manually generally do not take a quantitative approach, rather looking for qualities in price action that have generalized qualities and trends. The adaptive algorithm uniqueness comes from adapting the human approach to work computationally. It generalizes the qualities of supply and demand zones and locates areas in the chart with an acceptable similarity. Specifically, it looks for consolidated areas within the chart that are preceded by a rise or fall in price. The rise or fall length has to be a certain ratio to the consolidation length. If the criteria are met it will draw the zone, if a zone already exists at that price level it will ignore it or merge them if they are different timeframes. This results in a much more consistent ability to identify areas of supply and demand.
Basic Detection Method
The basic detection method looks for areas where price made drastic movements within a small period of time, which could indicate a high level of buyers/sellers at the spot. Thus, these zones are formed and can be used as areas of trading where money is going in/out of the markets.
Multi-Timeframe (MTF) S&D
Flux Charts supply and demand script utilizes MTF. This allows for displaying zones from different timeframes on one chart. Utilizing higher timeframes is a common practice in trading, and it can be easy to forget about key levels & zones on higher timeframes which could cause reversals/bounces.
Here is an example of a 15 minute supply zone formed on the NASDAQ, and with this indicator, you can also see this same 15 minute supply zone while being on a 5 minute candlestick chart, since you have the 15 minute zones enabled in the settings. This indicator offers supply & demand zones on multiple timeframes including the 5 minute, 15 minute, 30 minute, 1 hour, and 4 hour.
Settings
Method:
Choose between the Supply & Demand zones detection (Basic / Adaptive)
Zone Retests:
Choose how retests should be considered. You can choose between a high/low candle wick entering a zone, or a candle closing inside of a zone to be considered a valid retest.
Zone Invalidation:
Choose how zones are invalidated. You can choose between a high/low candle wick exiting a zone, or a candle closing outside of a zone to be considered a zone invalidation.
Zone multiplier:
Adjust zone size (1 is recommended)
Timeframe:
Choose the timeframes you would like Supply & Demand zones to be displayed from.
Zone Appearance:
Adjust the colors of Supply/Demand zones
Enable/Disable the center dashed line in zones
Display Labels:
Choose to toggle on/off retest & break labels
Notifications:
Choose what alerts you would like to receive. You can choose to have new zone formations, zone breaks, and zone retests.
Support & Resistance PROHi Traders!
The Support & Resistance PRO
A simple and effective indicator that helped me a bunch!
This indicator will chart simple support and resistance zones on 2 time frames of your choice.
It uses a 30 day lookback period and will find the last high and low.
Each zone is built from the highest/lowest closure, and the highest/lowest wick, creating a liquid zone between the 2.
It is perfect for people trading support and resistance, watching key areas, scalping zones and much more!
*You can change the time frames you are looking at and the lookback period.
*The example in the picture is looking at the Daily and Weekly zones on BTC.
ThiccZonesThis indicator is a formula that includes 4 different zones which are different sizes based on the ticker you decide to use. It was optimized for SPY and other market ETFs but works well for all stocks on the market. The formula puts a zone at the previous day's high and low, and the previous 5 day's high and low. These zones are meant to be used as support and resistance and can even overlap, creating a 'master zone'. This is different than other zone indicators because the formula for these zones is something I created myself and have been unable to find on here. I have had the most success using a 1-15 minute chart and using my zones for reversal areas. I often look for other indications of reversal as well that line up with the area of the zones. It can also be used on the break and retest of these zones. I have found that when a stock breaks one of these zones it will often retest and continue that trend.
SFC Smart Money Manipulation - MTF ZonesThis indicator shows the most important manipulated zones - true support and resistance.
The indicator can show the zones from different time frames - 1H, 4H, D and the current TF.
Order Block definition - small candle or few consecutive candles, where banks place buy and sell orders in order to manipulate the price. After price is manipulated and moved in one direction, the banks are in draw down, that is why they manipulate the price one more time before the true move, retesting these candles (closing losing positions).
FU candles
FU candles are most manipulated candles and create very strong reaction zones. These are the true zones, where the banks place their orders.
Why they are so strong? The answer is very simple - these candles clear the liquidity from the previous ones. After the liquidity is cleared ( all stop losses/pending orders are triggered), price reveal the true direction and move very fast.
FU candles are type of Order Blocks - the most powerful one.
Because the most volume is in the body of the order block. The indicator shows not only the FU candle, but the body of the order block.
There are two types of FU candles :
(only full FU candles are displayed as zones, because they are much significant)
1) Full fu, where the current candle completely engulf the previous one, after taking the liquidity. (displayed as F)
2) Current candle only take liquidity from the previous one, but failed to engulf it. (displayed as A)
9 day simple moving average is also displayed. When the price form Fu candle above/under the MA, there is a better chance for reversal.
When FU candles are retested the transparency will change, showing that the zones may have less impact.
Order Blocks
Only the current order blocks are displayed. Price react very often from the 50% level, that is why this level is also displayed.
Rejections
Rejections are doji candles or candles with big wicks. These rejections very often lead to reversals or deep pullbacks. But before the true move, price test the rejection levels. The retest is not always, but very often of the 50% of the wick.
The rejections are very important price zone.
The indicator can show the zones from different time frames - 1H, 4H, D and the current TF. When wicks are retested the transparency and colour will change, showing that the wicks may have less impact or no more impact.
Settings
-The colour and transparency of the zones can be changed.
- Multi time frames zones could be disabled.
- Doji settings
- Length of the moving average
How to use
If price reach one of the displayed zones. The trader should be prepared for price reaction. This reaction could lead to reversal, pull back or trading range.
The trader should have bias from the higher time frames and watch for signs of manipulations on smaller time frames.
TAS Navigator + TAS Ratio + TAS Yield Zones [TASMarketProfile]This bundle of 3 TAS Market Profile indicators reveal when markets are gaining momentum, exhausted and reaching critical overbought/oversold conditions. The indicators display on a space-saving bottom pane and provide multi-perspective analysis that yield confidence in what direction to trade and when. The TAS Navigator, TAS Ratio, and TAS Yield Zones can be applied to any financial market such as stocks, ETFs, futures, Forex and digital currencies.
∟ ABOUT TAS NAVIGATOR:
TAS Navigator is a versatile indicator that combines several signals to help you manage your trades and avoid unfavorable situations. At a glance, the Navigator can provide the trader with useful information about underlying trading conditions for any time frame chart. The Navigator is comprised of three primary components – the histogram, the moving average and the zero line.
The histogram consists of the vertical bars plotted above and below the horizontal “zero line.” The bars are color-coded to provide the following information:
NEON GREEN / RED – The directional move continues to gain momentum.
DARK GREEN / RED – The buying or selling momentum is falling off.
MAGENTA – Exhaustion warning and the move has reached “peaking” conditions that may be difficult to maintain. Markets are likely to run sideways for a period of time or a direction change may be near.
The moving average (MA) is the blue line that travels horizontally across the Navigator and provides a relative measure of the overall levels of buying or selling. You will notice that the dots capping the histogram bars change from green to red as they move above or below the MA. The color of these dots tells us the following:
GREEN DOTS – The buyers are currently in control.
RED DOTS – The sellers are currently in control.
The zero line is the horizontal line around which the histogram plots. It provides a reference point for the larger momentum shifts. It is color-coded in the following manner:
CYAN – The current market phase is trending / unbalanced.
YELLOW – The current market phase is sideways / balanced.
INTERPRETATION AND RULES:
The TAS Navigator’s inherent ability to visualize the overall pulse of the market can inform your trading decisions in several ways:
>>> If the histogram is neon green or red, the trader should look for trading opportunities in the appropriate direction (green = long; red = short) and hold for increased profits as long as the bars remain neon green or red.
>>> If magenta bars appear, the trader knows to tighten stops and look for profit-taking opportunities because the trend has reached peaking conditions.
>>> When the histogram switches to dark green or red – indicating momentum is slowing – the trader can look to tighten stops and consider technical areas for reentry.
>>> Once the histogram crosses the MA and the capping dot changes to the opposite color of the histogram bar, a trader knows that they can begin looking for countertrend trade opportunities.
>>> Most importantly, until that dot changes color, the trader knows that the odds do not favor looking for trading opportunities against the current trend.
>>> The relative peaks of the histogram bars can also provide valuable information. As consecutive histogram peaks move further away from the zero line, price should extend the trending move. When consecutive histogram peaks become closer to the zero line, the price should create a lower high or higher low soon.
>>> A trend line connecting histogram peaks can be used to identify trading levels based upon momentum reaching the necessary level to touch the projected trend line.
>>> Trading opportunities can also be found when divergence occurs between the histogram and price. For example, consecutive histogram peaks move further away from zero line, but price cannot extend the trend.
∟ ABOUT TAS RATIO:
TAS Ratio is a leading indicator which helps forecast short-term price movements. It is best used for gauging targeted areas for entry and exit points. It was designed to identify when price movement is confirmed by volume and volatility as well as when market moves lack momentum, conviction and follow through. TAS Ratio levels are determined by a defined time within a 24-hour period and applicable for intraday charts only. The analysis can be applied to any liquid financial instrument and provides target trading zones in either direction.
INPUT SETTINGS FOR TAS RATIO:
There are 3 inputs for TAS Ratio and below you’ll find the default settings:
Ratio RangeBars: 10
Ratio AverageBars: 3
Ratio MABars: 3
>>> Ratio RangeBars – Sets the desired lookback period. Default = 10.
>>> Ratio AverageBars – Sets the smoothing factor and should be the same as MABars setting. Default = 3.
>>> Ratio MABars – Sets the smoothing factor and should be the same as AverageBars setting. Default = 3.
CONFIGURATION NOTES:
As a rule, the RangeBars period should be twice (or more) than the AverageBars and MABars setting. Remember that the AverageBars and MABars settings should be equal. For example, 6/3/3 or 8/4/4 would be minimum separation.
Faster time charts may prefer slower indicator settings for smoother readings. For example, on 30-minute charts or lower the settings for RangeBars period and AverageBars and MABars could be 10/5/5 or even 16/8/8 respectively.
TAS RATIO DISPLAY:
TAS Ratio – Displays more volatile orange-colored line
Moving Average – Displays smoothed moving average purple-colored line
Note that the default colors can be adjusted in the Style settings.
INTERPRETATION AND RULES:
TAS Ratio is displayed on the same pane and scale as TAS Navigator in which readings of +40 is considered overbought and -40 is oversold.
TAS Ratio is especially effective when traders are aiming to time entry points into emerging intraday trends which can be observed when the price is making new “higher lows” or alternatively when price is making new “lower highs.”
TAS Ratio is a sensitive indicator by nature and should be viewed as a tool for fine-tuning a more granular entry or exit within the scope of other TAS Indicators.
TAS Ratio is useful in confirming when price may be at an area of divergence to locate and target higher probability entries and exits.
In general, price should move freely in the same direction of the indicator and in a proportionate range of movement.
When price fails to move proportionately, as much as TAS Ratio moves or stalls, this divergence alerts you to focus on immediate areas of support and resistance.
When price stalls and TAS Ratio does not stall, this is an indication to seek confirmation for a valid counter-trend trading opportunity.
Pay attention to TAS Ratio (orange line) crossovers above and below the Moving Average line (purple line), but also observe the trajectory and whether the Ratio line is pulling away and creating greater distance from the Moving Average line. Increasing distance is a sign of strength of move in that direction.
∟ ABOUT TAS YIELD ZONES:
TAS Yield Zones provides a valuable visual warning via a yellow background color when TAS Navigator and/or TAS Ratio indicators are exceeding specific overbought or oversold threshold lines dictated by the user. The indicator is visible in the same bottom pane as these two indicators. The user controls how extreme of the overbought or oversold condition they mandate in order to trigger the “Yield Zone” warning for each indicator based on the inputs for the TAS Yield Zones threshold lines.
INPUT SETTINGS FOR TAS YIELD ZONES:
Within the Input settings, you can activate or deactivate the visibility of TAS Yield Zones for TAS Navigator or TAS Ratio. By default, both will be visible. There are 4 inputs for TAS Yield Zones and below you’ll find the default settings:
Yield Zones Nav Overbought Line: 40 (red line by default)
Yield Zones Nav Oversold Line: -40 (green line by default)
Yield Zones Ratio Overbought Line: 40 (gray line by default)
Yield Zones Ratio Oversold Line: -40 (gray line by default)
The farther away the Inputs are from the 0 line, the stronger the move must be bullish or bearish in order to get to the threshold lines. For instance, Inputs of 50/-50 would require a more substantial move than 30/-30 settings. Additionally, the user can adjust the coloring of the TAS Yield Zones inside the Style settings.
TAS Yield Zones are best used in conjunction with TAS Navigator and TAS Ratio so the user can visually see when the threshold lines are near being approached and exceeded. When all three indicators are visible on the pane, you can see when there is a confluence of overbought or oversold conditions simultaneously on both TAS Navigator and TAS Ratio indicators and when exhaustion warning conditions are present. When these three conditions occur, there is a likelihood that a move in the opposite direction (or at a minimum a sideways condition) may be near.
Trade Well My Friends,
CHOCH - MSB for Supply and DemandChange of Character (CHOCH) - Market Structure Break (MSB) for Supply & Demand
Description
The script is designed as a confirmation entry tool to be used with supply and demand zones (predefined proximal and distal levels).
When price hits a predefined level it will monitor price action using fractals and an algorithm to determine a potential reversal in trend or change of trend direction.
Once this has been identified you will be alerted in order to anticipate a retracement entry. A good understanding of supply and demand concepts, odds enhancers, and how to identify fresh levels is expected to utilise it's full potential.
Indicator in use
How To Use
Apply one indicator on a higher timeframe, and another on a lower timeframe. In settings, select long for a demand zone and short for a supply zone. Use the higher timeframe to plot major supply and demand zones and a lower timeframe of your choice for the alert. You can refine your levels by manually entering the price levels in settings. The alert is set on the timeframe you set it on.
Manual Selection
Check "override custom levels" and manually enter the price levels of your proximal and distal lines. Input the time and date of your pivot point (candle). Manual selection is recommended as you can refine your zones.
Automatic Selection
Drag and drop the pivot on the candle of choice . The pivot point will mark the zone using the candle's high and low (default setting). Source for top and bottom levels can be changed in settings.
Start Control after X Bar
This defines how many bars is required (from your pivot point) before it sets to anticipate a breach.
ZoPC: Zones of Price ConcentrationThe ZoPC script calculates the highest high and lowest low for X days back and breaks the range up into 16 zones. Each zone has a counter that tallies the number of times price closes within its zone. The higher the count, the deeper the color. The loopback in days as well as the counter threshold parameters can be adjusted in the inputs section.
In the chart below of XMRBTC. You can see 2 distinct zones; one of which XMTBTC is currently falling below. These ZoPC's should act as resistance.
Here is another example of ZoPC at work for DOGEBTC and SCBTC. You can see the support (for SCBTC) and resistance (for DOGEBTC) levels indicated by the most concentrated zones.
Feel free to leave a message below or DM me for a trial. If this script helps inform your trades, you have the option of purchasing a permanent license. Please let me know if you have any questions.
Happy trades,
Sim
Dynamic Structure IndicatorThis is a dynamic structure indicator designed to map potential support and resistance zones (in all markets). It does this by looking back x amount of candles to identify major swing highs and lows on the specified reference timeframe, and then it draws a zone between the highest/lowest wick and the highest/lowest candle close across the chart until a new zone is created.
The settings are important because it gathers data from a separate reference timeframe, so sometimes it will map zones that aren’t really appropriate for lower timeframes. On lower timeframes (1Hr and under) I’d recommend setting the reference timeframe to your actual trading timeframe and increasing the lookback period to fine-tune the zone mapping. The script is set for 4 Hour forex charts by default.
Please note: the max zone option is disabled by default because it is different for every instrument, but this is a useful feature that I recommend using. Sometimes the indicator picks up huge gaps that aren’t really considered support or resistance zones. If this happens to you, use the zone size settings to invalidate huge (or tiny) zones. The zone size is in pips.
To be honest I didn’t get this indicator to be quite as accurate as I envisioned and it’s still a work in progress as I learn pine script, but this is the best I’ve been able to get it to function and with the right settings it works fairly well so I figured I might as well release this first version. Maybe someone with better skills than me can help refine it to more accurately identify major fractals and levels - if so, please get in touch! All traders should be able to identify their own major levels by eye anyway, but this script is intended to be a building block for future signal indicators I wish to develop.
Last of all - please don’t use this indicator to trade blindly! Often price will blast right through these zones and the zones aren’t always accurate. Remember that structure levels only work if they’re obvious to other traders, and always wait for confirmation signals that meet your trade plan rules before entering trades – especially reversals or counter-trend trades.
If you have any questions or tips to improve the script, feel free to leave a comment or private message me.
Enjoy, and good luck out there :)
- Matt.
RVol based Support & Resistance ZonesDescription:
This indicator is designed to help traders identify significant price levels based on institutional volume. It monitors two higher timeframes (defined by the user) simultaneously. When a candle on these higher timeframes exhibits unusually high volume—known as high Relative Volume (RVol)—the indicator automatically draws a "Zone of Interest" box on your current chart.
These zones are defined by:
Up candle : from candle open to low of candle
Down candle : from candle open to high of candle
Key Features:
Multi-Timeframe Monitoring: You can trade on a lower timeframe (e.g., 5-minute) while the indicator monitors the 30-minute and 1-hour charts for volume spikes.
RVol Boxes: Automatically draws boxes extending from high-volume candles.
Up Candles: Box covers Low to Open.
Down Candles: Box covers High to Open.
Live Dashboard: A neat, color-coded table displays the current Volume, Average Volume, and RVol percentage for your watched timeframes.
Real-Time vs. Confirmed: Choose whether to see boxes appear immediately as volume spikes (Live) or only after the candle has closed and confirmed the volume (Candle Close).
Settings Guide:
1. General Settings
Relative Volume Length: The number of past candles used to calculate the "Average Volume." (Default is 20).
Max Days Back to Draw: To keep your chart clean, this limits how far back in history the script looks for high-volume zones. (e.g., set to 5 to only see zones created in the last 5 days).
Draw Mode:
- Live (Real-time): Draws the box immediately if the current developing candle hits the volume threshold. (Note: The box may disappear if the volume average shifts before the candle closes).
- Candle Close: The box only appears once the candle has finished and permanently confirmed the volume spike.
2. Table Settings
Show Info Table: Toggles the dashboard on or off.
Text Size & Position: Customise where the table appears on your screen and how large the text is.
Colours: Fully customisable colours for the Table Header (Top row) and Data Rows (Bottom rows).
3. Timeframe 1 & 2 Settings
You have two identical sections to configure two different timeframes (e.g., 30m and 1H).
Timeframe: The chart interval to monitor (e.g., "30" for 30 minutes, "60" for 1 Hour, "240" for 4 Hours).
Threshold %: The "Trigger" for drawing a box based on relative candle volume in that timeframe.
Example:
100% = Candle Volume is equal to the average volume for the specified timeframe.
200% = Candle Volume is 2x the average volume for the specified timeframe.
300% = Candle Volume is 3x the average volume for the specified timeframe.
Box & Edge Colour: Distinct colours for each timeframe so you can easily tell which timeframe created the zone.
One for AllOne for All (OFA) - Complete ICT Analysis Suite
Version 3.3.0 by theCodeman
📊 Overview
One for All (OFA) is a comprehensive TradingView indicator designed for traders who follow Inner Circle Trader (ICT) concepts. This all-in-one tool combines essential ICT analysis features—sessions, kill zones, previous period levels, and higher timeframe candles with Fair Value Gaps (FVGs) and Volume Imbalances (VIs)—into a single, highly customizable indicator. Whether you're a beginner learning ICT concepts or an experienced trader refining your edge, OFA provides the visual structure needed for precise market analysis and execution.
✨ Key Features
- 🏷️ Customizable Watermark**: Display your trading identity with customizable titles, subtitles, symbol info, and full style control
- 🌍 Trading Sessions**: Visualize Asian, London, and New York sessions with high/low lines, range boxes, and open/close markers
- 🎯 Kill Zones**: Highlight 5 critical ICT kill zones with precise timing and visual boxes
- 📈 Previous Period H/L**: Track Daily, Weekly, and Monthly highs/lows with customizable styles and lookback periods
- 🕐 Higher Timeframe Candles**: Display up to 5 HTF timeframes with OHLC trace lines, timers, and interval labels
- 🔍 FVG & VI Detection**: Automatically detect and visualize Fair Value Gaps and Volume Imbalances on HTF candles
- ⚙️ Universal Timezone Support**: Works globally with GMT-12 to GMT+14 timezone selection
- 🎨 Full Customization**: Control colors, styles, visibility, and layout for every feature
🚀 How to Use
Watermark Setup
The watermark overlay helps you identify your charts and maintain focus on your trading principles:
1. Enable/disable watermark via "Show Watermark" toggle
2. Customize the title (default: "Name") to display your trading name or account identifier
3. Set up to 3 subtitles (default: "Patience", "Confidence", "Execution") as trading reminders
4. Choose position (9 locations available), size, color, and transparency
5. Toggle symbol and timeframe display as needed
Use Case: Display your trading principles or account name for multi-monitor setups or content creation.
Trading Sessions Analysis
Sessions define market character and liquidity availability:
1. Enable "Show All Sessions" to visualize all three sessions
2. Adjust timezone to match your local market (default: UTC-5 for EST)
3. Customize session times if needed (defaults cover standard hours)
4. Enable session range boxes to see consolidation zones
5. Use session high/low lines to identify key levels for the current session
6. Enable open/close markers to track session transitions
Use Case: Identify which session you're trading in, track session highs/lows for liquidity, and anticipate session transition volatility.
Kill Zones Trading
Kill zones are ICT's high-probability trading windows:
1. Enable individual kill zones or use "Show All Kill Zones"
2. **Asian Kill Zone** (2000-0000 GMT): Early positioning and smart money accumulation
3. **London Kill Zone** (0300-0500 GMT): European market opening volatility
4. **NY AM Kill Zone** (0930-1100 EST): Post-NYSE open expansion
5. **NY Lunch Kill Zone** (1200-1300 EST): Midday consolidation or manipulation
6. **NY PM Kill Zone** (1330-1600 EST): Afternoon positioning and closes
7. Customize colors and times to match your trading style
8. Set max days display to control historical visibility (default: 30 days)
Use Case: Focus entries during high-probability windows. Watch for liquidity sweeps at kill zone openings and institutional positioning.
Previous Period High/Low Levels
Previous period levels act as magnetic price targets and support/resistance:
1. Enable Daily (PDH/PDL), Weekly (PWH/PWL), or Monthly (PMH/PML) levels individually
2. Set lookback period (how many previous periods to display)
3. Choose line style: Solid (current emphasis), Dashed (standard), or Dotted (subtle)
4. Customize colors per timeframe for visual hierarchy
5. Adjust line width (1-5) for visibility preference
6. Enable gradient effect to fade older periods
7. Position labels left or right based on chart layout
8. Customize label text for your preferred notation
Use Case: Identify key levels where price is likely to react. Daily levels work on intraday timeframes, Weekly on daily charts, Monthly for swing trading.
Higher Timeframe (HTF) Candles
HTF candles reveal the larger market context while trading lower timeframes:
1. Enable up to 5 HTF slots simultaneously (default: 5m, 15m, 1H, 4H, Daily)
2. Choose display mode: "Below Chart" (stacked rows) or "Right Side" (compact column)
3. Customize timeframe, colors (bull/bear), and titles for each slot
4. **OHLC Trace Lines**: Visual lines connecting HTF candle levels to chart bars
5. **HTF Timer**: Countdown showing time remaining until HTF candle close
6. **Interval Labels**: Display day of week (Daily+) or time (intraday) on each candle
7. For Daily candles: Choose open time (Midnight, 8:30, 9:30) to match your market structure preference
Use Case: Trade lower timeframes while respecting higher timeframe structure. Watch for HTF candle closes to confirm directional bias.
FVG & VI Detection
Fair Value Gaps and Volume Imbalances highlight inefficiencies that price often revisits:
1. **Fair Value Gaps (FVGs)**: Detected when HTF candle wicks don't overlap between 3 consecutive candles
- Bullish FVG: Gap between candle 1 high and candle 3 low (green box by default)
- Bearish FVG: Gap between candle 1 low and candle 3 high (red box by default)
2. **Volume Imbalances (VIs)**: Similar detection but focuses on body gaps
- Bullish VI: Gap between candle 1 close and candle 3 open
- Bearish VI: Gap between candle 1 open and candle 3 close
3. Enable FVG/VI detection per HTF slot individually
4. Customize colors and transparency for each imbalance type
5. Boxes appear on chart at formation and remain visible as retracement targets
**Use Case**: Identify high-probability retracement zones. Price often returns to fill FVGs and VIs before continuing the trend. Use as entry zones or profit targets.
🎨 Customization
OFA is built for flexibility. Every feature includes extensive customization options:
Visual Customization
- **Colors**: Independent color control for every element (sessions, kill zones, lines, labels, FVGs, VIs)
- **Transparency**: Adjust box and label transparency (0-100%) for clean charts
- **Line Styles**: Choose Solid, Dashed, or Dotted for previous period lines
- **Sizes**: Control text size, line width, and box borders
- **Positions**: Place watermark in 9 positions, labels left/right
Layout Control
- **HTF Display Mode**: "Below Chart" for detailed analysis, "Right Side" for space efficiency
- **Drawing Limits**: Set max days for sessions/kill zones to manage chart clutter
- **Lookback Periods**: Control how many previous periods to display (1-10)
- **Gradient Effects**: Enable fading for older previous period lines
Timing Adjustments
- **Timezone**: Universal GMT offset selector (-12 to +14) for global markets
- **Session Times**: Customize each session's start/end times
- **Kill Zone Times**: Adjust kill zone windows to match your market's characteristics
- **Daily Open**: Choose Midnight, 8:30, or 9:30 for Daily HTF candle open time
💡 Best Practices
1. Start Simple: Enable one feature at a time to learn how each element affects your analysis
2. Match Your Timeframe: Use Daily levels on intraday charts, Weekly on daily charts, HTF candles one or two levels above your trading timeframe
3. Kill Zone Focus: Concentrate your trading activity during kill zones for higher probability setups
4. HTF Confirmation: Wait for HTF candle closes before committing to directional bias
5. FVG/VI Entries: Look for price to return to unfilled FVGs/VIs for entry opportunities with favorable risk/reward
6. Customize Colors: Use a consistent color scheme that matches your chart theme and reduces visual fatigue
7. Reduce Clutter: Disable features you're not actively using in your current trading plan
8. Session Context: Understand which session controls the market—trade with session direction or anticipate reversals at session transitions
⚙️ Settings Guide
OFA organizes settings into logical groups for easy navigation:
- **═══ WATERMARK ═══**: Title, subtitles, position, style, symbol/timeframe display
- **═══ SESSIONS ═══**: Enable/disable sessions, times, colors, high/low lines, boxes, markers
- **═══ KILL ZONES ═══**: Individual kill zone toggles, times, colors, max days display
- **═══ PREVIOUS H/L - DAILY ═══**: Daily high/low lines, style, color, lookback, labels
- **═══ PREVIOUS H/L - WEEKLY ═══**: Weekly high/low lines, style, color, lookback, labels
- **═══ PREVIOUS H/L - MONTHLY ═══**: Monthly high/low lines, style, color, lookback, labels
- **═══ HTF CANDLES ═══**: Global display mode, layout settings
- **═══ HTF SLOT 1-5 ═══**: Individual HTF configuration (timeframe, colors, title, FVG/VI detection, trace lines, timer, interval labels)
Each setting includes tooltips explaining its function. Hover over any input for detailed guidance.
📝 Final Notes
One for All (OFA) represents a complete ICT analysis toolkit in a single indicator. By combining watermark customization, session visualization, kill zone highlighting, previous period levels, and higher timeframe candles with FVG/VI detection, OFA eliminates the need for multiple indicators cluttering your chart.
**Version**: 3.3.0
**Author**: theCodeman
**Pine Script**: v6
**License**: Mozilla Public License 2.0
Start with default settings to learn the indicator's structure, then customize extensively to match your personal trading style. Remember: tools provide information, but your edge comes from disciplined execution of a proven strategy.
Happy Trading! 📈
Support Resistance📌 1. Indicator Name
Premium Auto Support & Resistance
📌 2. One-Line Description
An automated S/R system that generates support and resistance zones based on swing highs and lows, displaying them in a premium visual style directly on the chart.
📌 3. Overall Summary (7+ lines)
This indicator automatically detects price levels where the market has repeatedly reacted and generates support and resistance zones.
Instead of simple horizontal lines, it visualizes reaction ranges as zones, helping traders clearly understand the actual price areas where activity occurs.
It uses swing points (high/low pivots) as the fundamental basis and continuously updates only the most meaningful recent S/R levels.
A smoothing process is applied, reducing noise and creating more natural, reliable S/R zones.
Support and resistance are displayed as filled transparency-based zones, enabling intuitive identification of zone strength and market position.
When price touches one of these zones, a small signal appears to highlight potential reversal points.
All elements are plotted directly over the candles with overlay=true, making it an instantly usable and visually premium tool.
📌 4. Advantages (6 items)
① Automatic Swing-Based S/R Detection
Automatically analyzes key pivot points and extracts only the most meaningful support and resistance levels.
② Support/Resistance Zone Structure
Provides intuitive reaction ranges instead of single lines, making it far more practical for real trading.
③ Smooth Premium-Style Lines
S/R lines are smoothed to remove noise, maintaining a natural and refined premium visual appearance.
④ Automatic Candle-Touch Alerts
Displays signals whenever price touches support or resistance, helping you quickly identify potential reversal areas.
⑤ Overlay-Based Immediate Clarity
Drawn directly onto the chart without occupying indicator windows, keeping visual focus on price action.
⑥ Simple Yet Powerful Framework
A pivot + smoothing + zone combination that strengthens automatic S/R detection while remaining easy for beginners to use.
Scalping Dashboard - Volume Candles + Liquidity ZonesScalping Dashboard - Volume Candles + Liquidity Zones
📊 Overview
A comprehensive scalping indicator designed for high-frequency traders on 1-5 minute timeframes. This all-in-one dashboard combines volume analysis, order flow metrics, technical indicators, and institutional liquidity zones to identify high-probability scalping opportunities.
🎯 Key Features
✅ Multi-Timeframe Analysis
Fast MACD (5/13/5) for momentum
Quick EMAs (9/20/50) for trend direction
Rapid Stochastic (5/3/3) for oversold/overbought conditions
Fast RSI (7) for extreme readings
✅ Advanced Order Flow Metrics
CVD (Cumulative Volume Delta): Tracks buy vs sell pressure over time
Delta Momentum: Measures acceleration in buying/selling
Buy/Sell Pressure Ratio: Real-time balance of market forces
Order Flow Imbalance: Detects aggressive buying or selling
Tape Speed: Measures how fast volume is hitting the market
✅ Institutional Liquidity Zones
Buy-Side Liquidity: Areas above price where short stop losses cluster
Sell-Side Liquidity: Areas below price where long stop losses cluster
Liquidity Sweeps: Detects "stop hunts" by institutions before reversals
✅ Volume-Based Candle Coloring
Visual representation of volume intensity
Extreme, High, Normal, and Low volume categories
Fully customizable color schemes
✅ Dynamic Support/Resistance
Volume-weighted price levels
Automatically updates every 3 bars
Shows distance to key levels
📈 Dashboard Indicators Explained
The bottom-left dashboard displays 14 real-time metrics:
▸ MACD (●)
Green = Bullish momentum
Red = Bearish momentum
Gray = Neutral
▸ Supp (Price)
Support level
Green highlight = at support (good for long entry)
▸ Res (Price)
Resistance level
Orange highlight = at resistance (good for short entry)
▸ EMA (●)
Green = Price above EMAs (bullish)
Red = Price below EMAs (bearish)
▸ Stoch (●)
Green = Oversold (<20)
Red = Overbought (>80)
Gray = Neutral
▸ RSI (●)
Green = Oversold (<30)
Red = Overbought (>70)
Gray = Neutral
▸ CVD (●)
Green = Cumulative buying pressure
Red = Cumulative selling pressure
▸ ΔCVD (●)
Green = Increasing buy pressure
Red = Increasing sell pressure
▸ Imbal (●)
Green = Buy imbalance (>2:1 ratio)
Red = Sell imbalance
▸ Vol (●)
Green/Yellow background = Volume surge (>2x average)
▸ Tape (●)
Green/Yellow background = Fast tape (>1.5x speed)
▸ Liq (↑↓●)
↑ = Bullish sweep or near sell-side liquidity
↓ = Bearish sweep or near buy-side liquidity
● = Neutral
▸ Score (#L or #S)
Quality score (0-8) for Long or Short setups
Higher numbers = Better quality trade
▸ SCALP (LONG/SHORT/WAIT)
Primary signal
Bright color = High quality (score ≥5)
Dim color = Decent quality (score =4)
Gray = Wait for better setup
🎨 Candle Color System
Volume-Based Colors
Bright Green/Red: Extreme volume (>2.5x average) - Major moves
Medium Green/Red: High volume (>1.5x average) - Strong activity
Dull Green/Red: Normal volume - Standard market activity
Gray: Low volume (<0.5x average) - Avoid trading
Signal-Based Colors
Lime: Strong Long signal (score ≥5)
Green: Decent Long signal (score =4)
Orange: Strong Short signal (score ≥5)
Red: Decent Short signal (score =4)
Candle Color Modes (adjustable in settings):
Volume Only: Pure volume intensity
Volume + Signals: Signals override volume when present (default)
Signals Only: Only shows entry signals
🔵 Chart Indicators
Support & Resistance Lines
Green Line: Volume-weighted support level
Red Line: Volume-weighted resistance level
Lines update dynamically based on 100-bar volume profile
Liquidity Zones
Cyan Circles/Dashed Lines: Buy-side liquidity (above price)
Where short stop losses cluster
Potential targets for bullish moves
Institutions may push price here before reversing down
Magenta Circles/Dashed Lines: Sell-side liquidity (below price)
Where long stop losses cluster
Potential targets for bearish moves
Institutions may push price here before reversing up
Entry Markers
Large Green Triangle (▲): High quality long entry (score ≥5)
Small Green Triangle (▲): Decent long entry (score =4)
Large Orange Triangle (▼): High quality short entry (score ≥5)
Small Red Triangle (▼): Decent short entry (score =4)
Liquidity Sweep Markers
Cyan X-Cross (below bar): Bullish liquidity sweep - "LIQ↑"
Price swept sell-side liquidity and reversed up
Strong buy signal
Magenta X-Cross (above bar): Bearish liquidity sweep - "LIQ↓"
Price swept buy-side liquidity and reversed down
Strong sell signal
🎯 How to Use This Indicator
For Long Scalps (Buy):
Wait for Dashboard Signal: SCALP = "LONG" with score ≥5
Confirm Multiple Green Dots: Look for EMA, CVD, ΔCVD, Imbal all green
Check Volume: Vol or Tape should show yellow background (surge)
Look for Confluence:
Price at or near Support level (green highlight)
Price near Sell-Side Liquidity (magenta line below)
RSI oversold (green dot)
Large green triangle appears on chart
Best Entry: On a bullish liquidity sweep (cyan X-cross)
For Short Scalps (Sell):
Wait for Dashboard Signal: SCALP = "SHORT" with score ≥5
Confirm Multiple Red Dots: Look for EMA, CVD, ΔCVD, Imbal all red
Check Volume: Vol or Tape should show yellow background (surge)
Look for Confluence:
Price at or near Resistance level (orange highlight)
Price near Buy-Side Liquidity (cyan line above)
RSI overbought (red dot)
Large orange triangle appears on chart
Best Entry: On a bearish liquidity sweep (magenta X-cross)
Three Types of Scalping Setups:
1. Quick Scalp (Fastest - 1-5 minute holds)
MACD or Stochastic crossover + Volume surge
At Support/Resistance level
Score ≥4
2. Momentum Scalp (Ride the wave - 5-15 minute holds)
Strong EMA alignment + CVD slope positive
Order flow imbalance + Fast tape
Volume surge with price structure
Score ≥5
3. Reversal Scalp (Fade extremes - 3-10 minute holds)
Stochastic + RSI extreme readings
At Support/Resistance OR liquidity sweep
CVD momentum reversal
Score ≥6
⚙️ Recommended Settings
Timeframes
Primary: 1-minute, 2-minute, 5-minute
Confirmation: Use 15-minute chart for overall trend direction
Asset Types
Forex pairs (high liquidity)
Crypto (BTC, ETH with high volume)
Futures (ES, NQ)
Major stocks during market hours
Risk Management
Target: 1-3 times your stop loss
Stop Loss: Below nearest liquidity zone for longs, above for shorts
Position Size: Never risk more than 1% per trade
Score ≥5: Take full position size
Score =4: Take half position size or skip
🔧 Customization Options
Input Groups
MACD Settings
Fast Length: 5 (scalping optimized)
Slow Length: 13
Signal Length: 5
EMA Settings
EMA 9, 20, 50 (fast scalping EMAs)
Stochastic Settings
%K Length: 5
%D Smoothing: 3
Smooth: 3
CVD Settings
MA Length: 10 (for CVD smoothing)
RSI Settings
Length: 7 (fast RSI)
Overbought: 70
Oversold: 30
Volume Settings
MA Length: 10
Extreme Multiplier: 2.5x
High Multiplier: 1.5x
Low Multiplier: 0.5x
Liquidity Zone Settings
Lookback Periods: 20
Swing Strength: 3
Show Liquidity Zones: On/Off
Show Liquidity Sweeps: On/Off
Support/Resistance Settings
Volume Lookback: 100 bars (~2 hours on 1-min chart)
Order Flow Settings
Imbalance Threshold: 2.0 (2:1 ratio)
Color Customization
All volume colors customizable
All signal colors customizable
All liquidity colors customizable
📊 Volume Legend (Top Right)
The small table in the top-right corner shows the volume intensity key:
Extreme: >2.5x average volume
High: >1.5x average volume
Normal: 0.5x to 1.5x average volume
Low: <0.5x average volume
🔔 Built-in Alerts
Set up these alerts to never miss a trade:
High Quality Long Scalp: Triggers when entry_long and score ≥5
High Quality Short Scalp: Triggers when entry_short and score ≥5
Bullish Liquidity Sweep: Triggers when sell-side liquidity is swept
Bearish Liquidity Sweep: Triggers when buy-side liquidity is swept
To set up: Right-click chart → Add Alert → Select condition → Create
💡 Pro Tips
Understanding Liquidity Zones
Buy-Side Liquidity = Where shorts have their stops = Price tends to wick up here
Sell-Side Liquidity = Where longs have their stops = Price tends to wick down here
Liquidity Sweep = Institution triggers stops, absorbs liquidity, then reverses
Best trades = Enter AFTER the sweep when price reverses back
Reading the Dashboard
All Green Dots + Yellow Volume = Strong Long Setup
All Red Dots + Yellow Volume = Strong Short Setup
Mixed Colors = Choppy/Neutral = Wait
Score 6+ = Highest probability trades
Score 3 or less = Avoid
Confluence is Key
Never trade on a single indicator. Wait for:
Dashboard score ≥5
Volume surge (yellow background)
At support/resistance OR liquidity zone
CVD and momentum aligned
Price structure confirmation (triangle marker)
Avoid These Situations
❌ Low volume periods (gray candles)
❌ Dashboard shows "WAIT"
❌ Score below 4
❌ No volume surge during entry
❌ Trading against higher timeframe trend
Best Trading Sessions
Forex: London open (3-5 AM EST), NY open (8-10 AM EST)
Crypto: Works 24/7, best during high volume periods
Stocks: First hour (9:30-10:30 AM EST), last hour (3-4 PM EST)
Futures: US session open (9:30 AM EST)
🎓 Understanding the Scoring System
The indicator calculates a quality score (0-8) for both long and short setups:
+1 point for each:
EMA bias aligned (price above/below EMA structure)
CVD momentum bias aligned (buying/selling pressure)
Buy/Sell pressure ratio aligned (>1.5x or <0.67x)
Volume strength (surge detected)
Order flow imbalance (>2:1 ratio)
Tape speed (>1.3x average)
Price structure (higher highs or lower lows)
Liquidity bias (sweep detected)
Score Interpretation:
7-8: Extremely high probability (rare, take immediately)
6: Very high probability (excellent trade)
5: High probability (good trade)
4: Decent probability (acceptable with tight stop)
3 or less: Low probability (wait for better setup)
📋 Quick Reference Card
Entry Checklist
Dashboard shows LONG or SHORT
Score is ≥5
Multiple indicators aligned (green or red dots)
Volume surge present (yellow background)
At support/resistance or liquidity zone
Triangle marker appeared on chart
Risk:Reward ratio is at least 1:2
Exit Strategy
Take Profit: At opposite liquidity zone or resistance/support
Stop Loss: Below sell-side liquidity (longs) or above buy-side liquidity (shorts)
Trail Stop: Move to breakeven after 1:1 risk:reward achieved
⚠️ Important Notes
This is NOT a holy grail: No indicator is 100% accurate. Always use proper risk management.
Backtest first: Paper trade or backtest on your specific instrument before using real money.
Market conditions matter: This indicator works best in trending or volatile markets, not in tight consolidation.
Combine with price action: Use the indicator as confluence with your own price action reading.
Adjust for your instrument: Different assets may require tweaking the sensitivity settings.
Lower timeframes = More noise: 1-minute charts have more false signals than 5-minute charts.
🔄 Version History
v1.0 - Initial release
Multi-indicator dashboard
Volume-based candle coloring
Support/Resistance detection
Entry signal generation
v2.0 - Current version
Added liquidity zone detection
Added liquidity sweep identification
Enhanced scoring system (now 0-8)
Added liquidity bias to entries
New alerts for liquidity sweeps
Improved dashboard with Liq indicator
📞 Support & Feedback
If you find this indicator helpful, please:
⭐ Give it a boost
💬 Share your results in the comments
🐛 Report any bugs or issues
💡 Suggest improvements
Disclaimer: This indicator is for educational purposes only. Trading involves significant risk. Past performance does not guarantee future results. Always trade responsibly and never risk more than you can afford to lose.
🏆 Credits
Created for serious scalpers who want institutional-level insights on retail charts. Combines order flow analysis, volume profiling, and liquidity mapping into one comprehensive tool.
Happy Scalping! 🚀📈
Dynamic FVG & Trap Zones📘 Dynamic FVG & Trap Zones (DFTZ)
A Hybrid Model Combining Imbalance Mapping, Volume Behavior, and Trap Detection
Concept Overview
“Dynamic FVG & Trap Zones” is built to visualize real-time Fair Value Gaps (FVGs) and identify liquidity trap events inside those gaps using adaptive volume filters and wick-based logic.
Traditional FVG indicators merely mark imbalance zones between consecutive candles, but this model goes further — it measures how volume reaction and price penetration inside those zones reveal potential f alse moves or trap formations by smart money.
⚙️ How It Works
1. FVG Detection
• A Bullish FVG is detected when low > high , showing a price void left by aggressive buying.
• A Bearish FVG forms when high < low , implying a selling imbalance.
• These zones are automatically drawn as semi-transparent boxes that extend forward for 10 bars and decay once they exceed the configurable lookback window.
2. Volume Normalization & Grading
• Every bar’s volume is compared against a dynamic SMA( volLookback ) average to calculate a Volume Grade = current vol / avg vol.
• Only bars exceeding the Min Volume Grade threshold are eligible to generate valid FVG zones, ensuring that low-participation moves are ignored.
• The Trap Volume Threshold sets how quiet the reaction bar must be (relative to average volume) to qualify as a trap event.
3. Trap Detection Logic
• Each active FVG zone monitors incoming candles.
• A potential trap is triggered when price re-enters the zone (body or wick depending on settings) but fails to expand with confirming volume.
• If the event occurs inside a Bullish FVG, it marks a Bear Trap (green zone turned red).
If it happens inside a Bearish FVG, it flags a Bull Trap (red zone turned green).
• This reversal in zone color visually conveys trapped liquidity and potential directional fade.
4. Exclusivity and Cooldown Control
• To avoid signal clustering, you can choose exclusivity modes:
Allow Both, Bear over Bull, or Bull over Bear.
• A built-in per-signal cooldown timer prevents back-to-back plots of the same type, enhancing signal clarity during rapid price action.
5. Adaptive Visualization
• Wick-based vs body-based trap detection (toggleable).
• Optional cooldown filtering on shapes ensures the chart only displays validated events.
• Old FVG boxes are pruned automatically beyond the chosen lookback horizon.
🧠 Why It’s Different
Unlike static FVG detectors or simple liquidity sweep tools, DFTZ blends:
• Volume context (Smart Volume Grade filtering)
• Behavioral trap detection within imbalance zones
• Dynamic cooldown mechanics that control over-signaling
• Forward-propagating zones that self-expire gracefully
This synergy makes it a compact yet powerful tool for visualizing imbalances + liquidity traps in one framework — ideal for discretionary traders combining SMC concepts with volume analytics.
📈 How to Use
• Primary Context: Use on 15 min to 1 h charts to spot active FVG zones forming after impulsive moves.
• Trap Signal Interpretation:
• 🔴 “Trap” below bar → Bullish reversal (Bear Trap).
• 🟢 “Trap” above bar → Bearish reversal (Bull Trap).
• Combine With: Market structure breaks, VWAP, or delta volume tools to confirm true reversal intent.
• Alerts: All major events (FVG creation & trap confirmation) trigger ready-to-use alerts for automation or back-testing.
🧩 Customization
Setting Function
Max FVG Lookback Controls how long old zones remain active.
Volume SMA Period Defines the baseline for volume grading.
Min Volume Grade & Trap Volume Threshold Tune the sensitivity of trap confirmation.
Wick-Based Trap Detection Enable to capture wick rejections inside zones.
Signal Cooldown Prevents rapid multiple plots on successive bars.
⚠️ Disclaimer
This tool is designed for educational and analytical purposes only. It does not constitute financial advice or guarantee trading performance. Always conduct your own analysis and risk management before entering a position.






















