OPEN-SOURCE SCRIPT

Inverse Bands

Atualizado
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.
Notas de Lançamento
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.
Notas de Lançamento
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

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal