PROTECTED SOURCE SCRIPT
Cross-Exchange BTC Volume[nakano]

## Cross-Exchange BTC Volume [nakano]
### Overview 📊
This indicator aggregates Bitcoin (BTC) volume from multiple major cryptocurrency exchanges in real-time and displays it as a stacked column chart. Additionally, it shows a label on the right side of the chart detailing the latest volume from each exchange and its percentage сьогодніs total market volume, helping to visually grasp market liquidity and trading concentration.
### Main Features ✨
* **Multi-Exchange Volume Aggregation**: Sums up the volume from major BTC/USD and BTC/USDT pairs on Binance, Coinbase, Bybit, Kraken, Bitstamp, Bitfinex, Gemini, HTX (formerly Huobi), and KuCoin, as well as BTC/JPY pairs on Bitflyer, Binance, Kraken, and Bitfinex.
* **Stacked Volume Chart**: Displays the volume from each exchange as a color-coded stacked column chart, allowing for an at-a-glance understanding of the overall volume composition.
* **Detailed Volume Label**: Shows a text label on the right side of the chart with the **latest volume** from each exchange (rounded to one decimal place, formatted as "0.x" if less than 1, or with thousand separators if 1 or greater) and its percentage of the current total volume. This label can be toggled on/off in the settings.
* **Dynamic Updates**: Volume data updates according to the chart's timeframe.
### What it Displays 📈
* **Stacked Volume Chart (Lower Pane)**:
* Volume from each exchange is displayed in a color-coded stacked format. The chart legend indicates which color corresponds to which exchange group (e.g., "Cumulative: Sum below BINANCEUSDT"). Volumes are stacked from the bottom, with the top border representing the total volume.
* **Detailed Volume Label (Right Side of Chart)**:
* A single text label is displayed on the right side of the chart, showing the volume figures and market share percentages for each exchange (or group).
* This label is updated when calculations are performed on the right edge of the chart (where the latest bars appear). The volume and percentage figures displayed are based on the **latest data** at that point.
* The displayed content is as follows:
* `BINANCE(US)`: Total volume and percentage for Binance USD(T/C) pairs.
* `COINBASE(US)`: Total volume and percentage for Coinbase USD(C) pairs.
* `BYBIT(US)`: Volume and percentage for Bybit USDT pair.
* `KRAKEN(US)`: Total volume and percentage for Kraken USD(T) pairs.
* `BITSTAMP`: Volume and percentage for Bitstamp USD pair.
* `BITFINEX(US)`: Volume and percentage for Bitfinex USD pair.
* `BITFLYER(JP)`: Volume and percentage for Bitflyer JPY pair.
* `BINANCE(JP)`: Volume and percentage for Binance JPY pair.
* `KRAKEN(JP)`: Volume and percentage for Kraken JPY pair.
* `BITFINEX(JP)`: Volume and percentage for Bitfinex JPY pair.
* `OTHER (incl. HTX)`: Total volume and percentage for Gemini (USD), HTX (USDT), and KuCoin (USDT).
### Inputs ⚙️
* **Show Labels**: `true` (checked) to display the detailed volume label, `false` (unchecked) to hide it. Default is `true`.
### How to Use / Use Cases 💡
* Understand which exchanges are experiencing active BTC trading.
* Check which exchange's volume reacts алкоголь (significantly) to specific news or events.
* Observe changes in volume share among exchanges across different time zones (e.g., Asia, Europe, US sessions).
* Analyze increases/decreases in overall market volume and the contribution of each exchange.
### Notes 📝
* This indicator is written in `//version=6`.
* Volume data is sourced from symbols provided by TradingView for each exchange. Data may become unavailable due to changes in exchange APIs, symbol names, etc.
* A single detailed volume label is displayed, updating to reflect the latest situation as the chart updates. Its content is triggered to update based on the **latest volume data** when bars in the most recent part of the chart are calculated.
* The source code is subject to the terms of the Mozilla Public License 2.0.
---
**© nakano**
### Overview 📊
This indicator aggregates Bitcoin (BTC) volume from multiple major cryptocurrency exchanges in real-time and displays it as a stacked column chart. Additionally, it shows a label on the right side of the chart detailing the latest volume from each exchange and its percentage сьогодніs total market volume, helping to visually grasp market liquidity and trading concentration.
### Main Features ✨
* **Multi-Exchange Volume Aggregation**: Sums up the volume from major BTC/USD and BTC/USDT pairs on Binance, Coinbase, Bybit, Kraken, Bitstamp, Bitfinex, Gemini, HTX (formerly Huobi), and KuCoin, as well as BTC/JPY pairs on Bitflyer, Binance, Kraken, and Bitfinex.
* **Stacked Volume Chart**: Displays the volume from each exchange as a color-coded stacked column chart, allowing for an at-a-glance understanding of the overall volume composition.
* **Detailed Volume Label**: Shows a text label on the right side of the chart with the **latest volume** from each exchange (rounded to one decimal place, formatted as "0.x" if less than 1, or with thousand separators if 1 or greater) and its percentage of the current total volume. This label can be toggled on/off in the settings.
* **Dynamic Updates**: Volume data updates according to the chart's timeframe.
### What it Displays 📈
* **Stacked Volume Chart (Lower Pane)**:
* Volume from each exchange is displayed in a color-coded stacked format. The chart legend indicates which color corresponds to which exchange group (e.g., "Cumulative: Sum below BINANCEUSDT"). Volumes are stacked from the bottom, with the top border representing the total volume.
* **Detailed Volume Label (Right Side of Chart)**:
* A single text label is displayed on the right side of the chart, showing the volume figures and market share percentages for each exchange (or group).
* This label is updated when calculations are performed on the right edge of the chart (where the latest bars appear). The volume and percentage figures displayed are based on the **latest data** at that point.
* The displayed content is as follows:
* `BINANCE(US)`: Total volume and percentage for Binance USD(T/C) pairs.
* `COINBASE(US)`: Total volume and percentage for Coinbase USD(C) pairs.
* `BYBIT(US)`: Volume and percentage for Bybit USDT pair.
* `KRAKEN(US)`: Total volume and percentage for Kraken USD(T) pairs.
* `BITSTAMP`: Volume and percentage for Bitstamp USD pair.
* `BITFINEX(US)`: Volume and percentage for Bitfinex USD pair.
* `BITFLYER(JP)`: Volume and percentage for Bitflyer JPY pair.
* `BINANCE(JP)`: Volume and percentage for Binance JPY pair.
* `KRAKEN(JP)`: Volume and percentage for Kraken JPY pair.
* `BITFINEX(JP)`: Volume and percentage for Bitfinex JPY pair.
* `OTHER (incl. HTX)`: Total volume and percentage for Gemini (USD), HTX (USDT), and KuCoin (USDT).
### Inputs ⚙️
* **Show Labels**: `true` (checked) to display the detailed volume label, `false` (unchecked) to hide it. Default is `true`.
### How to Use / Use Cases 💡
* Understand which exchanges are experiencing active BTC trading.
* Check which exchange's volume reacts алкоголь (significantly) to specific news or events.
* Observe changes in volume share among exchanges across different time zones (e.g., Asia, Europe, US sessions).
* Analyze increases/decreases in overall market volume and the contribution of each exchange.
### Notes 📝
* This indicator is written in `//version=6`.
* Volume data is sourced from symbols provided by TradingView for each exchange. Data may become unavailable due to changes in exchange APIs, symbol names, etc.
* A single detailed volume label is displayed, updating to reflect the latest situation as the chart updates. Its content is triggered to update based on the **latest volume data** when bars in the most recent part of the chart are calculated.
* The source code is subject to the terms of the Mozilla Public License 2.0.
---
**© nakano**
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.