crashout75

z_score_bgd

crashout75 Atualizado   

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.
Notas de Lançamento:
Defaults to overlay the price chart.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?