PROTECTED SOURCE SCRIPT
已更新

ETHBTC Z-Score

1 353
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。