OPEN-SOURCE SCRIPT
Güncellendi Volume Footprints

**Footprints (Volume Footprints) — Description**
Footprints breaks down each price bar to show where trading activity concentrated within it. Instead of a single volume number per bar, it splits a bar into horizontal price levels and reports how much volume traded at each level, along with an estimated buy/sell breakdown. Everything is presented in a compact, docked information box rather than drawn across the chart, keeping the price panel clean. The indicator's full name is "Volume Footprints," shown in the library and settings, while the chart legend displays the short name "Footprints."
**What it shows**
The indicator samples a finer timeframe inside each bar to reconstruct how volume was distributed across price. It then displays that distribution as a price ladder, with the highest price at the top. For each level it shows the volume attributed to buying, the volume attributed to selling, and the net difference between them (delta). A totals row at the bottom sums buying, selling, and net delta for the whole bar.
Two reference points are marked with colored dots in their own narrow columns: the Point of Control (P), which is the single price level where the most total volume traded, and the current price level (C), which shows where live price sits within the bar. A volume heatmap shades each row so that busier levels appear more saturated, making the most active prices easy to spot at a glance.
An optional candlestick column runs down the far-left side of the box, drawn to scale against the same price ladder so it mirrors the inspected bar's candle on the chart — a solid body between the open and close, thin wicks to the high and low, and colored green when the bar closed up or red when it closed down. Because it is drawn from table cells, its smoothness depends on how many rows the ladder has; a coarse ladder produces a blockier candle.
The information box also carries a title row showing the indicator name, which bar is being examined, the timeframe settings in use, and a live countdown to the close of the forming bar.
**Buy/sell estimation**
The buy and sell figures are estimated from price direction within the sampled sub-bars rather than from actual bid/ask transaction data. Rising sub-bars are counted as buying and falling sub-bars as selling. As a result, the buy, sell, and delta values are an approximation of activity, not a measurement of true order flow.
**Timeframe guidance and warnings**
For the indicator to work, the chart timeframe must sit between the two timeframe settings: the cell granularity must be below the chart timeframe, and the footprint bar timeframe must be at or above it. If the chart is on a higher timeframe than the footprint setting, the box displays a warning in place of the ladder. If the cell granularity is not below the chart timeframe, the box reports that as well. The footprint timeframe may also be left as "Chart" to match the chart's own timeframe, in which case no timeframe warning is shown.
**User Inputs**
- **Footprint bar timeframe** — Sets which bar the box analyzes, such as one hour. This should be at or above the chart's timeframe. Volume from finer sub-bars is accumulated across chart bars until this bar completes, then organized into price levels.
- **Cell granularity** — Sets the finer timeframe used to build the price levels inside each bar. This must be below the chart's timeframe; otherwise no data is returned and the box reports this.
- **Stable cells (closed sub-bars only)** — Affects the forming bar only. When on, buy/sell figures count only sub-bars that have fully closed, so numbers accumulate steadily instead of shifting between buy and sell as price moves; this introduces a slight lag at the live level. When off, the still-forming sub-bar is included for maximum responsiveness, at the cost of the current level's figures fluctuating.
- **Row bucketing mode** — Chooses how price levels are formed. Fixed price step builds a continuous ladder on a fixed price grid, giving every level from the bar's low to high a permanent row that does not shift as the bar develops. Range slices instead divides the bar's high-to-low range into a set number of equal parts, which rescales as the bar's range grows.
- **Price step (ticks)** — Used in Fixed price step mode. Sets the height of each row in ticks. Smaller values create more, finer rows; larger values create fewer, coarser rows. If a bar spans more levels than the display can hold, the highest levels are truncated, which is resolved by raising this value.
- **Price rows (Range slices mode)** — Used in Range slices mode. Sets the number of equal divisions of the bar's range. It has no effect in Fixed price step mode, which sizes the ladder automatically.
- **Footprint bar to inspect** — Selects which bar the box displays, counting back from the newest. Zero is the bar currently forming, one is the last completed bar, and so on.
- **Info box position** — Anchors the information box to a chosen area of the chart, such as a corner or middle edge, so it can be moved clear of price.
- **Info box text size** — Sets the font size inside the box, from tiny to large.
- **Show candlestick column** — Toggles the far-left candlestick column. When off, the column is removed entirely and the box narrows.
- **Show chart marker** — Toggles an on-chart arrow that points to the most recent candle of the bar being analyzed.
- **Marker color** — Sets the color of that on-chart arrow.
- **Buy color** — Sets the color used for net-buying delta figures.
- **Sell color** — Sets the color used for net-selling delta figures.
- **Candle up color** — Sets the candlestick column's color when the bar closed at or above its open. Defaults to a standard chart green.
- **Candle down color** — Sets the candlestick column's color when the bar closed below its open. Defaults to a standard chart red.
- **Heat (volume) tint** — Sets the hue of the volume heatmap that shades each row by activity, with the busiest level appearing brightest.
- **Info box background** — Sets the solid background color of the box, over which the heatmap tint blends.
- **Text** — Sets the color of the text inside the box.
- **Title text color** — Sets the color of the title-row text.
- **Title background** — Sets the background color of the title row.
- **POC dot color** — Sets the color of the dot marking the Point of Control.
- **Current price dot color** — Sets the color of the dot marking the row where live price currently sits.
Footprints breaks down each price bar to show where trading activity concentrated within it. Instead of a single volume number per bar, it splits a bar into horizontal price levels and reports how much volume traded at each level, along with an estimated buy/sell breakdown. Everything is presented in a compact, docked information box rather than drawn across the chart, keeping the price panel clean. The indicator's full name is "Volume Footprints," shown in the library and settings, while the chart legend displays the short name "Footprints."
**What it shows**
The indicator samples a finer timeframe inside each bar to reconstruct how volume was distributed across price. It then displays that distribution as a price ladder, with the highest price at the top. For each level it shows the volume attributed to buying, the volume attributed to selling, and the net difference between them (delta). A totals row at the bottom sums buying, selling, and net delta for the whole bar.
Two reference points are marked with colored dots in their own narrow columns: the Point of Control (P), which is the single price level where the most total volume traded, and the current price level (C), which shows where live price sits within the bar. A volume heatmap shades each row so that busier levels appear more saturated, making the most active prices easy to spot at a glance.
An optional candlestick column runs down the far-left side of the box, drawn to scale against the same price ladder so it mirrors the inspected bar's candle on the chart — a solid body between the open and close, thin wicks to the high and low, and colored green when the bar closed up or red when it closed down. Because it is drawn from table cells, its smoothness depends on how many rows the ladder has; a coarse ladder produces a blockier candle.
The information box also carries a title row showing the indicator name, which bar is being examined, the timeframe settings in use, and a live countdown to the close of the forming bar.
**Buy/sell estimation**
The buy and sell figures are estimated from price direction within the sampled sub-bars rather than from actual bid/ask transaction data. Rising sub-bars are counted as buying and falling sub-bars as selling. As a result, the buy, sell, and delta values are an approximation of activity, not a measurement of true order flow.
**Timeframe guidance and warnings**
For the indicator to work, the chart timeframe must sit between the two timeframe settings: the cell granularity must be below the chart timeframe, and the footprint bar timeframe must be at or above it. If the chart is on a higher timeframe than the footprint setting, the box displays a warning in place of the ladder. If the cell granularity is not below the chart timeframe, the box reports that as well. The footprint timeframe may also be left as "Chart" to match the chart's own timeframe, in which case no timeframe warning is shown.
**User Inputs**
- **Footprint bar timeframe** — Sets which bar the box analyzes, such as one hour. This should be at or above the chart's timeframe. Volume from finer sub-bars is accumulated across chart bars until this bar completes, then organized into price levels.
- **Cell granularity** — Sets the finer timeframe used to build the price levels inside each bar. This must be below the chart's timeframe; otherwise no data is returned and the box reports this.
- **Stable cells (closed sub-bars only)** — Affects the forming bar only. When on, buy/sell figures count only sub-bars that have fully closed, so numbers accumulate steadily instead of shifting between buy and sell as price moves; this introduces a slight lag at the live level. When off, the still-forming sub-bar is included for maximum responsiveness, at the cost of the current level's figures fluctuating.
- **Row bucketing mode** — Chooses how price levels are formed. Fixed price step builds a continuous ladder on a fixed price grid, giving every level from the bar's low to high a permanent row that does not shift as the bar develops. Range slices instead divides the bar's high-to-low range into a set number of equal parts, which rescales as the bar's range grows.
- **Price step (ticks)** — Used in Fixed price step mode. Sets the height of each row in ticks. Smaller values create more, finer rows; larger values create fewer, coarser rows. If a bar spans more levels than the display can hold, the highest levels are truncated, which is resolved by raising this value.
- **Price rows (Range slices mode)** — Used in Range slices mode. Sets the number of equal divisions of the bar's range. It has no effect in Fixed price step mode, which sizes the ladder automatically.
- **Footprint bar to inspect** — Selects which bar the box displays, counting back from the newest. Zero is the bar currently forming, one is the last completed bar, and so on.
- **Info box position** — Anchors the information box to a chosen area of the chart, such as a corner or middle edge, so it can be moved clear of price.
- **Info box text size** — Sets the font size inside the box, from tiny to large.
- **Show candlestick column** — Toggles the far-left candlestick column. When off, the column is removed entirely and the box narrows.
- **Show chart marker** — Toggles an on-chart arrow that points to the most recent candle of the bar being analyzed.
- **Marker color** — Sets the color of that on-chart arrow.
- **Buy color** — Sets the color used for net-buying delta figures.
- **Sell color** — Sets the color used for net-selling delta figures.
- **Candle up color** — Sets the candlestick column's color when the bar closed at or above its open. Defaults to a standard chart green.
- **Candle down color** — Sets the candlestick column's color when the bar closed below its open. Defaults to a standard chart red.
- **Heat (volume) tint** — Sets the hue of the volume heatmap that shades each row by activity, with the busiest level appearing brightest.
- **Info box background** — Sets the solid background color of the box, over which the heatmap tint blends.
- **Text** — Sets the color of the text inside the box.
- **Title text color** — Sets the color of the title-row text.
- **Title background** — Sets the background color of the title row.
- **POC dot color** — Sets the color of the dot marking the Point of Control.
- **Current price dot color** — Sets the color of the dot marking the row where live price currently sits.
Sürüm Notları
Added additional Timeframe selections 2 day thru 6 day.Footprint timeframe default set to 1 day.
Inputs grouped for easier reference and usability.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.