OPEN-SOURCE SCRIPT
Updated 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.
Release Notes
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.