OPEN-SOURCE SCRIPT

[MAD] BTC ETF Volume In/Outflow

Mis à jour
The " BTC ETF Volume In/Outflows" indicator is designed to analyze and visualize the volume data of various Bitcoin Exchange-Traded Funds (ETFs) across different exchanges. This indicator helps traders and analysts observe the inflows and outflows of trading volume in a structured and comparative manner.

Features
Multi-Ticker Support: The indicator is capable of handling volume data from multiple ETFs simultaneously, making it versatile for comparative analysis.
Volume Adjustments: Provides an option to view volume data either as the number of pieces (shares) traded or as monetary flow (value traded).
Compression Factor: Includes a volume compression factor setting that helps in emphasizing smaller volume changes or smoothing out volume spikes.

Data Calculation
Volume data is processed using a custom function that adjusts the data based on user settings for piece or monetary representation and applies a logarithmic compression factor.
This processed data is then fetched for each ticker.

Visualization
Volume data is visualized on the chart using column plots where each ETF's volume data is stacked and offset to provide a clear visual representation of in/outflows. Horizontal lines indicate the zero level for reference.

Usage Scenario
This indicator is particularly useful for traders who track multiple ETFs and need to compare their volume activities simultaneously. It provides insights into market trends, potentially indicating bullish or bearish shifts based on volume inflows and outflows across different instruments.

have fun :-)
Notes de version
Deltamode was added on multiple request, so only the difference from buy and sell is shown, not all the volume
Notes de version
Screenshot update with removed secondary indicator

Thanks for the correction opportunity PineCoders
Notes de version
ETH ETFs included now (Switchable)
Notes de version
added switchable extended session and did a compensation calculation for the moneyflow so it matches volume*etfprice even when splitting to positive and negative volume (which is an estimate)
Notes de version
custom multiplier for output values to shrink scale when volume is very big
Bitcoin (Cryptocurrency)BTCETFinflowoutflowVolume

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


djmad|Bitblockart

Clause de non-responsabilité