crashout75

z_score_bgd

crashout75 已更新   

Z-score indicator for volatile currency pairs, showing STRONG BUY, BUY, SELL, STRONG SELL zones by shading the chart background.

---------------------------------
Background
---------------------------------
Based on mean reversion, a theory that after a swing in price the price will tend back to the mean. This offers some ability to predict future trends.
The formula for calculating a z-score is is z = (x-μ)/σ, where x is the pair price, μ is the mean for a population, and σ is the population standard deviation.

---------------------------------
Set up
---------------------------------
The user can define their own value for the "window" or population, which is the number of preceding days to evaluate. This value will affect the frequency and magnitude of trades, with higher "window" values reducing the frequency of reversions but increasing their magnitude.
Where the value for "window" is left at 99, the default values below will be applied in the background. Otherwise the user's selection will be in effect.

atombtc 18
avaxbtc 21
ethbtc 18
ftmbtc 11
maticbtc 11
solbtc 11
soleth 16

The default values above are intended for the daily time-frame.

---------------------------------
Interpreting the indicator
---------------------------------
Dark green -> large deviation below mean price (strong buy)
Green -> moderate deviation below mean price (buy)
Red -> moderate deviation below mean price (sell)
Dark red -> large deviation below mean price (strong sell)

Z-score is an imperfect indicator, as with all indiciators and trading decisions must be confirmed by multiple indicators and consider other factors.
版本注释:
Defaults to overlay the price chart.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?