luminaryfi

Z-Score 'Bollinger Bands'

luminaryfi 已更新   
The following script is an application of the Z-Score (previous script).

Z-Scores can be used in place of standard deviation (sigma) in 'Bollinger Bands'.


The average of the sample (x-bar) over 21 days (N)
21 average trading days per month, fixed value

The average of the population (mu) over 63 days (n)
63 days per quarter, default is set to 63

Z-Score is calculated by formula in previous script, and the absolute value is taken of "Z".

Z-High = absolute value of Z + (x-bar).
Z-Low = absolute value of Z - (x-bar).

Will update with Z from mu and Z from avg (working on UX and visualization details).
發布通知:
added display options.

can choose from:

Z-Score from sample mean (x-bar)
Z-Score from population mean (mu)
發布通知:
//hexidecimal color switch
發布通知:
//test
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?