OPEN-SOURCE SCRIPT

Bollinger Band Width Percentile - Multi Time Frame

Telah dikemas kini
My plan with this indicator was when trading at short timeframes, to modify my expectations on the potential impact of short term volatility based on volatility in longer timeframes, and when trading on longer timeframes to attempt to find an optimal entry point based on shorter term volatility.

The BBWP is calculated for a short, medium and long timeframe, alerts are triggered at extremities with the ability to filter by moving averages and chart movement. The alerts also trigger a plot to the "Backtest Signal" which can be used to trigger trades in a backtester.

Please see the discussions of how I'm using this indicator in the comments below.

Thanks to The_Caretaker for "Bollinger Band Width Percentile" upon which this multi time frame version is based.
Nota Keluaran
1.01
• Added bar color options, thanks Jittra
• Cleaned up the inputs
Nota Keluaran
Got sick of changing settings when I changed chart timeframes, added 'Auto' timeframe setting for medium and long timeframes. Auto applies as follows:

Chart Timeframe Auto Medium Auto Long
1 5 15
3 10 30
5 15 45
10 30 120
15 60 240
30 120 480
45 120 720
60 240 D
120 480 2D
180 720 3D
240 D 5D
720 D 5D
D 3D W
3D W 2W
5D 2W M
W M 2M
Bands and ChannelsBBWbbwpBollinger Bands (BB)Bollinger Bands Width (BBW)multipletimeframe

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian