OPEN-SOURCE SCRIPT
已更新 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.
版本注释
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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。