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
更多:

免責聲明