OPEN-SOURCE SCRIPT

Coiled Moving Averages

This indicator detects when 3 moving averages converge and become coiled. This indicates volatility contraction which often leads to volatility expansion, i.e. large price movements.

Moving averages are considered coiled when the percent difference from each moving average to the others is less than the Coil Tolerance % input value.

This indicator is unique in that it detects when moving averages converge within a specified percent range. This is in contrast to other indicators that only detect moving average crossovers, or the distance between price and a moving average.

This indicator includes options such as:
- % difference between the MAs to be considered coiled
- type and length of MAs
- background color to indicate when the MAs are coiled
- arrows to indicate if price is above or below the MAs when they become coiled

While coiling predicts an increased probability for volatility expansion, it does not necessarily predict the direction of expansion. However, the arrows which indicate whether price is above or below the moving average coil may increase the odds of a move in that direction. Bullish alignment of the moving averages (faster MAs above the slower MAs) may also increase the odds of a bullish break, while bearish alignment may increase the odds of a bearish break.

Note that mean reversion back to the MA coil is common after initial volatility expansion. This can present an entry opportunity for traders, as mean reversion may be followed by continuation in the direction of the initial break.

Experiment with different settings and timeframes to see how coiled MAs can help predict the onset of volatility.
COILcoiledcoilingmoving_averageMoving AveragesVolatilityvolatilitycontractionvolatilityexpansion

开源脚本

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

想在图表上使用此脚本?


Technical analysis should be made as simple as possible, but no simpler. --Albert Einstein
更多:

免责声明