Open Liquidity Heatmap [BigBeluga]Open Liquidity Heatmap is an indicator designed to display accumulated resting liquidity on the chart.
Unlike any other liquidity heatmap, this aims to accumulate liquidity at specific levels that build up over time, showing larger areas of liquidity.
🔶 FEATURES
The indicator includes the following settings:
Lookback : Used to determine the range calculation of the heatmap.
Leverage : Leverage of the liquidation (Counted as % in price, Example: 4.5 will return a distance from price of 4.5%, indicating any possible resting liquidity in this range).
Levels : Amount of levels to display (Each level is counted as liquidity resting on the chart; fewer levels will return a bigger area of liquidity sitting on the chart).
Mode : Apply a color gradient from the minimum liquidation to the maximum liquidity level. Set the maximum color gradient value (Counted as volume).
Offset : Automatically determine the offset range of the Volume Profiles. Manual offset of the Volume Profiles.
🔶 CALCULATION
for i = 0 to step - 1
float plotter = na
switch i
0 =>
plotter := hs
=>
plotter := hs - diff * ( i )
cls.hm.gnL(plotter)
cls.vp.put(plotter, 0)
We calculate levels like a normal volume profile with steps, from the highest point within the lookback to the lowest one. Each level will contain the corresponding amount of volume that the candle has closed in that range.
As we can see in the image above, we add liquidity each time the distance in % from price is between two levels.
Unlike many liquidity indicators that provide a single candle liquidity heatmap, this aims to add up liquidity (volume) in already present levels.
This can be extremely useful to see which levels are likely to be more liquid and tend to get a bigger reaction to the price.
Imagine it like a range of levels that each time price revisits that area, a new position area is added; we add volume in that area each time price visits that zone. Liquidity builds up in those zones, causing a bigger reaction to the price once the price visits it.
This indicator is not the same as a single candle heatmap like many others. What is a single candle heatmap?
A single candle heatmap is when a level is created on every new candle, coloring the level based on the total volume of it.
This indicator, on the contrary, aims to provide a more specific use by adding up liquidity each time price visits it.
🔶 BASIC DEMOSTRATION
This is a basic demonstration of how we can spot high liquidity points overall using confluence:
We see the POC of the liquidation in a low volume area of the normal volume profile adding up as confluence.
Resistance from the POC Volume Profile suggesting price will go lower.
Major long open liquidity down.
As we can see, price takes out all the long liquidity and right after pumping, indicating that all the major liquidity got taken out.
Some key note to take is that a POC in the liquidation heatmap in a low volume area of the normal Volume Profile add confluence of a possible big reaction in that zone.
In the forex market, we suggest to use a low distance from price (Leverage) while in a crypto market you can use the one that fit the best the current timeframe.
🔶 CONCLUSION
This indicator aims to show open resting liquidity that had built up over time, showing the most amount of liquidation in specific areas in an aggregated way unlike many liquidation heatmap indicators that show single-level liquidation.
🔶 RELATED SCRIPT
X-volume
Volume inspectorThe "Volume inspector" is designed to provide a deep dive into the volume dynamics within a given larger timeframe by dissecting the positive and negative volume of candles from a lower timeframe. This analysis helps in understanding how the volume within a single candle is composed, whether it leans towards buying or selling pressure. The indicator sums up the positive and negative volumes to present the net volume in columns, offering a clear visual representation of the market's buying or selling intensity at a glance.
Additionally, it features an area between two Exponential Moving Averages (EMAs) to gauge the prevailing trend direction. A green spread between the EMAs signals strong buying pressure, with the width of the area indicating the strength of this pressure. Conversely, a red area points to selling pressure, warning users to exercise caution — it advises against buying the asset when the spread is narrow or red, suggesting weak buying momentum or strong selling momentum.
The tool recommends using daily candles as the primary timeframe for a broad market overview, with the following configurations for the lower timeframe analysis:
5 minutes for highly liquid and voluminous assets,
15 or 30 minutes for assets with lower volume to ensure accuracy without excessive market noise.
It's important to note that this indicator does not predict future market movements but rather analyzes the current behavior of the asset, making it a valuable tool for traders looking to understand immediate market sentiment and trend strength.
Volume change > 50% alert color coded GAAAPThis indicator, titled "Volume Change Alert," is designed to visually represent and alert traders to significant changes in trading volume on any given asset within the TradingView platform. The core functionality of the indicator revolves around detecting and highlighting instances where the volume of trades has experienced a notable increase compared to the previous trading period.
Key Features:
Percentage-Based Volume Change Detection: The indicator calculates the percentage change in trading volume from one bar to the next. This allows for a dynamic analysis of volume fluctuations that can be indicative of significant market events.
Threshold-Based Alerts: It employs a tiered alert system based on predefined volume increase thresholds:
Light Blue Highlight: When the volume increase is between 50% and 100%, the indicator marks the bar in light blue, signaling a moderate but noteworthy increase in trading activity.
Purple Highlight: An increase of more than 100% but less than 500% is highlighted in purple, indicating a substantial rise in volume that could be the result of significant market developments.
Black Highlight: For extraordinary situations where the volume increase exceeds 500%, the bar is highlighted in black, underscoring a dramatic surge in trading activity that could suggest major market moves.
Customizable Alerts: Traders can set up alerts based on these volume changes, allowing them to be notified in real-time when such conditions are met. This feature is invaluable for those looking to capitalize on volume-driven market opportunities or to monitor unusual market activity.
Visual and Textual Annotations: The indicator not only changes the color of the bars based on the volume increase but also attaches labels to these bars, providing the exact percentage increase in volume. This dual representation ensures that traders can quickly quantify the volume change at a glance.
Use Cases:
Identifying Breakouts: Sudden increases in volume can often precede or accompany price breakouts. Traders can use this indicator to spot potential breakouts as they are happening or to confirm the strength of a breakout based on the accompanying volume change.
Spotting Reversals: Significant changes in volume can also signal potential market reversals. A dramatic increase in volume might indicate the culmination of a trend and the potential start of a new one in the opposite direction.
Enhancing Trading Strategies: The indicator can be integrated into existing trading strategies to add a volume-based dimension to trading decisions, providing a more holistic view of market movements.
Volume Flow Oscillator (VFO)I created the Volume Flow Oscillator (VFO) to explore the intricate interplay between volume and price movements over a specific lookback period. This tool contrasts volumes that move in sync with the price against those that move in opposition, signaling potential overbought or oversold territories. To determine the direction, I compare the current price to its value four periods back, shedding light on underlying bullish or bearish momentum. The VFO enriches my analysis and decision-making by offering a detailed perspective on how volume trends correlate with price changes. Its color-coded visuals are crucial for highlighting optimal trading points based on volume dynamics.
Supertrend Volume OscillatorThe Supertrend Volume Oscillator is an innovative tool that integrates volume analysis with the established Supertrend indicator to offer a unique perspective on market conditions. By comparing directional volume against the aggregate volume over a designated lookback period, this oscillator adeptly signals overbought and oversold states through a volume-weighted methodology. Key settings such as the lookback period, Supertrend factor, and ATR period are adjustable, allowing traders to tailor the trend detection sensitivity to their preference.
Crucially, the oscillator delineates overbought and oversold zones via a channel parameter, with its value represented as a percentage ratio of directional to total volume, visually enhanced by a color gradient shifting from red to green based on oscillator readings. Background coloring further highlights market extremes for easy identification. A continuous line tracks the oscillator's value, anchored by a horizontal zero line as a neutral benchmark.
Additionally, the oscillator is equipped with alert conditions that notify traders when entering critical zones, facilitating informed trading decisions. This fusion of price trend analysis with volume metrics provides traders with a comprehensive tool for gauging market sentiment and trend strength, making the Supertrend Volume Oscillator a valuable addition to any trader's arsenal.
SMA Custom Volume BandsThe "SMA Custom Volume Bands" indicator is a custom technical analysis tool designed for use on the TradingView platform. This indicator allows users to analyze and visualize key aspects of a stock's volume within the context of its 200-period Simple Moving Average (SMA). It features the following components:
Volume Bars: The indicator displays the volume of a selected financial instrument using colored bars. Green bars represent days when the trading volume is higher than the previous day, while red bars represent days when the trading volume is lower.
200 SMA of Volume: A blue line on the chart represents the 200-period Simple Moving Average of the trading volume, providing insight into the longer-term volume trend.
Customizable Percentage Line: Users have the flexibility to set a custom percentage value above or below the 200 SMA of trading volume. This line is plotted as a blue line on the chart, allowing traders to identify when volume meets their preferred percentage threshold.
The "SMA Custom Volume Bands" indicator is a simple tool for traders, aiding in the assessment of volume trends and potential price reversals in the context of moving averages. It offers customization options, enhancing its adaptability to individual trading strategies and preferences.
Intraday volume pressureThis indicator shows the difference of bullish and bearish trading volume during intraday
The idea
Especially in "6E1!" it caught my eye, that often outside regular trading hours the price moves in one direction with thin volume and inside regular trading hours it moves back with much higher volume. It is possible, that the market closes e.g. with a plus. And over some days maybe you can see e.g. weak rising prices. But in this time the movements with high volume are going down every day. And one day - maybe within view minutes - the market rushs a level deeper.
Maybe some are manipulating the market in this way, maybe not, it doesn't matter. So my question was, can I find a way to show such divergences? I guess I can do.
How to use this indicator
Use it at your own risk! I don't take over any responsibility. You are the only one, who is responsible for your decisions. Always collect information from different independent sources!
Watch it in the daily chart - not intraday, not weekly! Of course this indicator just analyzes the past as all indicators. Everytime everything may happen that influences the market in any direction, no indicator can predict any news.
Watch it in sideways market or when the price is moving quite slow over days! An average volume pressure
below zero shows a volume-driven bearish pressure
above zero shows a volume-driven bullish pressure
of the last days. So there is a chance, that the market may follow the volume pressure within the next days. But of course, I cannot guarantee anything. The indicator just can give you an idea, why this will happen, when it will happens. Otherwise, the indicator indicated nothing helpfull.
Of course you also can try other securities. Maybe it will work there better or worse - difficult to say. I guess, it depends on the market.
Possible settings aside of colors
Intraday minute bars: Default is 15 minutes, in 6E in my point of view it is a good value. If you choose a smaller value, the chart gets too noisy, the results are getting too small. With a bigger timeframe some moves are hidden in bigger candles, the results are getting a large spread
Average over days: Default is 5 days - so one week. In 6E in my point of view it is a good value. A smaller value is too noisy. A bigger value reacts too slow. Often 6E has a trend over weeks. Sometimes it changes within some days - the indicator may help. But sometimes the market changes with a buying or selling climax. Such a case this indicator cannot recognize. But with the 5 days average maybe you get a change in the indicator within one or two days. Anyway, it is always a good idea to learn recognizing climaxes otherwise.
How the indicator works
It uses the function request.security_lower_tf to get the intraday candles. The volume of intraday up-candles is added to the intraday summary volume. The volume of down candles is substracted from the intraday summary volume.
In the oscillator area I plot a green bar on a day with a higher close than open and a red bar on a day with a lower close than open. The bar has a positive value, if the volume pressure is positive and a negative value if the volume pressure is negative. So it happens, that a green bar has a negative value or a red bar has a positive value.
The average is calculated with a floating sum. Once we have enough days calculated, I devide the floating sum by the length of the "Average over days" and plot the result. Then I substract the first value of the queue and I remove it.
Highest Volume Bar from a Lower TimeframeVolume is an essential indicator in technical analysis as it can signal confirmations of movement, reversals, and more. This indicator was developed to identify candles with high volume in both the current timeframe and a lower timeframe
SETTINGS
The indicator has two display modes: Candles and Volume.
- Candles: it presents a traditional candlestick chart that shows the candles of the current timeframe, along with the candle with the highest volume from the lower timeframe.
- Volume: it features a volume chart displaying the volume of the current timeframe in histogram form, as well as the bar with the highest volume from the lower timeframe represented in columns.
LOWER TIME FRAME SETTINGS
- Lower Time Frame: the lower timeframe to be taken into consideration.
- LTF Candle Display: determines which candles from the current timeframe chart will display the candles with the highest volume from the lower timeframe.
- Volume Display: determines how the volume bars will be presented for both the current timeframe and the lower timeframe.
VOLUME LEVEL SETTINGS
- SMA Period: the time period for calculating the volume average.
- High Volume: the multiplier used to classify a candle as having high volume.
- Medium Volume: the multiplier used to classify a candle as having medium volume.
- Low Volume: the multiplier used to classify a candle as having low volume.
- Show Volume MA: enable this option to display the Volume MA on the chart.
COLOR SETTINGS
- Candle Color: the color to be used in the charts.
- Shade Intensity : the intensity of the shades for volume levels.
- Transparency : the transparency to be used for the candles of the current timeframe when displaying candles with higher volume from the lower timeframe.
Cumulative Volume Price (Candle Body, High-Low)Indicator Description: Cumulative Volume Price (Candle Body, High Low)
This indicator features three cumulative plots that continuously accumulate values over time.
Cumulative Volume Plot:
The first plot displays the cumulative volume, calculated by continuously adding the volume values from zero.
Cumulative Candle Body Width Plot:
The second plot displays the cumulative width of the candle bodies, obtained by continuously adding the actual body widths from zero.
Cumulative Candle High-Low Width Plot:
The third plot displays the cumulative width of the candle high-low ranges, calculated by continuously adding the widths between the high and low prices from zero.
Usage Guidelines:
Due to the different orders of magnitude in value range used for volume and candlesticks, it is advisable to typically select and display any single plot.
説明
このインジケーターは、時間の経過とともに値を累積し続ける3つのプロットを備えています。
累積ボリューム:
ボリュームの値をゼロから累積的に加算しています。
ローソク足の累積実体幅:
ローソク足の実体幅の値をゼロから累積的に加算しています。
ローソク足の累積高安幅:
ローソク足の高安の幅の値をゼロから累積的に表示しています。
使用ガイドライン:
ボリュームとローソク足で使用する数値のオーダーが異なるため、通常は任意の一本を選択して表示することを想定しています。
Dollar Volume Last 20 CandlesThe "Dollar Volume Last 20 Candles" indicator, abbreviated as "DV", is a practical and insightful tool for traders and analysts.
This indicator focuses on enhancing the visualization of trading data by calculating and displaying the dollar volume for each of the last 20 bars on a financial chart. It achieves this by multiplying the closing price of each bar with its trading volume, providing a clear dollar value of the trading activity.
The script also features an intuitive formatting system that simplifies large numbers into 'k' (thousands) and 'M' (millions), making the data easily digestible.
The dollar volume data is displayed directly above each bar, adjusted for visibility using the Average True Range (ATR), ensuring that it is both unobtrusive and readily accessible. This overlay feature integrates seamlessly with the existing chart, offering traders a quick and efficient way to assess monetary trading volume at a glance, which is particularly useful for identifying trends and market strength.
Split VolumeThe Split Volume indicator displays 'Upwards' and 'Downwards' volume with an additional method for distributing 'split' candle volume.
A 'split' candle is a candle whose direction is...'Split'...since the open and close are equal. (Ex. Doji)
Upwards and Downwards Volume is tracked by comparing the Open and Closes of the Lower Timeframes.
If the Close is Greater-than the Open, we track the Volume as 'Upwards' Volume.
If the Close is Less-than the Open, we track the Volume as 'Downwards' Volume.
If the Close and Open are Equal, we assume that the Volume is an even split 50/50, and track it as such.
The indicator pulls data from lower timeframes to achieve more granular Open,Close,& Volume Data
Specifically:
<5m Timeframe: 1 Second LTF
<60m Timeframe: 5 Second LTF
<1D Timeframe: 1 Minute LTF
>1D Timeframe: 60m LTF
We have also included some nice-to-have features
50% Volume Line: This line splits each columns in half, this is used as quick reference to see exactly which side the volume is on.
High Volume Candle Identification: We are detecting bars with high relative volume and coloring them on the upper chart for use as important zones.
Status Line Readouts: The Status line for this indicator is formatted for simple reading. It Reads(Left-to-Right):Total Volume, Downwards Volume, 50% Value, Upwards Volume
Volume Candle DistributionThe Volume Candle Distribution (VCD) indicator examines the volume distribution across candle type, distinguishes between neutral, bullish and bearish volume pressures.
The VCD indicator calculates and displays the cumulative volume of bullish and bearish candles over a user-defined period, aggregates the volumes of bullish and bearish candles separately and plots them.
Bullish Volume : This is accumulated when the closing price of a candle is higher than the opening price, the VCD adds up the volume of bullish candle within the user-defined period, and consequently subtracts the volume when bearish candle.
Bearish Volume : Conversely, when the closing price is lower than the opening price, the volume of that candle is considered bearish, the VCD sums the volume of bearish candles over the same period, and consequently subtracts the volume when bullish candle.
Neutral Volume : In cases where the opening and closing prices are equal, the volume of that candle is treated as neutral, and the VCD subtracts the volume from both candles.
The 3 Simple Moving Average (SMAs) included is based volume calculated separately for both bullish and bearish volume data, and the sum of them.
Saty Volume StackBreaks volume into buy and sell volume and stacks them based on which side has higher volume.
Dynamic Buy / Sell Stack
Unlike other buy/sell volume indicators, which statically display this information (typically green over red), this indicator dynamically stacks the higher volume side on top. For example, green over red indicates more buy-side volume, red over green indicators more sell-side volume.
Current Candle Volume Buy/Sell %
A label shows the % buy vs sell volume for the current candle in real-time. This label is also dynamic with the left position being higher volume.
How the Buy/Sell Volume is Calculated
Buy/Sell % is calculated based on price.
Buy % is calculated using the distance between the low of the candle to the closing value of the candle and dividing that by the total range of the candle high to low.
Sell % is calculated using the distance between the high of the candle to the closing value of the candle and dividing that by the total range of the candle high to low.
Please note this is a proxy metric and while it is incredibly useful, it is not going to match up exactly with actual buy/sell volume that can be found on tape.
Modified On Balance VolumeModified On Balance Volume (mOBV) Indicator
The "Modified On Balance Volume" (mOBV) indicator is designed to provide insights into the cumulative buying and selling pressure in the market, with modifications for close, high, and low prices. It incorporates On Balance Volume (OBV) calculations for each of these price types and further refines the analysis by applying Simple Moving Averages (SMA).
Key Features:
Calculation of OBV for Close, High, and Low Prices:
Traditional OBV values are computed for close, high, and low prices, reflecting the cumulative volume based on the sign of price changes.
SMA Smoothing:
Simple Moving Averages (SMA) are applied to the calculated OBV values, introducing a smoothing effect to highlight trends in the buying and selling pressure.
Relative Values for High and Low OBV:
The script transforms the OBV values for high and low prices into relative values compared to the SMA of the OBV for close prices.
User-Defined SMA Length:
Users can customize the length of the SMA through a parameter, allowing flexibility in adapting the indicator to different market conditions.
Error Handling:
The script includes a mechanism to detect if no volume data is provided by the data vendor, alerting users to potential issues with the dataset.
Visual Representation:
The calculated OBV values for close, high, and low prices, as well as the SMA of the OBV for close prices, are visually represented on the chart with customizable colors and transparency settings.
Usage Tips:
Rising values indicate increasing buying pressure, while falling values suggest increasing selling pressure.
Crosses between the OBV lines and the SMA line may be used to identify potential trend changes.
Note:
This script is intended for informational purposes and should be used in conjunction with other technical analysis tools for comprehensive market analysis.
Volume Heatmap 2024 | NXT2017 Christmas EditionHi big players around the world,
I wish you a merry christmas time.
Today I have a nice present for you: a new volume heatmap indicator for free using!
HISTORY
My first volume heatmap project got a lot of feedback and a big demand. You can find it here:
In this time pinescript version 4 was the newest one and I worked the first time with arrays.
Today we have pinescript version 5 and some new features. This is why I tried again with matrix function and the results are better than I expected.
HOW IT WORKS
The indicator calculates similar like the volume profile. It looks back and every volume where the close price is on the same row area, the volume will cumulated. How much rows the new chart view is showing, you can choose manually.
The mind behind this is to find high volume levels, where high volume catch the price in a range or get function as support/resistance line.
PICTURES
I hope it helps for your trading. You are welcome to give some comments.
Merry christmas and best regards
NXT2017
Volume Points of Control and No Control [NariCapitalTrading]Overview:
The "Volume Points of Control and No Control" (VPOC/VPONC) is a trading indicator/concept I designed to identify key price levels based on volume activity. It shows (on the price label on the y-axis) where there was the most (red) and the least (blue) volume over a specified lookback period. Read below for interpretation.
Key Features:
Identifies key price levels based on volume
Customizable lookback period and trade timeframe
Plots Volume Point of Control (VPOC) and Volume Point of No Control (VPONC)
Inputs and Calculations:
Custom Trade Timeframe: Allows users to set the desired timeframe for analysis (e.g., Daily, Weekly).
Lookback Period: Users can specify the period over which to analyze volume data.
VPOC Calculation: Determines the price level with the highest volume within the lookback period.
VPONC Calculation: Finds the price level with the lowest volume within the lookback period.
Indicator Usage:
The VPOC is considered a significant level where traders have shown the most interest, often acting as a strong support or resistance level. The VPONC, conversely, is a concept I made up. It represents a price level where 1) in an trending market, this price was accepted quickly, thus suggesting continuation of an trend. 2) price retracements will typically revisit thinly-traded price areas, the VPONC can sometimes signal an area of support in a downtrend.
Chart Representation:
VPOC Label: Plotted on the y-axis in red, indicating the price level with the highest volume.
VPONC Label: Displayed on the y-axis in blue, showing the price level with the least volume.
These labels are dynamically updated based on the user-specified lookback period and trade timeframe.
Footprint Chart + Volume ProfileFootprint charts provide volume information to candlestick charts. This indicator specifically provides the quantity of Market Orders executed on each side of the Order Book, thereby showing you the number of contracts that had hit the bid or the offer - and it does so on each bar.
In addition, it visualises a Volume Profile for each bar, providing you an even better visualisation, contrasted to that which renders the numbers alone.
This Footprint Chart calculates executed orders by getting the change in volume for every price move and pooling them on their corresponding "tick bucket". Their specific "tick bucket" is calculated on the nearest "tick", the size of which you will provide by setting the "Tick Size/ Increment" to whichever tick size you need .
For instance, volume changes on a price of 10.4 on a 1 tick Footprint Chart will be recorded as part of the nearest whole number(10), while on a 3 tick Footprint Chart, it will be recorded as part of 9 as it is the nearest multiple of 3.
Calculating the "tick bucket" this way is most conservative, however, if you would like it calculated differently — Having the volume changes recorded on the succeeding tick, e.g. Recording 10.4 as 12 on a 3 tick Footprint Chart. Simply set the "Tick Basket Assignment" to "Next Tick", While setting the same to "Previous Tick" records volume changes on the preceding tick. Default is "Nearest Tick".
How to read the Footprint Chart?
This Footprint Chart depicts a portion of the Depth of Market, arranged in such a way that the left side represents the bid, while the right side represents the ask. It is therefore natural that orders hitting the bid (Market Sells) are to be placed on the Left Side of the chart while orders hitting the ask (Market Buys) are to be placed on the Right Side. This way, you can visualise how the current price came to be, as well as observe with the several order flow analysis concepts and ideas you can apply. In summary, numbers on the Left represents Sell Orders and numbers on the Right represents Buy Orders.
If, however, you wish to see only the total volume that transacted within the bar, you may do so by toggling the "Split Buy and Sell" option.
Footprint Chart showing only the total volume:
Furthermore, this chart has its own candles, the width of which can be adjusted accordingly.
Volume Profile
This Footprint Chart offers a Stacked Volume Profile and an Unstacked Volume Profile, the former renders a Volume Profile which compares the buys from the sells, the better to visualise levels of activity, the latter renders a standard Volume Profile which shows the total volume that transacted on a price tick.
The type of Volume Profile that this Footprint Chart renders is similar to that of a Periodic Volume Profile, which renders Volume Profiles for every bar on the chart. Furthermore, the width of each Volume Profile bar of this Footprint Chart is relative to the largest volume transacted on the current session, the session beginning from the point you have opened the Footprint Chart until the 500th bar, capped for optimisational purposes, and shall adjust the session start accordingly once this limit had been reached. The Volume Profile bars' width will therefore change agreeably to each significant volume update, and sized relatively with that of the others.
Optimisation
This Footprint Chart utilises several drawings and calculations for attaining its visuals, the arrangement of which makes it more pleasing and easier to understand. Several optimisations have been implemented within the code, e.g. utilising queues, however, if you wish for it to be even more optimised, you can use an "Unstacked" Volume Profile, using larger tick sizes, as well as using 0 decimal placements for the Footprint Chart.
Furthermore, deselecting "Use Stacked Bars" will allow more boxes to be drawn, and will double the amount of boxes the volume profile can use.
Limitations
No historical tick data have yet been made available for use and so this Footprint Chart only has realtime data at its disposal. Historical footprints are therefore not rendered, the boundary of which is delineated by a vertical broken line.
Tips
This Footprint Chart is best viewed on a chart of its own, and it is therefore ideal to clear the chart of other candles by hiding them or utilising a line chart alternatively . In addition, stretch the time scale to its utmost capacity, the better to see properly the Volume Profile, as well as stretch the price scale to a proper height, the better to read the footprint volumes inscribed on the indicator.
Warnings
Changing settings may cause the Footprint Chart to reset. If, in case you have been accumulating Footprint Charts and wish to change some settings for the benefit of your charting, it is best to take a snapshot of your chart prior, for recent changes may cause resets to occur.
True VolumeThis indicator is designed to provide in-depth analysis of volume data from multiple sources and distinguish highly liquid candles by measuring the density of the volume. By focusing on the density and concentration of volume, rather than just the volume itself, it offers a more nuanced view of the market. This can be particularly beneficial in markets like cryptocurrencies, where understanding the role of market makers versus retail traders is crucial for strategic trading.
This is how it works:
Multiple Asset Integration:
Unlike standard volume indicators, True Volume allows the inclusion of up to four different assets (or the same asset from various exchanges) into its volume calculations. This feature provides a broader and more accurate total volume representation, essential in markets like cryptocurrencies where volume is dispersed across multiple exchanges.
Adjustable Time Anchors:
It offers various time anchor options, allowing traders to analyze volume data over different time periods or a specific amount of lookback candles. This flexibility helps in understanding volume trends over both short and long-term time frames.
Volume Density Analysis:
The core of this indicator is the innovative concept of Volume Density. It's calculated using a sigmoid function that normalizes the volume-to-price movement ratio in a unique way without needing a max cap or having the density column spike off the chart. This method helps in distinguishing between normal volume fluctuations and those that are unusually dense for the given price movement. This distinction is key in identifying potential market maker activities.
The Visuals:
The Volume Density is displayed in a unique way without compromising the original volume bars or cap the density. Infinite density can essentially be represented without having an infinitely large bar or caping out the density data. There's also two different color themes, optional bar color, and an option to flip the density bars up-side down for a different representation. Each of the original volume sources can be displayed separately as well. All colors as customizable as well for your own preference.
Price Volume Trend (PVT):
Included in this indicator is also the Price Volume Trend, which cumulatively measures the density delta, offering insights into the longer-term momentum of the market.
How do I trade it?
This indicator aims to give you insight into 'the other side of the trade', the Market Makers. When you buy, they provide liquidity by selling to you. That drives the Volume Density up.
Consider whether the market maker is currently long or short and might need to cover their position by wicking price back, or "adjust inventory". Especially towards the end of a market session.
Consider dense candles during market gaps or weekends to be market manipulation moves.
The density also goes up when stop losses are hit. If price makes a higher high or lower low, high density could indicate a liquidation event.
Gross and Net LTF Volume + Trailing Percentile Sessions CVOL Hi Traders !
Gross volume, net lower time frame (LTF) volume and trailing session percentile Cumulative session volume:
The code calculates and plots the following volume indicators:
Volume (Gross Volume): The total volume for the current bar.
Net lower time frame volume: The difference between the buy and sell volumes of the lower time frame.
Cumulative daily session volume: The cumulative sum of the volume for the current day.
Percentile Cumulative daily session volume: The percentile of the cumulative daily session volume (calculated on a rolling basis).
The above indicators may be plotted exclusively or exclusively.
Why is Volume important:
Volume is the number of shares or contracts traded (of a financial asset) during a given time period (timeframe). It is a crucial indicator in technical analysis and quantitative trading, as volume helps in identifying
Price Confirmation: Volume confirms price movements by indicating the level of interest and participation in the market. When prices move significantly, accompanied by strong volume, it suggests that the movement is likely to be sustained. Conversely, if prices move without significant volume, it suggests that the movement may be temporary or lacking conviction.
Trend Strength: Volume can help identify the strength and direction of a trend. During an uptrend, increasing volume alongside price increases indicates that the upward momentum is gaining traction. Conversely, decreasing volume during an uptrend suggests that the upward momentum may be weakening.
Reversal Points: Sharp volume spikes in the opposite direction of the prevailing trend can signal a potential reversal point. This is because large volume indicates a significant shift in trader sentiment, suggesting that the trend may be changing direction.
Liquidity: High volume indicates that a security is liquid, meaning that it can be easily bought and sold without significant price impact. Liquidity is important for traders who want to execute large orders without significantly affecting the market price.
For example, suppose we want to identify positive price confirmation and positive trend strength, in this case we may use the CVOL (with trailing percentile).
The above image showcases price expansion conditional on high positive volume (increasing CVOL), The price expansion also exhibits Volume confluences (the colored bars).
Positive Confluence: Increase in positive total volume and an increase in positive lower time frame volume in relative and absolute terms.
Negative Confluence : Increase in negative total volume and an increase in negative lower time frame volume in relative and absolute terms.
Also note how the percentile color does not change, this means that the new volume bars are > than the highest percentile (80%) of volume values from the beginning of the session.
ka66: Normalised/Relative VolumeThis is an idea taken from a John Bollinger (of Bollinger Bands fame) talk. Instead of showing volume with a moving average overlay, we show volume relative to its moving average:
avgVolume = sma(volume, 10) // several configurable MAs allowed
relativeVolume = volume / avgVolume
Now if we get a value of 1, that means the current volume is the same as its historical average. Under 0, less than average, and above zero, greater than its average.
If we get a value like 2, then current volume is twice its average. I hope the implication of this being displayed visually is becoming clearer.
We plot this relative volume as columns.
We then plot horizontal levels, like 1, 2, 3 to see the magnitude of the current volume relative to its average.
Consecutive rising or falling relative volume is shown in the same colour.
I am still exploring volume as trading data point, but we see some ideas from this visual representation:
How do volume patterns change across timeframes? Do we get better signals or higher or lower time frames (e.g. big relative volume spikes)
Can consecutive rises or falls indicate a big potential move, even though price is just fluctuating.
What about a switch from rise to fall.
If we get pinbars/spikes with a big relative volume spike, can we then infer more clearly whether buyers or sellers are in control.
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.
Accumulation/Distribution Money Flow v1.0This indicator is intended to measure selling and buying pressure, calculates accumulation/distribution levels and suggests current trend intensity and direction.
Core calculations are based on open source script by cI8DH which was not updated ever since 2018. Also, it implements the technique to avoid price gaps issues as described in Twiggs® Money Flow .
The indicator can plot calculated A/D line, a smoothed A/D line and another smoother derivative from the smoothed line which serves as a signal line. By implementing crossovers detection between two lines and also measuring distance between them it plots the histogram of the difference and can also color chart bars accordingly.
You can also use settings to factor in price and/or volume into calculations.
Three options for visual color representation are available.
1) Simple color bars
In this case bars are colored in red and green by default, whereas green indicates positive distance between smoothed A/D line and signal line (upward movement), and red indicated negative distance (downward movement).
2) 4-color scheme
In this case pale green and pale red colors are added, whereas pale red used when the histogram is positive and A/D + signal lines are below zero lines (start of upward movement from lower levels), and pale green is where histogram is negative and both A/D and signal lines are above zero line (start of downward movement from top levels). Bright red and green colors indicate strong movement where the position of A/D + signal lines correspond to positive and.or negative histogram values. This option allows to visually track trend intensity more precisely.
3) Gradient bars color
In this scheme the candles are colored using gradient of either red or green color depending on the intensity and direction of the trend. For that color scheme you must specify the lookback parameter indicating number of bars back to determine highest/lowest values.
Volume Profile PlusThis indicator provides a high-resolution and high-precision implementation of Volume Profile with flexible range settings. Its key features include:
1. Support for a high resolution of up to 2,500 rows.
2. Capability to examine lower timeframe bars (default 5,000 intra-bars) for enhanced precision.
3. Three range modes — "Visible Range", "Anchored Range", and "All Range".
4. Highlighting of Point of Control and Value Area.
5. Extensive customization options allowing users to configure dimensions, on-chart placements, and color schemes.
🔵 Settings
The settings screen, along with the explanations for each setting, is provided below:
🔵 High Resolution using Polyline
Inspired by @fikira, this indicator utilizes the newly introduced `polyline` type in PineScript to plot the volume profile. It employs a single polyline instance to represent the entire histogram. With each polyline instance supporting up to 10,000 points and each histogram row requiring 4 points, this indicator can accommodate 2500 rows, resulting in a significantly higher resolution compared to conventional volume profile indicators that use `line`s or `box`es to draw the histogram.
🔵 High Precision Data-binning using Lower Timeframe Data
Conventional volume profile indicators often face one or both of the following limitations:
1. They only consider volume within the chart's current timeframe.
2. They assign each bar's total volume to a single price bucket based on the bar's average price, rather than distributing volume across multiple price buckets.
As a result, when the number of bars in the chart is low, those indicators may provide imprecise results, making it difficult to accurately identify significant volume nodes and the point of control.
To address these limitations and enhance accuracy, this indicator examines data from lower timeframes and distributes the volume to fine-grained price buckets. It intelligently selects an appropriate lower timeframe to ensure precise output while complying with a maximum specified number of bars to maintain good performance.
🔵 Three Range Modes
This indicator offers users the flexibility to choose from three range modes:
1. Visible Range (Default Mode): In this mode, the volume profile calculation begins at the time of the left-most bar displayed in the current viewport. As the user scrolls through the viewport, the volume profile updates automatically.
2. Anchored Range: This mode allows the user to set the start time either by using the datetime input boxes or by dragging the anchor line on the chart.
3. All Range: In this mode, the volume profile calculation is based on all the historical bars available in the chart.