OPEN-SOURCE SCRIPT

Squeeze Box [DW]

已更新
This is an experimental study designed using data from Bollinger Bands to determine price squeeze ranges and active levels of support and resistance.
First, a set of Bollinger Bands using a Coefficient of Variation weighted moving average as the basis is calculated.
Then, the relative percentage of current bandwidth to maximum bandwidth over the specified sampling period determines the relative squeeze.
The box is outlined by drawing the current highest and lowest source value over the sampling period whenever a squeeze is active.
I've included the COVWMA in the visualization for additional confirmation of price activity.

Custom Bar color scheme is included.
版本注释
Updates:
Added alternate moving average types. The available moving averages now in this script are:
-Exponential Moving Average
-Simple Moving Average
-Smoothed Moving Average
-Weighted Moving Average
-Volume Weighted Moving Average
-Least Squares Moving Average
-Arnaud Legoux Moving Average
-Hull Moving Average
-Coefficient of Variation Weighted Moving Average
-Fractal Adaptive Moving Average
-Kaufman's Adaptive Moving Average

Refined the color scheme for both bar colors and the moving averages.

Please note: Each moving average type generates different box values, so play around with them and find the one that works best for you.
almacovwmaexperimentalLeast Squares Moving Average (LSMA)Moving AveragessqueezesqueezeboxTrend AnalysisVolatility

开源脚本

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

想在图表上使用此脚本?


For my full list of premium tools, check the blog:
wallanalytics.com/

Reach out on Telegram:
t.me/DonovanWall
更多:

免责声明