gorx1

Weighted Standard Deviation Bands

gorx1 Обновлено   
Linearly weighted standard deviations over linearly weighted mean.

The rationale of the study can be deduced from my latest publications where I go deeper into explaining the benefits of linear weighting, but in short, I can remind that by using linear weighting we are able to increase the information gain by communicating the sequential nature of time series to the calculations via linear weighting.

Note, that multiplier parameters can take both negative and positive values resulting in ability to have, for example, 1st and 6th weighted standard deviations higher than the weighted mean.

Despite the modification of the classic standard deviation formula, I assume that mathematical qualities of standard deviation will hold due to the fact we can alternately weight the window itself, and then apply the classic standard deviation over the weighted window. In both cases, the results will be the same.


Aight that was too formal, but your short strangles should be happy

Here is it, for you
Информация о релизе:
Update:

New:
- "Around zero" option. Allows to calculate & plot deviations from zero level. Very useful when you know that your data's population is ~ zero.
Информация о релизе:
Ok so now you can use it out of the box like wassup:
- Additional set of bands to be used as targets / liquidation points / strategy change thresholds, it's all about choosing between / trading the volatility comprehension / volatility expansion;
- Properly chosen (ain't no optimized) multipliers (really no need to touch em unless you're pursuing some specific goal you're very aware off), yes and don't waste your time on optimizing em, you'll arrive to ~ the same ones;
- Comparative slope & it's threshold - a native way to measure gradient for zero-order model (means it's not linear regression (1st order), and not quad reg (2nd order));
- Length of 64 is what will work decently on every resolution.

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?