anche1991

Aggregated VWAP by Anche

anche1991 已更新   
About this indicator
Aggregated VWAP shows you a combined VWAP of different assets which you can choose inside the options panel.

This allows you to select the same asset from multiple exchanges and the indicator plots a VWAP based on all the prices of the selected tickers.

The above image shows you the VWAP of the current asset (red, thick line) and an Aggregated VWAP of BTCUSD from this exchange + 5 others (black line). This clearly shows a discrepancy between both values.

How to use
Open the options of the indicator, at the bottom you will find 5 input fields to select 5 tickers. This allows you to select your asset from different exchanges so that their value gets computed inside the value for the Aggregated VWAP.

Inside the "style" settings you can change colors, lines, etc.
版本注释:
clean up
版本注释:
No need to switch settings anymore when you change an asset!
When you change from BTC to ETH, the data automatically updates! The inputs have been changed in the settings, so you now only need to input the exchanges and their suffixes, and the indicator automatically fetches the data.

For example
when you are viewing BYBIT:BTCUSDT.P the script recognises the BTCUSDT part as the base, so if you always want to include Binance's perpetual data you open the settings panel, and in one of the input rows you fill in:
BINANCE in the exchange field, and PERP in the suffix field. Because that generates BINANCE:BTCUSDTPERP, which is the full ticker for the data you want to have included in the Aggregated VWAP.

If you open the current settings of this indicator, you will see some examples of some of the current biggest derivates exchanges and their suffixes.

This is a tryout, I think this will already help current users a lot when switches between assets, please let me know through twitter or in the comments of the indicator if you have more suggestions on how to improve.
版本注释:
if user inputs BITFINEX or KRAKEN, symbol currency should default to USD
版本注释:
changed suffix to include the base currency, as some exchanges don't use USD or USDT, its easier to give the user control as to which base currency they want to use in relation to the chosen exchange

if u appreciate my work, buy me a cookie
usdt trc20 TSUTzbvtaQU395SJmZBz4tiQ2WC31uUEAF
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?