PROTECTED SOURCE SCRIPT
Dual-BB SuperTrend - by Trading Pine Lab

🇬🇧
The Dual-BB SuperTrend is a fusion strategy that builds a BBTrend oscillator from two Bollinger Bands (short & long lookbacks) and then runs a SuperTrend over that oscillator to time entries and exits. The BBTrend captures expansion/contraction between the two bands (structural momentum), while the SuperTrend converts that flow into clear directional flips.
Entries occur on SuperTrend direction flips over the BBTrend series (Long when ST turns bullish, Short when it turns bearish). Optional percentage TP/SL can be applied on top. The chart includes a blue/orange theme for the BBTrend histogram with a subtle glow around the zero line, and BUY/SELL label markers with arrows for clean visual confirmation.
All parameters are fully configurable:
-Trading direction filter: Long / Short / Both.
-Bollinger settings: short length, long length, standard-deviation multiplier.
-SuperTrend over BBTrend: length and ATR factor, contrarian labels toggle, bull/bear colors.
-Risk controls: Take-Profit % and Stop-Loss % with TP/SL/Both/None mode.
-Visualization: BBTrend column colors (blue/orange, strong/weak), zero-line glow, BUY/SELL label styling.
The Dual-BB SuperTrend is a fusion strategy that builds a BBTrend oscillator from two Bollinger Bands (short & long lookbacks) and then runs a SuperTrend over that oscillator to time entries and exits. The BBTrend captures expansion/contraction between the two bands (structural momentum), while the SuperTrend converts that flow into clear directional flips.
Entries occur on SuperTrend direction flips over the BBTrend series (Long when ST turns bullish, Short when it turns bearish). Optional percentage TP/SL can be applied on top. The chart includes a blue/orange theme for the BBTrend histogram with a subtle glow around the zero line, and BUY/SELL label markers with arrows for clean visual confirmation.
All parameters are fully configurable:
-Trading direction filter: Long / Short / Both.
-Bollinger settings: short length, long length, standard-deviation multiplier.
-SuperTrend over BBTrend: length and ATR factor, contrarian labels toggle, bull/bear colors.
-Risk controls: Take-Profit % and Stop-Loss % with TP/SL/Both/None mode.
-Visualization: BBTrend column colors (blue/orange, strong/weak), zero-line glow, BUY/SELL label styling.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.