OPEN-SOURCE SCRIPT
Bull Market Support Band (Customizable)

Bull Market Support Band (Customizable) is a flexible moving average band based on the classic bull market support concept.
The script plots two independently configurable moving averages:
The band between the two averages is shaded dynamically to show the relationship between them. This makes it easier to visually identify trend context, support zones, and market regime changes.
By default, the script can be used as a weekly-style support band similar to the classic 20-week SMA and 21-week EMA setup, but it is not limited to that configuration. Users can adapt it to other timeframes and moving average combinations for different markets and trading styles.
This indicator does not generate signals or trade automatically. It is intended as a clean visual tool for trend context and market structure.
Best viewed on the timeframe that matches the selected moving average settings. For example, weekly moving averages are usually most intuitive on a weekly chart.
The script plots two independently configurable moving averages:
- each line can be set to SMA, EMA, WMA, or RMA
- each moving average can use its own length
- each moving average can use its own timeframe
- line colors and fill colors are fully customizable
The band between the two averages is shaded dynamically to show the relationship between them. This makes it easier to visually identify trend context, support zones, and market regime changes.
By default, the script can be used as a weekly-style support band similar to the classic 20-week SMA and 21-week EMA setup, but it is not limited to that configuration. Users can adapt it to other timeframes and moving average combinations for different markets and trading styles.
This indicator does not generate signals or trade automatically. It is intended as a clean visual tool for trend context and market structure.
Best viewed on the timeframe that matches the selected moving average settings. For example, weekly moving averages are usually most intuitive on a weekly chart.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.