OPEN-SOURCE SCRIPT

Webby's Tight Indicator

已更新
Webby's Tight Indicator is used to measure a securities volatility relative to itself over time. This is achieved by taking the average of three short term ATR's (average true range) and creating a ratio versus three longer term ATR's.

Mike Webster recently stated he is using the 3,5,8 for the short term ATR's and the 55,89,144 for the long term ATR's. All of the ATR lengths are part of the Fibonacci sequence.

The ratio of the ATR's is then calculated and plotted as a histogram with 0 representing the ATR's being equal. As a stocks short term ATR contracts the histogram will rise above 0 meaning volatility in the short term is contracting relative to long term volatility. On the other hand if the short ATR's are expanding versus the long term ATR's the histogram will fall below 0 and turn red, signifying short term volatility is greater than long term volatility.

The easy visualization of this indicator allows you to quickly see when a stock is in a tight range and could be ready for a potential breakout to the long side or breakdown to the short side.

In this example we see tight price action with a blue histogram followed by volatility to the upside coinciding with a breakout.
快照

In this example we see volatility expanding as a stock continues to fall.
快照

To help differentiate between trending contraction or expansion and just short term blips 5-day exponential moving average of the ratio is also plotted on the histogram and dynamically changes colors as it rises and falls.

Indicator options include:
  • Change histogram colors
  • Choose ema line width
版本注释
Added option to hide the ema of the ratio and option to highlight the highest and lowest ratio of the last year.
ATRaveragetruecanslimibdibdliveMoving AveragesoneilTrend AnalysisVolatilitywebbywebbyrsiwebbys_rsi

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Trusted Pine programmer. Send me a message for script development.
更多:

免责声明