OPEN-SOURCE SCRIPT
Bollinger Bandwidth

The bandwidth is the difference (gap) between the upper band and the lower band.
This Bandwidth indicator takes the current Width of the Bollinger Bands and compares it to the Maximum and Minimum Width of the Bands over N periods
If the calculated percentage is less than or equal to X Percent (which we will specify), then the histogram shows yellow. If the calculated percentage is greater than the X Percent, then the histogram shows Red.
This works out well to quickly see if the currency pair is ranging (Yellow) and if it has broken out of range (Red)
To have a valid trade, the bandwidth indicator must be Yellow which means prices are contained within a tight range. This give us the opportunity to be able to trade inside the band picking top and bottom of the range with the help of the Stochastic indicator.
This Bandwidth indicator takes the current Width of the Bollinger Bands and compares it to the Maximum and Minimum Width of the Bands over N periods
If the calculated percentage is less than or equal to X Percent (which we will specify), then the histogram shows yellow. If the calculated percentage is greater than the X Percent, then the histogram shows Red.
This works out well to quickly see if the currency pair is ranging (Yellow) and if it has broken out of range (Red)
To have a valid trade, the bandwidth indicator must be Yellow which means prices are contained within a tight range. This give us the opportunity to be able to trade inside the band picking top and bottom of the range with the help of the Stochastic indicator.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.