OPEN-SOURCE SCRIPT

Inverse Bands

已更新
I'm very new to trading. I've been toying with moving averages to trigger swing trades and wanted an indicator that would swell when price moves sideways and squeeze when price is trending.

So this is the inverse of the popular Bollinger Bands indicator. It makes a very easy identifier for price breakout when paired with your favorite fast moving average. When MA falls outside the bands, it indicates an emerging trend. Still requires some curve fitting, but it is a work in progress.

I hope this isn't a direct copy of something I am not aware of.
版本注释
Worked out a reliable way to invert Bol Bands across a wider price range. Still needs some curve fitting via "Length" and "X Offset" settings. In future revisions ill try to automate the fitting based on current price maybe. Until then we will have to manually fit the settings.
版本注释
Squared the percentage, not totally sure it helped. Did some fine tuning with settings, and changed the label of X offset to width, because that is essentially what it does.
bandsinverseSimple Moving Average (SMA)Trend AnalysisVolatility

开源脚本

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

想在图表上使用此脚本?

免责声明