OPEN-SOURCE SCRIPT
Atualizado ZEC Aggregate Average

**ZEC Aggregate Average** is a multi-exchange price aggregation indicator designed to provide a broader view of Zcash (ZEC) market pricing across multiple cryptocurrency exchanges.
Instead of relying on the price from a single exchange, the indicator pulls ZEC price and volume data from a range of major exchanges and calculates two separate aggregate prices:
### Equal-Weight Average
The **Equal-weight avg** calculates the simple average of all available ZEC prices across the supported exchanges.
Each exchange contributes equally to the calculation, regardless of its trading volume. If an exchange's symbol is unavailable or does not return a valid price, that exchange is automatically excluded from the calculation.
This provides a straightforward representation of the average ZEC price across the available markets.
### Volume-Weighted Average
The **Volume-weight avg** calculates a volume-weighted average price using the available exchange prices and their corresponding trading volumes.
Exchanges with greater reported volume therefore have a greater influence on the resulting aggregate price, while exchanges with lower volume have less influence.
Only valid prices with positive volume are included in the volume-weighted calculation.
### Supported Exchanges
The indicator currently aggregates data from:
* Binance
* Coinbase
* Bybit
* OKX
* Bitget
* Gate.io
* MEXC
* KuCoin
* HTX
* Kraken
* Crypto.com
* Bitstamp
* Bitfinex
* Gemini
The indicator automatically handles unavailable symbols, allowing the calculation to continue using the exchanges that are providing valid data.
### How It Can Be Used
ZEC Aggregate Average can be used as a reference for evaluating ZEC's broader market price rather than relying exclusively on a single exchange.
Instead of relying on the price from a single exchange, the indicator pulls ZEC price and volume data from a range of major exchanges and calculates two separate aggregate prices:
### Equal-Weight Average
The **Equal-weight avg** calculates the simple average of all available ZEC prices across the supported exchanges.
Each exchange contributes equally to the calculation, regardless of its trading volume. If an exchange's symbol is unavailable or does not return a valid price, that exchange is automatically excluded from the calculation.
This provides a straightforward representation of the average ZEC price across the available markets.
### Volume-Weighted Average
The **Volume-weight avg** calculates a volume-weighted average price using the available exchange prices and their corresponding trading volumes.
Exchanges with greater reported volume therefore have a greater influence on the resulting aggregate price, while exchanges with lower volume have less influence.
Only valid prices with positive volume are included in the volume-weighted calculation.
### Supported Exchanges
The indicator currently aggregates data from:
* Binance
* Coinbase
* Bybit
* OKX
* Bitget
* Gate.io
* MEXC
* KuCoin
* HTX
* Kraken
* Crypto.com
* Bitstamp
* Bitfinex
* Gemini
The indicator automatically handles unavailable symbols, allowing the calculation to continue using the exchanges that are providing valid data.
### How It Can Be Used
ZEC Aggregate Average can be used as a reference for evaluating ZEC's broader market price rather than relying exclusively on a single exchange.
Notas de Lançamento
ZEC Aggregate Average is a multi-exchange price aggregation indicator designed to provide a broader view of Zcash (ZEC) market pricing across multiple cryptocurrency exchanges.Instead of relying on the price from a single exchange, the indicator pulls ZEC price and volume data from a range of major exchanges and calculates two separate aggregate prices:
Equal-Weight Average
The Equal-weight avg calculates the simple average of all available ZEC prices across the supported exchanges.
Each exchange contributes equally to the calculation, regardless of its trading volume. If an exchange's symbol is unavailable or does not return a valid price, that exchange is automatically excluded from the calculation.
This provides a straightforward representation of the average ZEC price across the available markets.
Volume-Weighted Average
The Volume-weight avg calculates a volume-weighted average price using the available exchange prices and their corresponding trading volumes.
Exchanges with greater reported volume therefore have a greater influence on the resulting aggregate price, while exchanges with lower volume have less influence.
Only valid prices with positive volume are included in the volume-weighted calculation.
Supported Exchanges
The indicator currently aggregates data from:
* Binance
* Coinbase
* Bybit
* OKX
* Bitget
* Gate.io
* MEXC
* KuCoin
* HTX
* Kraken
* Crypto.com
* Bitstamp
* Bitfinex
* Gemini
The indicator automatically handles unavailable symbols, allowing the calculation to continue using the exchanges that are providing valid data.
How It Can Be Used
ZEC Aggregate Average can be used as a reference for evaluating ZEC's broader market price rather than relying exclusively on a single exchange.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.