dgtrd

Volatility Bands by DGT

Volatility represents how large an asset's prices swing around the mean price, the degree of variation of a trading price over time, and is commonly measured with beta (β) coefficients, standard deviations (σ) of returns where tools such as Average True Range , Bollinger Bands , Keltner Channel, Squeeze Indicator, etc presents volatility concept

Volatility often refers to the amount of uncertainty or risk related to the size of changes in a security's value. The higher the volatility , the riskier the security - the price of the security can change dramatically over a short time period in either direction. A lower volatility - security's value does not fluctuate dramatically, and tends to be more steady

This study, Volatility Bands, attempts to present a way to measure and visualize volatility, using standard deviations (σ) and average true range indicator, and aims to point out areas that might indicate potential trading opportunities

I will try to explain the usage with examples,


same setup with different option selected


as you may observe from the examples different setting may have advantages and disadvantages over one another, it is recommended to verify a trading setup with different available options.
Additionally, It is recommended to use this indicator in conjunction with other technical indicators, or verify using chart/candle patterns. Below is an usage example using in conjunction with other indicator, in the given example “Neglected Volume by DGT” is selected



Similarities and Differences

Bollinger Bands depicts two standard deviations above and below a simple moving average , and Keltner Channel depicts two times average true range (ATR) above and below an exponential moving average

Volatility Bands study combines the approach of both Bollinger Bands and Keltner Channel, with different settings and different visualization

Default settings are one standard deviations and one time average true range (ATR) above and below 13 period exponential moving average . Setting can be adjusted by users but let me remind all testes are performed with the default settings.

Mathematically expressed as
Upper band area between “ema + stdev” and “ema + atr”
Lower band area between “ema – stdev” and “ema – atr”

A different display is added with the inspiration I get from one of the @quantgym ‘s study, many thanks @quantgym 😉

When difference band display is selected the study will reflect the area between “ema + stdev – atr” and “ema – stdev + atr”. As shown in the examples above

Note: standard deviation calculation can be adjusted based on price action or its moving average.

Other differentiation between BB and KC is with V-BANDS mostly we look for trade opportunities when price action move out of the bands and in most cases we assume market is consolidating when the price action is within the bands

The other indicator that presents similarities to Volatility Bands is Squeeze Indicator, which measures the relationship between Bollinger Bands and Keltner's Channels to help identify consolidations and signal when prices are likely to break out. Mainly Volatility Bands is different version of Squeeze indicator, in fact the purpose is almost same but visualization is completely different. Additionally Volatility Bands Offers trading opportunities whereas Squeeze indicator only presents market states unless a momentum indicator is adapted to Squeeze indicator.

Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely

The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
릴리즈 노트: Logistic EMA added as optional basis for volatility bands

for details of Logistic EMA you are invited to check "Logistic EMA w/ Signals by DGT" study
릴리즈 노트: minor update :

color of standard deviation line differentiated from atr line

hence,
- ability to view atr and stdev changes independetly
- ability to identify squeeze regions clearly
오픈 소스 스크립트

진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

코멘트

Another great work from @dgtrd! Thanks for this!
+2 응답
dgtrd kurdapski
thank you very much @kurdapski, i am so happy to hear such encouraging comments ;-)
+1 응답
I love this dual band setting to detect the oversold and overbought zones, thanks for sharing!
+1 응답
dgtrd blackcat1402
thank you very much @blackcat1402,

the bands;
- will act as oversold and overbought zones when the market is in considation period,

more importanlty and the aim of this study
- will act as entry/exit points when the price action just moves out of the bands in a trending market

such as
in uptrend, buy when price action exits bands and sell when enters bands
and conversly in downtren, sell when price action exits bands and buy when enters bands

It is recommended to use this indicator in conjunction with other technical indicators

btw, i recognized you started publishing and started fast with valued stuff out there, congrats
+1 응답
@dgtrd, thanks for the reply!I learned a lot of useful knowledge and methods from your script:)
응답
dgtrd blackcat1402
thank you @blackcat1402, we all learn from each other ;-) this is, what i believe, the power of sharing knowledge and thanks to @TradingView for the privileges we are given
+1 응답
dgtrd dgtrd
@dgtrd, a reminder : the above statement is valid when the default settings are applied

if you change the multiplier factors than the behaviour will change.

if we set Standard Deviation and Volatility (ATR) Multiplier to two for example, the study will become almost same as the combination of Bollinger Bands and Keltner Channel and in this case bands can be assumed as oversold and overbought zones in a volatile market

additional info : standard deviations most known interpretation (there are some limitations/exclutions for some rare cases)

68% off all data values will fall within one standard deviation.
95% of data values will fall within two standard deviations
99.7% of all values will fall within three standard deviations
+1 응답
thanks a lot
응답
dgtrd solidFriend48585
thnak you @solidFriend48585,
응답
Beautiful! Thanks you!
응답
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 정보 차트 특징 프라이싱 프렌드 리퍼하기 하우스룰(내부규정) 헬프 센터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 라이트웨이트 차팅 라이브러리 블로그 & 뉴스 트위터