luminaryfi

Z-Score

luminaryfi アップデート済   
The z-score is a way of counting the number of standard deviations between a given data value and the mean of the data set.

Z-score = (x̄ - μ) / (σ / √ n)

x̄ = sample mean (using the array.avg function = array(a,close), where i = 1 to 21)
μ = population mean ( = avg(close, n))
σ = standard deviation of the population ( = stdev(close,n))
n = number of 'close' or trading day closes

n = input

... Note: The previous indicator is part of a larger series of indicators
リリースノート:
avg => sma
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?