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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.