Swing Levels and Liquidity - By LeviathanThis script will plot pivot points (swing highs and lows) in the form of lines, boxes or labels to help you identify market structure, “liquidity” areas, swing failure patterns, etc. You are also able to see the volume traded at each pivot point, which will help you compare their significance.
Bars Left-Right
A pivot high (swing high) is a bar in a series of bars that has a higher value than the bars around it and a pivot low (swing low) is a bar in a series of bars that has a lower value than the bars surrounding it. The Bars Left and Bars Right parameters are used to define the number of bars on the left and right sides of a pivot point that the function should consider when identifying pivot highs and lows in a time series. For example, if Bars Left is set to 5 and Bars Right is set to 6, the function will look for a pivot point by comparing the value of the current bar with the values of the 5 bars to its left and the 6 bars to its right. If the value of the current bar is higher than all of these bars, it is considered a pivot high point. These parameter can be used to adjust the sensitivity of the script (lowering the Bars Left and Bars Right parameters will give you more swing points and increasing the Bars Left and Bars Right parameters will give you fewer swing points).
”Show Boxes” - This will draw a box above the swing high and a box below the swing low to help you visualise a large area of interest around swing points. Additional box types and the width of the box can be adjusted in Appearance settings below.
”Show Lines” - This will draw a horizontal line at the level of each swing high and swing low.
”Show Labels” - This will plot a circle at the high point of each swing high and at the low point of each swing low.
”Show Volume” - This will display the amount of volume traded in a given swing point candle. It can help you identify the significance of a given swing point by comparing it to the volumes of other swing points.
”Extend Until Filled” - This will extend the swing point levels until they are mitigated by the price. Turning it off will continue plotting the levels just a few more bars after a swing point occurs.
”Appearance” - You can show/hide swing points, choose the colors of labels, lines and boxes, choose the size and positioning of the text, choose line and box appearance (adjust the Box Width when switching between timeframes!) and more.
More updates coming soon (MTF, more data…)
Cari dalam skrip untuk "liquidity"
Candle Wick Patterns Alerts & Liquidity TargetsCandle wicks provide incredibly useful confluence and confirmation of price action and technical analysis.
Quite simply a wick is formed by price being moved to an extreme by one side, then price being pushed back by the other side.
This can show increased pressure by one side, reduced or increased momentum, or exhaustion by another side.
This indicator while simple, is extremely powerful and versatile and can be set up to recognize numerous types of candle wick and therefore suit numerous trading styles.
The settings as to how wicks are highlighted are:
- Timeframe - view wicks on a higher timeframe while trading on a lower timeframe
- Minimum Wick to Body Ratio - increasing this value will look for wicks who are at least n times larger than the candle body. The most obvious examples here are Doji's - hammer, gravestone, dragonfly, etc. These can indicate trend reversals, indecision and changing momentum.
- Minimum Candle Body as percent of price - this value makes sure that any wick highlighted, belongs to a candle with a body that is at least n% of the price. A higher value is likely to show price momentum is stronger in a particular direction, good for confirming a trend.
- Minimum Candle Wick as percent of price - similar to candle bodies, this value will make sure the candle wick is at least n% of the price. This will identify large fluctuations in price, and if you are familiar with smart money concepts, an increasingly popular strategy is to target 50% of the wick being filled (liquidity).
- Show half fill level of wick - As above, this can provide a good target, which price will be drawn to, depending on the wick.
Finally, the indicator can be used to create alerts when a new wick that meets your settings criteria, is formed.
And don't forget you can add the indicator multiple times, with different settings to cover multiple scenarios and timeframes!
Untapped Forceable LiquidityUses likely stop placements and liquidation points to visualize where there may be forceable buy or sell orders on the chart.
Good for catching wicks for entries or to see whether the bulls or the bears are in control. For example, a wick down into a liquidity point and a close back above it may be seen as bullish as the sell pressure was overwhelmed by the bulls.
Anyways, I like to use it for game theorizing for trend analysis.
Liquidity Engulfing Candles [upslidedown]Liquidity engulfing candles (LEC) are a variant of a common candlestick pattern: engulfing candles but with a couple extra conditions applied. These conditions expect highs/lows to be taken out in order to show a continuation or reversal signal.
Filter 1: Stop Hunt Wick Filter
This filter requires the candle to wick into the prior candles high or low ( bullish = wick below prior candle lows). This is the stop hunt.
Filter 2: Close Filter
This filter requires the candle to close above or below above the prior candle ( bullish = close above prior candle high). This is the confirmation.
This idea was introduced to me by @attrk632. Thanks, mate!
HTF LQ SweepThe following script recognises QL sweeps in the desired time frame with alarm function!
Theory:
There is liquidity above highs and below lows. If this is tapped and the market reacts strongly immediately, the probability of a reversal is greatly increased! In the chart, this is defined in such a way that a candle has its wicks BELOW the old low, but the close is ABOVE the old low. the same applies to the high, of course!
In such a case we have an "LQ Sweep"
How does the script work?
Williams 3 fractals are used as a basis. These are meaningful as lows or highs. Whenever a fractal is created, the price level is saved.
This means that not only the last fractal is relevant, but all historical fractals as long as they have not been reached!
If a candle reaches the level, but shows a rejection and closes within the level again, we have our "LQ Sweep" setup.
In the script you can select the timeframe in which the market has to be analysed. When the QL sweep occurs, an alert is triggered. This saves a lot of time because you can analyse different markets in different timeframes at the same time!
Each QL Sweep is marked in the chart when we are in the selected timeframe. These can also be deactivated so that only the last sweep is displayed.
Benefits for the trader:
An LQ sweep is a nice confirmation for a reversal.
If we have such an LQ sweep, we can wait in the lower timeframe for further confirmation, such as a structural break, to position our entries there.
The alarm function saves us a lot of time and we only go to the chart when a potential setup has been created.
You can set different time frames in the script: The selected time frame is then scanned and sends a signal when the event occurs.
HTF LQ SweepThe following script recognises QL sweeps in the desired time frame with alarm function!
Theory:
There is liquidity above highs and below lows. If this is tapped and the market reacts strongly immediately, the probability of a reversal is greatly increased! In the chart, this is defined in such a way that a candle has its wicks BELOW the old low, but the close is ABOVE the old low. the same applies to the high, of course!
In such a case we have an "LQ Sweep"
How does the script work?
Williams 3 fractals are used as a basis. These are meaningful as lows or highs. Whenever a fractal is created, the price level is saved.
This means that not only the last fractal is relevant, but all historical fractals as long as they have not been reached!
If a candle reaches the level, but shows a rejection and closes within the level again, we have our "LQ Sweep" setup.
In the script you can select the timeframe in which the market has to be analysed. When the QL sweep occurs, an alert is triggered. This saves a lot of time because you can analyse different markets in different timeframes at the same time!
Each QL Sweep is marked in the chart when we are in the selected timeframe. These can also be deactivated so that only the last sweep is displayed.
Benefits for the trader:
An LQ sweep is a nice confirmation for a reversal.
If we have such an LQ sweep, we can wait in the lower timeframe for further confirmation, such as a structural break, to position our entries there.
The alarm function saves us a lot of time and we only go to the chart when a potential setup has been created.
You can set different time frames in the script: The selected time frame is then scanned and sends a signal when the event occurs.
LiquidityFlow Dominance+Alerts (btc.d, T3, Stables)LiquidityFlow Dominance+Alerts: Overview & Usage Guide
Overview
The LiquidityFlow Dominance+Alerts indicator provides a dynamic view of liquidity flow across Bitcoin, Altcoins, and Stablecoins, helping track liquidity shifts and identify market sentiment. By integrating moving averages, custom alerts, and thresholds for extreme outliers, this indicator helps to anticipate bullish and bearish shifts in liquidity and alert market tops and bottoms.
Key features include:
1. Liquidity Flow Monitoring : Track liquidity flow across Bitcoin (BTC), Altcoins (TOTAL3), and Stablecoins (USDT, USDC, DAI).
2. Custom Alerts : Set alerts for key liquidity shifts and extreme conditions in Stablecoin dominance, both with static and moving average (MA)-based calculations.
3. Moving Averages : Use Simple, Exponential, or Weighted Moving Averages to smooth out market data for more reliable signals.
4. Outlier Detection : Identify potential tops and bottoms using thresholds for Stablecoin dominance, with alerts for extreme movements.
Functionality
Data Inputs and Key Metrics
- Symbols Monitored:
- Bitcoin Dominance (BTC.D)
- Altcoin Market Cap (TOTAL3)
- Stablecoins (USDT.D, USDC.D, DAI.D)
- Liquidity Flow Conditions:
- Track percentage changes in dominance across sectors to detect liquidity flow into Bitcoin, Altcoins, or Stablecoins.
- Custom Metrics:
- Liquidity Flow Index: BTC Dominance minus Stablecoin Dominance.
- Liquidity Flow Ratio: BTC Dominance divided by the combined dominance of Stablecoins and Altcoins.
Moving Average Integration
- Select from SMA, EMA, or WMA to apply moving averages to the dominance metrics. Moving averages help smooth out short-term volatility and provide more consistent signals.
- Moving averages are applied to each sector (BTC, Altcoins, and Stablecoins) and compared to their previous period values to determine shifts in liquidity.
Alerts and Thresholds
- % Change Lookback Period: Adjust the lookback period to align with the timeframe of your chart. Shorter timeframes may require a lower lookback period, while higher timeframes may benefit from longer periods.
- Stables Bull/Bear % for Alerts: Set a threshold for when Stablecoin dominance becomes a bullish or bearish signal relative to BTC and Altcoins. A higher threshold may be used in volatile markets to filter out noise.
- Extreme Outliers Detection: Use the **Stables Up/Down Extreme Threshold** to identify potential market tops or bottoms when Stablecoin dominance deviates significantly from historical trends. The **Extreme Lookback Period** controls the time window for detecting these anomalies.
How to Use the Indicator
Adjusting the % Change Lookback Period
- The `% Change Lookback Period` should be adjusted based on your chart’s timeframe. For example, a shorter period (e.g., 7) works well for intraday charts, while longer periods (e.g., 14) might be more suitable for daily or weekly charts.
Setting Thresholds for Alerts
- Stables Bull/Bear % for Alerts: Adjust this setting to define when Stablecoin dominance triggers bullish or bearish alerts. A value like 1% could be a good starting point for most market conditions but can be fine-tuned based on volatility.
- Extreme Lookback Period: Define the lookback period for detecting extreme moves in Stablecoin dominance. This will help identify major tops and bottoms in the market. For shorter-term trades, consider using a shorter extreme lookback (e.g., 7-10 periods).
Alerts for Liquidity Shifts
- The indicator supports alerts for key liquidity shifts, which are useful for staying ahead of market movements. Alerts can be set to notify you when liquidity moves into:
- Bitcoin: Indicating a potential bullish trend for Bitcoin.
- Altcoins: Signaling altcoins are bullish.
- Stablecoins: Suggesting a risk-off environment or market correction.
Extreme Alerts for Stables
- Extreme Up/Down Alerts: These are triggered when Stablecoin dominance crosses extreme thresholds. For example, if Stablecoin dominance rises more than 14% over a set period, it could signal a market top, while a significant drop could indicate a market bottom.
Moving Average Calculations
- In addition to static percentage changes, moving averages can be applied to smooth out dominance values. The type and length of the moving average can be customized:
- SMA (Simple Moving Average): Best for smoothing out volatility in a linear way.
- EMA (Exponential Moving Average): More responsive to recent data, making it useful in faster markets.
- WMA (Weighted Moving Average): Emphasizes more recent data, but less reactive than the EMA.
Additional Usage Tips:
- Background Colors: The indicator visually highlights the dominant liquidity flow:
- Orange: Liquidity is shifting toward Bitcoin.
- Aqua: Liquidity is flowing into Altcoins.
- Red: Liquidity is moving into Stablecoins.
Liquidity Market Seeking SwiftEdgeThis indicator is designed to identify potential liquidity levels on the chart by detecting swing highs and lows, which are often areas where stop-loss orders or significant orders accumulate. It visualizes these levels with horizontal lines and labels on the right side of the chart, color-coded based on volume to help traders understand where the market might seek liquidity.
How It Works
Swing Highs and Lows: The indicator uses the ta.pivothigh and ta.pivotlow functions to identify significant swing points over a user-defined lookback period (Swing Length). These points are considered potential liquidity levels where stop-loss orders might be placed.
Volume Analysis: The indicator compares the volume at each swing point to the average volume over a specified period (Volume Average Length). Levels with above-average volume are colored red, indicating higher liquidity, while levels with below-average volume are colored green.
Liquidity Visualization: Horizontal dashed lines are drawn at each identified level, extending across the chart. Labels on the right side display the estimated liquidity amount (simulated based on volume and a multiplier, Volume Multiplier for Liquidity).
Sell Signal: A "SELL NOW" label appears when the price approaches a liquidity level after an uptrend (detected using a simple moving average crossover). This suggests a potential reversal as the market may target liquidity at that level.
Strategy Concept: Market Seeking Liquidity
The indicator is based on the concept that markets often move toward areas of high liquidity, such as clusters of stop-loss orders or significant order accumulations. These liquidity pools are typically found around swing highs and lows, where traders place their stop-losses or large orders. By identifying these levels and highlighting those with higher volume (red lines), the indicator aims to show where the market might move to "grab" this liquidity. For example, after an uptrend, the market may reverse at a swing high to take out stop-losses above that level, providing liquidity for larger players to enter or exit positions.
Settings
Swing Length: The number of bars to look back for detecting swing highs and lows. Default is 20.
Liquidity Threshold: The price threshold for merging nearby levels to avoid duplicates. Default is 0.001.
Volume Average Length: The period for calculating the average volume to compare against. Default is 20.
Volume Multiplier for Liquidity: A multiplier to scale the volume into a simulated liquidity amount (displayed as "K"). Default is 1000.
Usage Notes
Use this indicator on any timeframe, though it may be more effective on higher timeframes (e.g., 1H, 4H) where swing points are more significant.
Red lines indicate levels with higher volume, suggesting stronger liquidity pools that the market might target.
Green lines indicate levels with lower volume, which may be less significant.
The "SELL NOW" signal is a basic example of how to use liquidity levels for trading decisions. It appears when the price approaches a liquidity level after an uptrend, but it should be used in conjunction with other analysis.
Adjust the Volume Multiplier for Liquidity to scale the displayed liquidity amounts based on your instrument (e.g., forex pairs may need a higher multiplier than indices).
Liquidity Heatmap SwiftEdgeDescription
Liquidity Heatmap with Buy/Sell Side (Blue/Red) is a technical analysis tool designed to help traders identify potential liquidity zones in the market by combining swing high/low detection with volume analysis, visualized as a heatmap overlay on the chart. This script highlights areas where significant buying or selling pressure may exist, often acting as support or resistance levels, and provides a clear visual representation of these zones using color-coded heatmap boxes and labeled bubbles.
What It Does
The script identifies key price levels (swing highs and lows) where liquidity is likely to be concentrated, such as stop-loss clusters or pending orders. These levels are then grouped into a heatmap, with blue zones representing potential buy-side liquidity (below the current price) and red zones indicating sell-side liquidity (above the current price). Each zone is marked with a bubble showing the estimated liquidity amount, derived from volume data, to help traders gauge the strength of the level.
How It Works
The script combines three main components to create a comprehensive liquidity visualization:
Swing Highs and Lows Detection:
The script uses the ta.pivothigh and ta.pivotlow functions to identify swing highs and lows over a user-defined lookback period (Swing Length). These levels often represent areas where price has reversed, indicating potential liquidity zones where stop-losses or pending orders may be placed.
Volume Analysis:
Volume data at each swing high/low is captured and averaged over a specified period (Volume Average Length). This volume is then scaled using a multiplier (Volume Multiplier for Liquidity) to estimate the liquidity amount at each level, displayed in thousands (e.g., "10K") on the chart via labeled bubbles.
Heatmap Visualization:
The identified levels are grouped into price bins to form a heatmap. The price range is divided into a user-defined number of bins (Number of Heatmap Bins), and each bin is drawn as a colored box (blue for buy-side, red for sell-side). The transparency of the heatmap boxes can be adjusted (Heatmap Transparency) to ensure they do not obscure the price action.
Why Combine These Components?
The combination of swing highs/lows, volume analysis, and a heatmap provides a powerful way to visualize liquidity in the market. Swing highs and lows are natural points where liquidity tends to accumulate, as they often coincide with areas where traders place stop-losses or pending orders. By incorporating volume data, the script quantifies the potential strength of these levels, giving traders insight into the magnitude of liquidity present. The heatmap visualization then aggregates these levels into a clear, color-coded overlay, making it easy to see where buy-side and sell-side liquidity is concentrated without cluttering the chart.
This mashup is particularly useful because it bridges price action (swing levels), market activity (volume), and visual clarity (heatmap), offering a holistic view of potential support and resistance zones that might influence price movements.
How to Use It
Add the Indicator to Your Chart:
Apply the script to your chart by adding it from the Pine Script library. It will overlay directly on your price chart.
Interpret the Heatmap:
Blue Zones (Buy-Side Liquidity): These appear below the current price and indicate levels where buying pressure or stop-losses from short positions may be located.
Red Zones (Sell-Side Liquidity): These appear above the current price and indicate levels where selling pressure or stop-losses from long positions may be located.
The intensity of the color is controlled by the Heatmap Transparency setting—lower values make the zones more opaque, while higher values make them more transparent.
Analyze the Bubbles:
Each liquidity zone is marked with a bubble showing the estimated liquidity amount in thousands (e.g., "10K"). The size of the bubble is scaled by the Bubble Size Multiplier, with larger bubbles indicating higher liquidity.
Adjust Settings for Your Needs:
Liquidity Settings:
Swing Length: Controls the lookback period for detecting swing highs and lows. A smaller value (e.g., 10) is better for shorter timeframes like 1-minute charts, while a larger value (e.g., 50) suits higher timeframes.
Liquidity Threshold: Defines how close two levels must be to be considered the same, preventing duplicate zones.
Volume Average Length: Sets the period for averaging volume data at swing points.
Volume Multiplier for Liquidity: Scales the volume to estimate liquidity amounts shown in the bubbles.
Lookback Period (Hours): Limits how far back the script looks for liquidity zones.
Use Price Window Filter: If enabled, only shows zones within a price range defined by Liquidity Window (Points per Side).
Heatmap Settings:
Number of Heatmap Bins: Determines how many price bins the heatmap is divided into. More bins create a finer resolution but may clutter the chart.
Heatmap Bin Height (Points): Sets the vertical height of each heatmap box in price points.
Heatmap Transparency: Adjusts the transparency of the heatmap boxes (0 = fully opaque, 100 = fully transparent).
Display Settings:
Bubble Size Multiplier: Scales the size of the bubbles showing liquidity amounts.
Trading Application:
Use the heatmap to identify potential support (blue zones) and resistance (red zones) levels where price may react.
Pay attention to zones with larger bubbles, as they indicate higher liquidity and may have a stronger impact on price.
Combine with other analysis tools (e.g., trendlines, indicators) to confirm trade setups.
What Makes It Original?
This script stands out by integrating swing high/low detection with volume-based liquidity estimation and a heatmap visualization in a single tool. Unlike traditional support/resistance indicators that only plot static lines, this script dynamically aggregates liquidity zones into a heatmap, making it easier to see clusters of potential buying or selling pressure. The addition of volume-derived liquidity amounts in labeled bubbles provides a unique quantitative measure of each zone's strength, helping traders prioritize key levels. The color-coded buy/sell distinction further enhances its utility by visually separating zones based on their likely market impact.
Example Use Case
On a 1-minute chart of EUR/USD, you might set Swing Length to 10 to capture short-term pivots, Lookback Period (Hours) to 4 to focus on recent data, and Liquidity Window to 200 points (20 pips) to show only nearby zones. The heatmap will then display blue zones below the current price where buy-side liquidity may act as support, and red zones above where sell-side liquidity may act as resistance. A bubble showing "50K" at a blue zone indicates significant buy-side liquidity, suggesting a potential bounce if the price approaches that level.
Stop Hunts [MK]Liquidity rests above/below previous highs and lows because these are the areas where traders are most likely to leave their orders/stop losses. The market can tap into this liquidity source by going beyond the previous highs and lows, this liquidity can then be used to reverse the market in the opposite direction.
As traders we may want to know if price will continue beyond previous highs and lows, or reverse the market. If price looks to be reversing after tapping into liquidity, this can be a good area to enter a trade. The same area can be used as a take profit level also.
The indicator identifies previous high/lows in two ways:
1. previous high/lows using 'PIVOT POINTS'. Pivots are easy to spot and are obvious within a price trend. Also called 'higher highs", "lower lows" etc. The number of candles required to form the pivot point can be adjusted in the script settings.
see below example of pivot point and stop hunt:
www.tradingview.com
see how price reversed upwards after stop hunt on pivot point above.
2. previous candle high/lows. A previous candles high and low are also good areas of liquidity.
see below example of previous candle stop hunt:
see how price reversed upwards after stop hunt on previous candle low above.
Personally, I use the pivot point stop hunts on lower timeframes and previous candle stop hunts on higher timeframes. However users can adjust on which timeframes to show the indicator depending on their own trading style.
As ever all items within 'settings' are customizable.
The indicator is by no means a 'trading strategy' and users should be fully aware of the stop hunt concept and have conducted extensive back-testing before using with 'live' accounts.
The indicator may also serve as a 'teaching aid' to new students and as a reminder to more experienced traders.
Liquidity-Finder ICT / SMCIn the context of ICT and the Smart Money Concept, liquidity is likely viewed as a crucial factor for determining the strength and sustainability of a market move. Smart Money is often associated with large institutional traders who have the ability to influence liquidity.
Liquidity Sweep:
A liquidity sweep in this context might involve Smart Money intentionally executing trades across various price levels to assess market depth and liquidity. This information can be used to identify potential areas of interest for Smart Money to initiate or exit positions without causing significant price disruptions.
Stop Hunt:
Stop hunting is a concept that Smart Money traders may employ to deliberately trigger stop orders in the market. By doing so, they can create temporary price movements that allow them to accumulate or liquidate positions at more favorable prices before the market reacts.
Smart Money Concept (SMC):
The Smart Money Concept revolves around the idea that large institutional traders (Smart Money) have superior information and resources compared to retail traders. Understanding the behavior of Smart Money, as taught in ICT and SMC, involves analyzing market dynamics, order flow, and liquidity to make more informed trading decisions.
Liquidating:
Liquidating refers to the process of selling or closing out existing positions. In the context of Smart Money, the term could imply that institutional traders are actively managing their positions, either taking profits or cutting losses strategically based on their analysis of market conditions.
The Indicator
The Indicator show open liquidity as solid lines and liquidates liquidity as dashed lines
Is able to send alerts for liquidity level was liquidated, liquidity level was dipped or the next close is on the other side
Liquidity Hunt SwiftEdgeThe "Liquidity Hunt Dashboard By SwiftEdge" indicator is designed to assist traders in identifying potential liquidity zones by placing a dynamic target line based on swing points and weighted liquidity. It leverages technical analysis tools such as SMA (Simple Moving Average), pivot points, and volume to predict market movements and provides daily statistics on hits and success rate. The target line updates automatically when the price hits it, adapting to the market trend (up, down, or neutral). A dashboard displays the current price, target level, prediction, and trend, making it easy to make informed trading decisions.
Features:
Target Line: A yellow dashed line marks the next expected liquidity level (up to approximately 20 pips away on 1m).
Prediction: Displays "Up (Chasing Sell Liquidity)," "Down (Chasing Buy Liquidity)," or "Neutral" based on trend and liquidity.
Daily Statistics: Tracks hits and success rate, resetting daily.
Trend Indicator: Shows market direction ("Up," "Down," or "Neutral") in the dashboard.
Dynamic Updates: The line moves to a new target level when the price hits the current target.
Recommended Settings for 1-Minute Timeframe:
For Indices (e.g., S&P 500):
Lookback Period: 180 (3 hours to capture more stable swing points).
Max Distance (%): 0.015 (approximately 15 pips, suitable for indices).
Cooldown Period: 5 (stabilizes after hits).
Line Duration: 60 (displays the line for 1 hour).
For Crypto (e.g., BTC/USD):
Lookback Period: 120 (2 hours to capture short-term swing points).
Max Distance (%): 0.024 (approximately 20 pips, suitable for volatile crypto markets).
Cooldown Period: 5.
Line Duration: 60.
For Forex (e.g., EUR/USD):
Lookback Period: 180 (3 hours for greater data density in less volatile markets).
Max Distance (%): 0.012 (approximately 10-12 pips, suitable for forex).
Cooldown Period: 5.
Line Duration: 60.
Guide for Higher Timeframes:
This indicator can be adapted for higher timeframes (e.g., 5m, 15m, 1H) by adjusting the settings to account for larger price movements and slower market dynamics. Follow these steps:
Select Your Timeframe: Switch your chart to the desired timeframe (e.g., 5m, 15m, or 1H).
Adjust Lookback Period: Increase the "Lookback Period" to cover a longer historical period. For example:
5m: Set to 360 (equivalent to 6 hours).
15m: Set to 480 (equivalent to 8 hours).
1H: Set to 720 (equivalent to 12 hours).
Adjust Max Distance (%): Higher timeframes require larger targets to account for bigger price swings. For example:
5m: Increase to 0.05 (approximately 50 pips).
15m: Increase to 0.1 (approximately 100 pips).
1H: Increase to 0.2 (approximately 200 pips).
Adjust Cooldown Period: On higher timeframes, you may want a longer cooldown to avoid frequent updates. For example:
5m: Set to 10.
15m: Set to 15.
1H: Set to 20.
Adjust Line Duration: Extend the duration the line is displayed to match the timeframe. For example:
5m: Set to 120 (equivalent to 10 hours).
15m: Set to 240 (equivalent to 60 hours).
1H: Set to 480 (equivalent to 20 days).
Monitor the Dashboard: The dashboard will still show the target level, prediction, and trend, but the values will now reflect the larger timeframe's dynamics.
Usage Instructions:
Set your chart to a 1-minute timeframe (or follow the higher timeframe guide).
Adjust the settings based on the market and timeframe (see recommendations above).
Monitor the dashboard for the current price, target level, and prediction.
Use the yellow line as a potential entry or exit level, and adjust your strategy based on the trend and statistics.
Notes:
This indicator is intended solely for educational and analytical purposes and should not be considered financial advice.
Test the indicator on a demo account before using it with real funds.
The indicator complies with TradingView guidelines by not providing trading advice, automated trading signals, or guarantees of profit.
Liquidity Analysis with Volume, ATR, and Chaikin Oscillator
Script Name: Liquidity Analysis with Volume, ATR, and Chaikin Oscillator
Description: This script analyzes market liquidity using three key indicators: Volume, ATR (Average True Range), and the Chaikin Oscillator. Based on the combination of these indicators, the script identifies three market conditions and visually highlights them with background colors:
High Liquidity Uptrend (Green Background):
Occurs when volume is high, ATR is above the threshold, and the Chaikin Oscillator is positive. This indicates strong liquidity with an upward trend in the market.
Alert: "High Liquidity Uptrend detected."
High Liquidity Downtrend (Red Background):
Occurs when volume is high, ATR is above the threshold, and the Chaikin Oscillator is negative. This signals strong liquidity but with a downward market trend.
Alert: "High Liquidity Downtrend detected."
Low Liquidity Stagnant Market (Yellow Background):
Occurs when volume is low, and ATR is below the threshold. This suggests a market with low liquidity and minimal price movement, indicating a range or stagnant phase.
Alert: "Low Liquidity Stagnant market detected."
Input Settings Panel:
Volume Threshold: This value sets the minimum volume required to determine high liquidity. If the volume is above this value, it is considered "high volume."
ATR Length: Defines the number of periods used to calculate ATR. The higher the value, the more smoothed the ATR calculation.
ATR Threshold: This sets the minimum ATR value required to signal a market with significant volatility. If ATR is above this value, the market is considered to have high volatility.
These settings allow you to fine-tune the script based on the characteristics of the asset being analyzed.
スクリプト名: 出来高、ATR、チャイキンオシレーターを用いた流動性分析
説明: このスクリプトは、出来高、ATR(平均真値幅)、およびチャイキンオシレーターという3つの主要な指標を用いて市場の流動性を分析します。これらの指標の組み合わせに基づいて、3つの市場状況を特定し、背景色で視覚的にハイライトします。
流動性が高い上昇相場(背景色:緑):
出来高が高く、ATRがしきい値を超え、チャイキンオシレーターがプラスの場合に発生します。これは、強い流動性と市場の上昇トレンドを示します。
アラート: 「高流動性の上昇トレンドが検出されました。」
流動性が高い下降相場(背景色:赤):
出来高が高く、ATRがしきい値を超え、チャイキンオシレーターがマイナスの場合に発生します。これは、強い流動性を伴う下降トレンドを示します。
アラート: 「高流動性の下降トレンドが検出されました。」
流動性が低い停滞相場(背景色:黄色):
出来高が低く、ATRがしきい値以下の場合に発生します。これは流動性が低く、価格変動が少ない、レンジまたは停滞フェーズを示しています。
アラート: 「低流動性の停滞相場が検出されました。」
設定パネルの入力項目:
出来高のしきい値: 高流動性を判定するために必要な最小の出来高を設定します。この値を超える場合、「高出来高」と見なされます。
ATRの期間: ATRを計算する際に使用される期間数を定義します。値が大きいほど、ATRの計算が滑らかになります。
ATRのしきい値: しきい値を超えた場合に市場に大きなボラティリティがあると判断します。この値を上回るATRであれば、ボラティリティが高いと見なされます。
これらの設定により、分析対象の資産の特性に応じてスクリプトを調整できます。
Liquidity Hour by Ibramiho v2Liquidity Hour by Ibramiho (Version 2) - Identify High-Potential Reversal Zones
Understanding the pre-New York session hour is crucial for institutional traders. This period is often characterized by increased liquidity and price volatility as major financial players prepare for the upcoming trading day. The Liquidity Hour indicator capitalizes on this phenomenon, automatically pinpointing the candle (by default, in orange) immediately before the New York session opens.
Why Focus on This Candle?
Liquidity Magnet: Institutional traders often use this hour to establish or adjust positions, creating pockets of liquidity.
Breakout and Retracement Potential: The indicator helps you spot potential areas where price might retrace after a breakout, offering high-probability trading opportunities.
Visual Clarity: The highlighted candle acts as a visual anchor, making it easy to identify these key levels on your chart.
How It Works
1. Automatic Detection: The indicator intelligently detects the pre-New York session candle, regardless of your chart's timeframe.
2. Colour Coding: The candle is highlighted in orange (customizable), instantly drawing your attention.
3. Trade Insights: Watch for price breakouts above or below the highlighted candle. When price retraces back to this level, it signals a potential entry or exit point.
Key Features
Customizable Colour: Change the highlight colour to suit your chart preferences.
Working Timeframes: Works on timeframes, from minutes up to 2 hours timeframe.
Versatile Trading: Suitable for both intraday and swing trading strategies.
Unlock the Power of Institutional Liquidity
Don't miss out on the opportunities that arise in the hour before the New York session. With the Liquidity Hour indicator, you'll gain a valuable edge by identifying key levels where price action is most likely to reverse.
Liquidity Depth [Pro+]Description:
Liquidity Depth Pro+ is a trading tool with a remarkable adaptability and perfectly aligned with the intricate demands of the futures, forex, and bond markets. This indicator is based on a concept taught by the Inner Circle Trader (ICT), who explains that institutions tend to dig deeper into Liquidity Pools above highs and below lows. Specifically, ICT mentions how in Forex these Liquidity Depths are classically manifested as 10-20-30 pips respectively.
This tool allows the Analyst to adapt this concept based on their understanding of price. It delves into the essence of institutional trading, exposing deeper liquidity depth pursued by institutional giants and astute bank traders that lay further than the mere extremities of price.
CME_MINI:NQ1! Example (Tuesday):
Price raids Monday's low
Price raids Friday's low
Price digs deeper into one of Friday's Deep Liquidity Pools
Low of the Day Reversal
Note: the Depths used in this example are 30-60-90 points.
Key Features:
Versatility Across Assets: Liquidity Depth Pro+ is finely tailored for futures, forex, and bond markets, making it an all-encompassing solution suitable for a broad range of financial instruments.
Timeframe Customization: Liquidity Depth Pro+ allows users to decide Timeframe Liquidity empowering the analyst with flexibility.
Historical Pools: Choose up to the last 20 highs and lows to mark liquidity pools from the User Selected Timeframe.
Universal Trading Style: Regardless of your trading approach, be it trend-following or reversal models, this indicator embraces all styles. It offers a holistic perspective to navigating liquidity zones above highs and below lows of the chosen Timeframe.
Visual Precision: This indicator visualizes the liquidity depth with a customizable style, allowing the analyst to frame the position of deeper liquidity pools above highs and below lows.
Liquidity Table: Keep track of liquidity levels and unlock faster decision making by taking advantage of the visual Liquidity Table cues.
Adaptive Table Colors: When price is above your desired liquidity pool high, the table will match the liquidity high color to indicate a current liquidity raid or deeper pool being attacked. Vice versa, when price is below your desired liquidity pool low, the table will match the liquidity low color.
Real-Time Alerts: Save Time with live alerts that provide valuable insights into potential opportunities and liquidity purges at your desired liquidity levels.
Other Features:
Choose the Depth Type ("Auto", "Value", "Ticks", "Pips"). The “Auto” feature will select the best unit of measurement for the depths based on the current market on chart.
Choose to show up to Three Liquidity Depths.
Customize the Liquidity Line Style.
Customize the Liquidity Line Color.
Customize the Liquidity Line Width.
Customize Table Size and Location
Usage Guidance:
Add Liquidity Depth to your Tradingview chart.
Customize your desired Timeframe and Liquidity Depths to align with your personal preference.
Observe where the Liquidity Lines manifest above and below your chosen Timeframe’s highs and lows respectively, once they are raided.
Leverage this invaluable information to frame the narrative, whether you opt to pursue liquidity or capitalize on post-purge reversals.
These tools are available ONLY on the TradingView platform.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products.
Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
Liquidity Sweep with EMAThis Pine Script indicator helps traders identify potential market reversals based on liquidity sweeps, where the price moves through the previous candle's low or high and then closes above or below the previous candle's wick. These are often seen as significant market moves or liquidity grabs before a potential reversal or continuation.
The indicator is also equipped with an EMA (Exponential Moving Average) as an optional visual aid to give traders a sense of the prevailing trend, though it is not used as part of the signal generation logic.
Key Features:
Liquidity Sweep Detection:
Bullish Sweep: Triggered when the current candle sweeps below the low of the previous candle and then closes above the high of the previous candle. This indicates a potential market reversal to the upside after the liquidity sweep.
Bearish Sweep: Triggered when the current candle sweeps above the high of the previous candle and then closes below the low of the previous candle. This indicates a potential market reversal to the downside after the liquidity sweep.
EMA:
The EMA (50) is plotted on the chart for visual trend guidance. While it is not used to confirm the signals, it can help traders see if the market is in a general uptrend or downtrend.
Signal Presentation:
Buy Signal: The indicator will plot a green upward arrow below the candle when a bullish liquidity sweep is detected.
Sell Signal: The indicator will plot a red downward arrow above the candle when a bearish liquidity sweep is detected.
Timeframe Filter:
The indicator only generates signals on the following timeframes: 30-minute, 1-hour, 4-hour, and Daily. This helps to ensure the sweeps are significant and likely to result in meaningful price moves.
Alerts:
Alerts can be set up for both bullish and bearish sweep signals, so traders can be notified when these events occur.
Customizable:
EMA Length: The length of the Exponential Moving Average (EMA) can be adjusted. By default, it is set to 50, but you can modify this to fit your trading strategy.
Show EMA Option: You can toggle whether or not to display the EMA line on the chart.
How It Works:
The indicator looks for price action patterns where the current candle sweeps through the high or low of the previous candle and closes beyond the previous wick.
These patterns are often seen as potential traps, where the price initially moves in one direction (sweeping the liquidity) and then quickly reverses, making them important for traders who want to catch reversals or breakouts after a liquidity sweep.
The EMA (50) gives a general trend direction but doesn't directly affect the trade signals. It serves as a visual reference for trend analysis.
Potential Use Cases:
Reversal Trading: Traders can use this indicator to catch reversals after a liquidity sweep. The green upward arrows may indicate a bullish reversal, while the red downward arrows may indicate a bearish reversal.
Trend Trading: The EMA can help traders gauge the overall market trend. If the price is above the EMA, the market may be in an uptrend, and traders may focus on bullish sweeps. Conversely, if the price is below the EMA, the market may be in a downtrend, and traders may focus on bearish sweeps.
Confirmation with Other Indicators: Although the EMA is not used to confirm signals in this script, it can be combined with other indicators (like RSI, Volume, or MACD) to enhance the accuracy of your trades.
Final Thoughts:
This script is designed to identify liquidity sweeps and price reversals based on price action alone, without relying on complex indicators. The optional EMA serves as a helpful tool for understanding the overall market trend. It’s ideal for traders looking to spot potential reversal points after significant price sweeps and is suitable for multiple timeframes (30m, 1h, 4h, Daily).
You can use this description to help potential users understand the functionality of your indicator when publishing it on TradingView or selling it as an invite-only script. Let me know if you need any adjustments or further details!
Liquidity Zones [ActiveQuants]The Liquidity Zones indicator detects price areas where high trading volume coincides with below-average volatility , critical zones where large players often accumulate or distribute positions. Ideal for spotting potential reversal points and strategic liquidity pools.
Core Detection Formula
Liquidity Zone = (Volume > SMA(Volume, Length) × Multiplier) AND (Short-Term Volatility < 0.5 × Average Volatility)
Volume Surge Detection
Compares current volume to its SMA (user-defined length).
Multiplies threshold with " Volume Threshold Multiplier " parameter.
Volatility Contraction Filter
Calculates 5-bar volatility (standard deviation of closes).
Compares to average volatility over " Price Std. Dev. Length " period.
Requires short-term volatility < 50% of average.
█ KEY FEATURES
Merging Consecutive Zones
If the " Merge Consecutive Zones " option is enabled, the indicator will:
Calculate the number of consecutive bars that meet the liquidity zone criteria.
Sum the volume of these consecutive bars.
Display only the most recent label for the merged zone (previous labels in the sequence are removed).
Displays volume in either
Raw units (" Units ").
Dollar-equivalent (" Currency Value ") using closing price.
Alerts
An alert condition is built into the script. Traders can selectively enable alerts via TradingView’s alert system. Whenever a liquidity zone is detected, an alert is triggered with the message: " High-volume and low-volatility zone detected! ".
█ USER INPUTS
- Liquidity Zones Color
Sets the background color for liquidity zones.
Default: Orange (with 70 transparency).
- Volume SMA Length
Determines the number of bars over which the volume simple moving average is calculated.
Default: 20 bars.
- Volume Threshold Multiplier
Multiplies the volume SMA to establish a threshold. A bar’s volume must exceed this product to be considered high volume.
Default: 2.0.
- Price Std. Dev. Length
The period used to calculate the standard deviation of the closing prices. This is the basis for measuring average volatility.
Default: 14 bars.
- Zone Volume
A toggle to display a label with the volume value on liquidity zones.
Allows you to choose how the volume is displayed: Units (shows raw volume) or Currency Value (multiplies volume by the current closing price).
Allows you to choose the font size of the volume label.
- Merge Consecutive Zones
When enabled, volumes from consecutive liquidity zones are summed into a single total, and only the most recent label is displayed (previous labels in the sequence are removed).
Default: Enabled.
- Show Last
Specifies the number of bars back that the indicator will evaluate and plot liquidity zones.
Default: 500 bars.
- Timeframe
Analysis period.
Default: Chart.
█ CONCLUSION
The Liquidity Zones indicator is a powerful tool for traders seeking to identify key areas on the chart where liquidity is concentrated, characterized by high volume and low volatility . With customizable settings for volume analysis and volatility measurement , this indicator can be integrated into a wide range of trading strategies. It not only highlights these zones visually but also provides volume data labels and alerts for timely decision-making.
█ IMPORTANT NOTES
⚠ Volume and Volatility Settings: Adjust the Volume SMA Length , Volume Threshold Multiplier , and Price Std. Dev. Length to suit the typical trading volume and volatility of the asset you are analyzing.
⚠ Confirmed Bars Only: Signals are generated only on confirmed bars. This minimizes false signals due to intra-bar noise and also prevents indicator repainting .
⚠ Risk Management: Liquidity zones may signal areas of potential accumulation or distribution, but they should be used in conjunction with other technical analysis tools (e.g., support/resistance levels, trendlines, or momentum indicators). Trading involves risk, and it is recommended to combine this indicator with proper risk management techniques.
█ RISK DISCLAIMER
Trading involves substantial risk of loss. Liquidity zones indicate potential interest areas but don't guarantee price reactions. Always confirm with additional analysis and proper risk management. Past performance is not indicative of future results.
📈 Happy trading! 🚀
Liquidity Fair Value Bands | QuantumResearch 🔹 Liquidity Fair Value Bands | QuantumResearch
A Dynamic Liquidity-Based Fair Value Model Using Volume-Weighted Linear Regression and Deviation Bands
📘 Overview
The Liquidity Fair Value Bands is a specialized volatility and valuation indicator designed to help traders identify dynamic fair value zones based on liquidity-adjusted price behavior. Unlike standard deviation bands or traditional moving averages, this tool integrates volume-weighted linear regression to estimate a fair value baseline — a more accurate representation of price equilibrium under active market participation.
This script is not a simple mashup of existing indicators. It introduces a novel concept by fusing the following elements:
📊 Volume-Weighted Linear Regression (VWLR) to determine the fair value baseline
📈 Standard Deviation Bands layered around this baseline to visualize statistically significant deviations
🔄 Trend Signals derived from slope direction and baseline crossover
🎨 Gradient-Based Visual Modes for enhanced readability
🚨 Built-in Alerts for overbought/oversold and trend breakout conditions
🧠 Concept & Calculation
🟩 1. Fair Value Baseline (Core Innovation)
The baseline is calculated using a volume weighted linear regression.
This formula ensures that higher-volume periods influence the regression line more heavily, offering a liquidity-aware estimate of what the asset is “really worth” based on market consensus.
A positive slope indicates a growing fair value — bullish environment
A negative slope signals declining fair value — bearish environment
📏 2. Deviation Bands
Three layers of symmetric deviation bands are plotted above and below the baseline, each representing a multiple of standard deviation (1σ, 2σ, 3σ) over the same lookback period:
Upper Bands highlight statistically significant overvaluation
Lower Bands indicate undervaluation and potential reversion zones
These zones are visualized using translucent color fills to help traders instantly interpret risk/reward conditions.
🔄 3. Trend Detection
Optionally, the indicator displays up/down arrows when the price crosses the fair value baseline and a new trend is forming:
✅ Uptrend: Price crosses above baseline and baseline slope increases
🔻 Downtrend: Price drops below baseline and slope declines
These dynamic signals allow you to react to trend reversals early, rather than waiting for lagging confirmation.
🎯 How to Use
This tool excels in trend-trading, mean reversion, and liquidity-based fair value analysis.
✅ Buy Zones: Price enters lower bands (e.g. -1σ to -3σ) during lower fair value zone
❌ Sell Zones: Price enters upper bands (e.g. +1σ to +3σ) during higher fair value
🕵️♂️ Fair Value Confirmation: Flat baseline in consolidating markets helps avoid chop
📈 Trend Entry: Use baseline crossovers and band inflections to time entries
⚙️ Customization Features
🔧 Adjustable regression length and offset
🎨 Eight visual modes for light/dark themes
🔔 Optional alerts for significant band breaches (1σ, 2σ, 3σ)
🟡 Toggle individual band visibility (1st, 2nd, 3rd) for cleaner UI
⚡ Optional trend signal arrows
🧪 Interpretation Example
If the current price trades 2+ standard deviations above the liquidity-based fair value line, it likely indicates:
A short-term overbought market
Potential for mean reversion
Or signal that a strong trend breakout is underway (confirm with slope direction)
✅ Why It’s Unique
This is not just a Bollinger Bands variant — it is a liquidity-aware fair value model with enhanced statistical depth. The baseline adapts to both price and volume, unlike simple moving averages that assume equal importance across all candles.
It combines three important market principles:
🎯 Price Action
🏦 Liquidity Weighting
📊 Volatility Analysis
All in one clean and visually intuitive script.
📢 Disclaimer
This indicator is for educational purposes only and is not financial advice. Always use additional confluence and proper risk management in your trading.
Liquidity weighted SupertrendOverview
The Liquidity Weighted Supertrend Indicator (LWST) is an advanced iteration of the traditional Supertrend indicator, meticulously crafted to improve trend detection by incorporating liquidity into its calculations. By weighting price movements according to trading volume, the LWST becomes more responsive to significant market activities, offering traders a more accurate depiction of market trends.
Indicator Description
The Liquidity Weighted Supertrend Indicator is a versatile and adaptive tool designed to assist traders in recognizing trends and potential reversal points within the market. This indicator features two operational modes: Aggressive and Smoothed, allowing traders to tailor trend detection to their specific trading style and market conditions.
Key Features
Two Supertrend Modes:
Aggressive Mode: This mode offers more responsive signals, ideal for short-term trading. It utilizes an Exponential Moving Average (EMA) to smooth the price data, resulting in quicker reactions to market changes.
Smoothed Mode: This mode provides more stable signals, suitable for longer-term trading, by employing a Simple Moving Average (SMA). Note that when "Smoothed" mode is selected, the "Fast MA length" input is not utilized, focusing instead on producing smoother trend lines.
LWMA Calculation:
The Liquidity Weighted Moving Average (LWMA) is a distinctive feature of the LWST, blending volume and price action to filter out market noise and pinpoint significant price movements. This calculation begins with the liquidity factor, determined by multiplying volume with the price change, which is then smoothed using an EMA for accuracy.
Customizable Parameters:
Factor: Adjusts the Supertrend line's sensitivity to price movements.
Supertrend Length: Defines the lookback period for the Average True Range (ATR) calculation, which affects the width of the Supertrend channel.
Fast and Slow MA Lengths: Allows customization of the fast and slow moving averages used in the LWMA calculation, offering further control over the indicator's responsiveness.
How the Indicator Works
LWMA Smoothing:
The LWST calculates liquidity by multiplying volume with the absolute difference between the close and open prices. This liquidity value is smoothed using an EMA and compared to its standard deviation, identifying significant price movements. Depending on the selected mode, the price data (hl2) is smoothed either with an EMA (in Aggressive Mode) or an SMA (in Smoothed Mode). It’s important to note that when Smoothed mode is active, the "Fast MA length" input does not affect the output.
Visual Signals:
The Supertrend line is visually represented on the chart, with different colors indicating bullish (lime) and bearish (red) trends.
Buy and sell signals are clearly marked with arrows: green triangles indicate potential buying opportunities (when the price crosses above the Supertrend line), and red triangles suggest selling opportunities (when the price crosses below the Supertrend line).
Additional arrows may appear, signaling potential trend reversals, providing further confirmation for traders.
How to Use the Indicator
Configuring the Indicator:
Supertrend Type: Choose between Aggressive and Smoothed modes depending on your trading strategy and the current market conditions. Aggressive mode is better suited for shorter timeframes, while Smoothed mode provides more consistent signals for longer-term analysis.
Factor and Length Settings: Customize the Factor, Supertrend Length, and Moving Average lengths to fine-tune the sensitivity and responsiveness of the Supertrend line, adapting the indicator to various market environments.
Interpreting the Signals:
Trend Identification: The Supertrend line offers a clear visualization of the current market trend. A green line indicates a bullish trend, suggesting upward price movement, while a red line indicates a bearish trend, signaling potential downward price movement.
Entry and Exit Points: The arrows plotted by the LWST provide straightforward entry and exit signals. Green arrows signal potential buy opportunities, indicating that the price may continue to rise, while red arrows signal potential sell opportunities, suggesting that the price may decline. These visual cues help traders make informed decisions based on the current market trend.
Liquidity composition / quantifytools- Overview
Liquidity composition divides each candle into sections that are used to display transaction activity at price. In simple terms, an X-ray through candle is formed, revealing the orderflow that built the candle in greater detail. Liquidity composition consists of two main components, lots and columns. Lots and columns can be used to visualize user specified volume types, currently supporting net volume and volume delta. Lots and columns can be used to visualize same or different volume types, allowing a combination of volume footprint, volume delta footprint and volume profile in one single view. Liquidity composition principally works on any chart, whether that is equities, currencies, cryptocurrencies or commodities, even charts with no volume data (in which case volatility is used to approximate transaction activity). The script also works on any timeframe, from minute charts to monthly charts. Orderflow can be observed in real-time as it develops and none of the indications are repainted.
Example: Displaying same volume types on lots and columns
Example: Displaying different volume types on lots and columns
Liquidity composition supports user specified derivative data, such as point of control(s) and net activity coloring. Derivative data can be calculated based on either net volume or volume delta, resulting in different highlights.
With net volume, volume delta and derivative data in one view, key orderflow events such as delta imbalances, high volume nodes, low volume nodes and point of controls can be used to quickly identify accumulation/distribution, imbalances, unfinished/finished auctions and trapped traders.
Accessing script 🔑
See "Author's instructions" section, found at bottom of the script page.
Key takeaways
- Liquidity composition breaks down transaction activity at price, measured in net volume or volume delta
- Developing activity can be observed real-time, none of the indications are repainted
- Transaction activity is calculated using volumes accrued in lower timeframe price movements
- Lots and columns can be used to display same or different volume types (e.g. volume delta lots and net volume columns) in single view
- Users can specify derivative data such as volume delta POCs, net volume POC and net activity coloring
- For practical guide with practical examples, see last section
Disclaimer
Orderflow data is estimated using lower timeframe price movement. While accurate and useful, it's important to note the calculations are estimations and are not based on orderbook data. Estimates are calculated by allotting volume developing on lower timeframe chart to its respective section based on closing price. Volume delta (difference between buyers/sellers) is calculated by subtracting down move volumes (sell volume) from up move volumes (buy volume). Accuracy of the orderflow estimations largely depends on quality of lower timeframe chart used for calculations, which is why this tool cannot be expected to work accurately on illiquid charts with broken data.
Liquidity composition does not provide a standalone trading strategy or financial advice. It also does not substitute knowing how to trade. Example charts and ideas shown for use cases are textbook examples under ideal conditions, not guaranteed to repeat as they are presented. Liquidity composition should be viewed as one tool providing one kind of evidence, to be used in conjunction with other means of analysis.
- Example charts
Chart #1: BTCUSDT
Chart #2: EURUSD
Chart #3: ES futures
- Calculations
By default, size of sections and lower timeframe accuracy are automatically determined for all charts and timeframes. Number of lower timeframe price moves used for calculating orderflow is kept at fixed value, by default set to 350. Accuracy value dictates how many lower timeframe candles are included in the calculation of volume at price. At 350, the script will always use 350 lower timeframe price movements in calculations (when possible). When calculated dynamic timeframe is less than 1 minute, the script switches to available seconds based timeframes. Minimum dynamic timeframe can be capped to 1 minute (as seconds based timeframes are not available for all plans) or dynamic timeframe can be overridden using an user specified timeframe.
Example: Calculating dynamic lower timeframe
Main chart: 4H / 240 minutes
Accuracy value: 100
Formula: 240 minutes / 100 = 2.4 minutes
Timeframe used for calculations = 2 minutes
Section size is automatically determined based on typical historical candle range, the bigger it is, the bigger the section size as well. Like dynamic timeframe, automatic section size can be manually overridden by user specified size expressed in ticks (minimum price unit). Users can also adjust sensitivity of automatic sizing by setting it higher (smaller sections, more detail and more noise) or lower (less sections, less detail and less noise). Section size and dynamic timeframe can be monitored via metric table.
Volume at price is calculated by allotting volume associated with a lower timeframe price movement to its respective section based on closing price (volume is stored to the section that covers closing price). When used on a chart with no volume data, volatility is used instead to determine likely magnitude of participation. Volume delta (difference between buyers/sellers) is calculated by subtracting down move volumes (sell volume) from up move volumes (buy volume). Volumes accrued in sections are monitored over a longer period of time to determine a "normal" amount of activity, which is then used to normalize accrued volumes by benchmarking them against historical values.
Volume values displayed on the left side represent how close or far volume traded at given section is to an extreme, represented by value of 10 . The more value exceeds 10, the more extreme transaction activity is historically. The lesser the value, the less extreme (and therefore more typical) transaction activity is. Users can adjust sensitivity of volume extreme threshold, either by increasing it (more transaction activity is needed to constitute an extreme) or decreasing it (less transaction activity is needed to constitute an extreme).
Example: Interpreting volume scale
0 = Very little to no transaction activity compared to historical values
5 = Transaction activity equal to average historical values
10 = Transaction activity equal to an extreme in historical values
10+ = The more transaction activity exceeds value of 10, the more extreme it is historically
Accuracy of orderflow data largely depends on quality of lower timeframe data used in calculations. Sometimes quality of underlying lower timeframe data is insufficient due to suboptimal accuracy or broken lower timeframe data, usually caused by illiquid charts with gaps and inconsistent values. Therefore, one should always ensure the usage of most liquid chart available with no gaps in lower timeframe data. To combat poor orderflow data, a simple data quality check is conducted by calculating percentage of sections with volume data out of all available sections. Idea behind the test is to capture instances where unusual amount of sections are completely empty, most likely due to data gaps in LTF chart. E.g. 90% of sections hold some volume data, 10% are completely empty = 90% data quality score.
Data quality score should be viewed as a metric alerting when detail of underlying data is insufficient to consider accurate. When data quality score is slightly below threshold, lower timeframe chart used for calculations is likely fine, but accuracy value is too low. In this case, one should increase accuracy value or manually override used timeframe with a smaller one. When data quality score is well below threshold, lower timeframe chart used for calculations is likely broken and cannot be fixed. In this case, one should look for alternative charts with more reliable data (e.g. ES1! -> SPY, BITSTAMP:BTCUSD -> BINANCE:BTCUSDT).
Example : When insufficient data quality scores can/cannot be fixed
- Derivative data
Point of control
Point of control, referring to point in price where transaction activity is highest, can be calculated based on the volume type of lots or columns (based on net volume or volume delta). Depending on the calculation basis, displayed point of controls will vary. POC calculated based on net volume is no different from traditional POC, it is simply the section with highest amount of transaction activity, marked with an X. When calculating POC based on volume delta, the script will highlight two point of controls, named leading and losing point of control . Leading POC refers to lot with highest amount of volume delta, marked with an X. If leading POC was net buy volume, losing POC is marked on section with highest net sell volume, marked with S respectfully. Same logic applies in vice versa, if leading POC is net sell volume, losing POC is marked on highest buy volume section, using the letter B.
Net activity
Similarly to point of control calculation, net activity can be calculated based on either volume types, lots or columns. When calculating net activity based on net volume, candles will be colorized according to magnitude of total volume traded. When calculating net activity based on volume delta, candles will be colorized according to side with most volume traded (buyers or sellers). Net activity color can be applied on borders or body of a candle.
- Visuals
Lots, columns, candles and POCs can be colorized using a fixed color or a volume based dynamic color, with separate color options for buy side volume, sell side volume and net volume.
Metric table can be offsetted horizontally or vertically from any four corners of the chart, allowing space for tables from other scripts.
Table sizes, label sizes and offsets for visuals are fully customizable using settings menu.
- Practical guide
OHLC data (candles) is a simple condensed visualization of an auction market process. Candles show where price was in the beginning of an auction period (timeframe), the highest/lowest point and where price was at the end of an auction. The core utility of Liquidity composition is being able to view the same auction market process in much greater detail, revealing likely intention, effort and magnitude driving the process. All basic orderflow concepts, such as ones presented by auction market theory can be applied to Liquidity composition as well.
The most obvious and easy to spot use case for orderflow tools is identifying trapped traders/absorption, seen in high transaction activity at the very highs/lows of a candle or even better, at wicks. High participation at wicks can be used to identify forced orders absorbed into limit orders, idea behind being that when high transaction activity is placed at a wick, price went one direction with a lot of participation (high effort) and came right back up (low impact) within the same time period.
Absorption can show itself in many ways:
- Extreme buy volume sections at wick highs or buy side POC at wick highs
- Multiple, clustered high buy volume sections (but not extreme) at wick highs
- Positive net volume delta into a reversal down
- Extreme sell volume sections at wick lows or sell side POC at wick lows
- Multiple, clustered high sell volume sections (but not extreme) at wick lows
- Negative net volume delta into a reversal up
- Extreme net volume sections at or net volume POC at wick highs/lows
- Extreme net volume into a reversal up/down
For accurate analysis, orderflow based events should be viewed in the context of price action. To identify absorption, it's best to look for opportunities where an opposing trend is clearly in place, e.g. absorption into highs on an uptrend, absorption into lows on a downtrend. When price is ranging without a clear trend or there's no opposing trend, extreme activity at an extreme end of a candle might be aggressive participants attempting to initiate a new trend, rather than getting absorbed in the same sense. With enough effort put into pushing price to the opposite direction at overextended price, a shift in trend direction might be near.
Price action based levels are a great way to get context around orderflow events. Simple range highs/lows as a single data point serve as a high probability regimes for reversals, making them a great point of confluence for identifying trapped traders.
Low to zero volume sections can be used to identify points in price with little to no trading, leaving a volume null/void behind. Typically sections like these represent gaps on a lower timeframe chart, which can be used as reference levels for targets and support/resistance.
Net volume can be used for same purposes as above, but for determining general intention of market participants it's a much more suitable tool than volume delta. According to auction market theory, low/no participation is considered to reject prices and high participation is considered to accept prices. With this concept in mind, unfinished auctions occur when participation is high at highs or high at lows, idea behind being that participants are showing willingness and interest to trade at higher or lower prices. Auction is considered finished when the opposite is true, i.e. when participants are not showing willingness to trade at higher/lower prices. In general, direction of unfinished auctions can be expected to continue shortly and direction of unfinished auctions can be expected to hold.
While shape of volume delta and net volume are usually similar, they're not the same thing and do not represent the same event under the hood. Volume delta at 0 does not necessarily mean participation is 0, but can also mean high participation with equal amount of buying and selling. With this distinction in mind, using volume delta and net volume in tandem has the benefit of being able to identify points in price with a lot of up and down price movement packed into a small area, i.e. consolidation. Points in price where price hangs around for an extended period of time can be used to identify levels of interest for re-tests and breakout opportunities.
Liquidity Engulfing & Displacement [MsF]Japanese below / 日本語説明は英文の後にあります。
-------------------------
*This indicator is based on upslidedown's "Liquidity Engulfing Candles ". It's a very cool indicator. thank you.
It has 2 functions: show the Liquidity Engulfing on HTF and candle color change when displacement occurs.
=== Function description ===
1. Liquidity Engulfing on HTF
This indicator gives Liquidity Engulfing signals not only for the current candle, but also for H4 and H1 on HTF.
You can use that a bullish engulfing on H1 is a BOS on m5 and on H4 is a BOS on m15. It uses the theory of stop hunt from ICT.
Also, It's possible to fire alert.
2. Displacement
Change the color display of the candlesticks when a bullish candleStick or bearish candleStick is attached. Furthermore, by enabling the "Require FVG" option, you can easily discover the FVG (Fair Value Gap). It is a very useful function for ICT trading.
When H1 candle takes liquidity from one side and moves with an explosive move to the other side of the previous candle (displacement), it creates break of market structure on M5. Entry on discount FVG or OTE with stop loss at or below the stop hunt wick.
=== Parameter description ===
- Liquidity engulfing candles(LEC) SETTING
- Show H1 LEC … Whether to show LEC for H1
- Show H4 LEC … Whether to show LEC for H4
- Show Current LEC … Whether to show LEC for current timeframe
- Apply Stop Hunt Wick Filter … Require candle wick into prior candle retracement zone
- Apply Close Filter … Require LL/HH on candle in order to print a valid engulfing signal
- DISPLACEMENT SETTING
- Require FVG … Draw only when FVG occurs
- Displacement Type … Displacement from open to close? or from high to low?
- Displacement Length … Period over which to calculate the standard deviation
- Displacement Strength … The larger the number, the stronger the displacement detected
-------------------------
2つの機能があります: 上位足のLiquidity engulfing(流動性獲得)を表示することと、大きな変位が発生したときにローソク足の色を変更することです。
=== 機能説明 ===
1. 上位足のLiquidity engulfing
このインジケーターは、現在のローソク足だけでなく、上位足の H4 および H1 に対してもLiquidity engulfingシグナルを提供します。
H1はm5、H4はm15での使用を推奨します。これはICTのストップハント理論を活用しています。また、アラートを発することも可能です。
2. 変位(DISPLACEMENT)
大きな陽線、陰線を付けた場合に、そのローソク足をカラー表示を変更します。
さらに"Require FVG"オプションを有効にすることで、FVG(Fair Value Gap)を容易に発見することができます。ICTトレードにを行うにあたり大変有用な機能となっています。
=== パラメータの説明 ===
- Liquidity engulfing candles(LEC) SETTING
- Show H1 LEC … H1のLECを表示するかどうか
- Show H4 LEC … H4のLECを表示するかどうか
- Show Current LEC … 現在の期間の LEC を表示するかどうか
- Apply Stop Hunt Wick Filter … ハラミ足、もしくは包み足になっている場合のみに検知させる
- Apply Close Filter … 1つ前のローソクよりも終値で超えていた場合のみに検知させる
- DISPLACEMENT SETTING
- Require FVG … FVG発生時のみ描画する
- Displacement Type … openからcloseまでの変位か?highからlowまでの変位か?
- Displacement Length … 標準偏差を計算する期間
- Displacement Strength … 変位の強さ(数字が大きいほど強い変位を検出)
Liquidity + SP y RS + Zones [AlgoRich]This indicator is designed to identify key areas in the market, such as support and resistance levels, liquidity zones, and important price structures.
Additionally, it highlights operational areas based on specific time frames, facilitating technical analysis and decision-making in trading.
How does it work?
1. Identification of Pivot Levels
The indicator identifies local highs and lows on the chart, known as pivot levels, which are zones where the price tends to react, such as:
Support zones: Areas where the price is likely to stop falling.
Resistance zones: Areas where the price might encounter obstacles to keep rising.
These levels are calculated by analyzing a range of bars around the current price and are highlighted with lines, boxes, and labels on the chart.
2. Liquidity Zones
Liquidity zones are defined as areas where there has been an accumulation of orders, either for buying or selling. These zones are significant because they often signal future price movements.
The indicator creates visual boxes around these levels, allowing traders to quickly identify areas where the price might react.
3. Support and Resistance Lines
Horizontal lines are drawn at the identified highs and lows, representing support and resistance levels on the chart.
These lines can be extended forward until the price touches them, showing whether the level has been respected or "broken."
4. Visual Labels
The indicator can also display labels at key levels to provide additional information, such as whether the level corresponds to a high or low.
5. Operational Zones
In addition to support and resistance levels, the indicator allows users to mark specific time periods, referred to as operational sessions.
These zones highlight user-defined periods, such as:
New York session
London session
Daily session
This helps focus analysis on the most active market periods.
6. Customization
The user can customize the following:
Pivot sizes (how many bars to consider to the left and right).
Colors and styles of the lines, boxes, and labels.
Visibility of elements such as boxes, lines, and labels.
Whether to extend the levels forward until the price reaches them.
What is this indicator used for?
Identifying key areas in the market: Support, resistance levels, and liquidity zones are essential for understanding where the price is most likely to react.
Defining entry and exit points: Highlighted zones help determine when to open or close trades.
Highlighting key market moments: With operational sessions, you can focus on the most relevant periods for your strategy.
Simplifying technical analysis: By visualizing levels and zones directly on the chart, it reduces the time needed to identify critical areas.
Benefits for Traders
This indicator is ideal for traders who:
Want to analyze key market levels quickly and efficiently.
Are looking for high-probability zones to trade, based on support, resistance, and liquidity areas.
Need a visual approach to highlight operational levels and important time frames on their charts.
In summary, this indicator serves as a comprehensive tool that combines advanced technical analysis with a user-friendly visual interface, allowing traders to make more informed and precise decisions.
-----------------
TRADUCCIÓN AL ESPAÑOL:
Este indicador está diseñado para identificar zonas clave en el mercado, como niveles de soporte y resistencia, zonas de liquidez, y estructuras importantes de precios. Además, resalta las áreas operativas de acuerdo con horarios específicos, facilitando el análisis técnico y la toma de decisiones en el trading.
¿Cómo funciona?
1. Identificación de Niveles Pivot
El indicador busca máximos y mínimos locales en el gráfico, conocidos como niveles pivote, los cuales son zonas donde el precio suele reaccionar, como en:
Zonas de soporte: Donde el precio tiene probabilidades de detener su caída.
Zonas de resistencia: Donde el precio podría encontrar obstáculos para seguir subiendo.
Estos niveles son calculados analizando un rango de barras alrededor del precio actual, y se destacan con líneas, cajas y etiquetas en el gráfico.
2. Zonas de Liquidez
Las zonas de liquidez se definen como áreas donde ha habido una acumulación de órdenes, ya sea de compra o venta. Estas zonas son importantes porque suelen marcar movimientos futuros significativos en el precio.
El indicador crea cajas visuales alrededor de estos niveles, permitiendo identificar rápidamente las áreas donde el precio puede reaccionar.
3. Líneas de Soporte y Resistencia
Se trazan líneas horizontales en los máximos y mínimos identificados, representando los niveles de soporte y resistencia en el gráfico.
Estas líneas se pueden extender hacia adelante hasta que el precio las toque, mostrando si el nivel ha sido respetado o "roto".
4. Etiquetas Visuales
El indicador también puede mostrar etiquetas en los niveles clave para proporcionar información adicional, como si el nivel corresponde a un máximo o un mínimo.
5. Zonas Operativas
Además de los niveles de soporte y resistencia, el indicador permite marcar zonas de tiempo específicas, llamadas sesiones operativas.
Estas zonas resaltan períodos definidos por el usuario, como:
Sesión de Nueva York.
Sesión de Londres.
Diario.
Esto ayuda a enfocar el análisis en los momentos más activos del mercado.
6. Personalización
El usuario puede personalizar:
Tamaños de pivote (cuántas barras a la izquierda y derecha considerar).
Colores y estilos de las líneas, cajas y etiquetas.
La visibilidad de elementos como cajas, líneas y etiquetas.
Extender o no los niveles hacia adelante hasta que el precio los alcance.
¿Para qué sirve este indicador?
Identificar zonas importantes del mercado: Los niveles de soporte, resistencia y las zonas de liquidez son esenciales para entender dónde es más probable que el precio reaccione.
Definir puntos de entrada y salida: Las zonas destacadas ayudan a determinar cuándo abrir o cerrar operaciones.
Resaltar momentos clave del mercado: Con las sesiones operativas, puedes enfocarte en los períodos más relevantes para tu estrategia.
Simplificar el análisis técnico: Visualizando niveles y zonas directamente en el gráfico, se reduce el tiempo necesario para identificar áreas críticas.
Beneficio para los Traders
Este indicador es ideal para traders que:
Quieren analizar niveles clave del mercado de forma rápida y eficiente.
Buscan zonas de alta probabilidad para operar, basándose en soportes, resistencias y zonas de liquidez.
Necesitan un enfoque visual para destacar niveles operativos y horarios importantes en sus gráficos.
En resumen, este indicador actúa como una herramienta integral para combinar análisis técnico avanzado con una interfaz visual amigable, lo que permite a los traders tomar decisiones más informadas y precisas.
Liquidity IndicatorThe Liquidity Indicator helps identify key price levels where liquidity may be concentrated by highlighting local highs and local lows on the chart. These levels are calculated using a lookback period to determine the highest and lowest points in the recent price action.
Local Highs: Displayed as red lines, these indicate recent peaks where price has experienced rejection or a possible reversal point.
Local Lows: Displayed as green lines, these represent recent troughs where price may find support or experience a bounce.
This indicator is useful for spotting potential areas of interest for price reversal or continuation, as high liquidity zones may lead to more significant price movements.
Key Features:
Adjustable lookback period to define the scope for identifying local highs and lows.
Continuous plotting without any time restrictions, providing real-time insights into liquidity conditions.
Alerts available for when a local high or local low is detected, enabling timely market analysis.
Use Case:
This indicator can be used in conjunction with other technical analysis tools or strategies to help identify significant price levels where liquidity could impact price action. It is suitable for both intraday and swing traders looking for key price zones where potential reversals or continuations might occur.