PROTECTED SOURCE SCRIPT
已更新

ETHBTC Z-Score

1 498
ETHBTC Z-Score Indicator
Key Features
Z-Score Calculation: Measures how far ETHBTC deviates from its mean over a user-defined period.

Linear Regression Line: Tracks the trend of the Z-score using least squares regression.

Standard Deviation Bands: Plots ±N standard deviations around the regression line to show expected Z-score range.

Dynamic Thresholds: Highlights overbought (e.g. Z > 1) and oversold (e.g. Z < -2) zones using color and background fill.

Visual & Table Display: Color-coded bars, horizontal level fills, and optional table showing regression formula and R².

Usage
Spot overbought/oversold extremes when Z-score crosses defined thresholds.

Use the regression line as a dynamic baseline and its bands as range boundaries.

Monitor R² to gauge how well the regression line fits the recent Z-score trend.

Example
Z > 1: ETHBTC may be overbought — potential caution or mean-reversion.

Z < -2: ETHBTC may be oversold — possible buying opportunity.

Z near regression line: Price is in line with recent trend.
版本注释
Updated to work on chart's timeframe

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。