anche1991

Aggregated VWAP by Anche

anche1991 Telah dikemas kini   
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.
Nota Keluaran:
clean up
Nota Keluaran:
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.
Nota Keluaran:
if user inputs BITFINEX or KRAKEN, symbol currency should default to USD
Nota Keluaran:
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
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?