OPEN-SOURCE SCRIPT

[MAD] BTC ETF Volume In/Outflow

已更新
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 :-)
版本注释
Deltamode was added on multiple request, so only the difference from buy and sell is shown, not all the volume
版本注释
Screenshot update with removed secondary indicator

Thanks for the correction opportunity PineCoders
版本注释
ETH ETFs included now (Switchable)
版本注释
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)
版本注释
custom multiplier for output values to shrink scale when volume is very big
Bitcoin (Cryptocurrency)BTCETFinflowoutflowVolume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


djmad|Bitblockart

免责声明