OPEN-SOURCE SCRIPT
RWB Rocket Pattern

RWB Rocket Pattern
OVERVIEW
This indicator visualizes the Red White Blue (RWB) momentum system using 13 lines on your chart: 6 short-term EMAs (red), 6 long-term EMAs (blue), and a dotted close line.
When all 12 EMAs stack perfectly from shortest on top to longest on bottom with a visible gap between the red and blue groups, the stock is in a "Rocket" pattern — a strong sustained uptrend. The close line (13th line) shows whether price is leading the averages higher.
EMA PERIODS
Red (short-term): 3, 5, 8, 10, 12, 15
Blue (long-term): 30, 35, 40, 45, 50, 60
SIGNALS
ROCKET (green label) — Strong Rocket. All 12 EMAs perfectly stacked with white space and close leading above all red EMAs. Strongest bullish signal.
RWB (green triangle) — Perfect RWB stacking formed but close not yet leading all reds.
Bnce (teal diamond) — Price dipped into the red EMAs and bounced back above them while the RWB structure held. Potential re-entry point.
X (red cross) — Close dropped below the lowest red EMA. Early warning of breakdown.
Lost (orange triangle) — Perfect RWB stacking has broken down.
SUB (red label) — Submarine. All 12 EMAs inversely stacked. Bearish.
RIBBON FILLS
Green fill between red and blue ribbons = healthy white space gap (bullish).
Orange fill = gap has collapsed (caution).
DASHBOARD
The corner table shows a real-time Rocket Strength Score (0-100) and pattern status including EMA stacking, white space width, close position, how many EMAs are rising, and how long the pattern has held.
HOW TO USE
1. Apply to a Weekly chart for the classic RWB setup. Daily also works.
2. Look for scores above 90 with "STRONG ROCKET" status for high-conviction momentum stocks.
3. Use Bnce signals to time re-entries on pullbacks within an active Rocket.
4. Watch for X crosses and Lost signals as exit warnings.
5. Avoid longs when SUB (Submarine) is active.
ALERTS
Six built-in alerts are included. Right-click the indicator, select "Add Alert", and choose from: Strong Rocket, RWB Formed, Rocket Lost, Bounce Into Reds, Close Below Reds, or Submarine Formed.
SETTINGS
All EMA periods, colors, ribbon fills, signals, background tinting, and dashboard position are configurable in the indicator settings.
DISCLAIMER
For educational purposes only. Not financial advice. Always perform your own research before making trading decisions.
OVERVIEW
This indicator visualizes the Red White Blue (RWB) momentum system using 13 lines on your chart: 6 short-term EMAs (red), 6 long-term EMAs (blue), and a dotted close line.
When all 12 EMAs stack perfectly from shortest on top to longest on bottom with a visible gap between the red and blue groups, the stock is in a "Rocket" pattern — a strong sustained uptrend. The close line (13th line) shows whether price is leading the averages higher.
EMA PERIODS
Red (short-term): 3, 5, 8, 10, 12, 15
Blue (long-term): 30, 35, 40, 45, 50, 60
SIGNALS
ROCKET (green label) — Strong Rocket. All 12 EMAs perfectly stacked with white space and close leading above all red EMAs. Strongest bullish signal.
RWB (green triangle) — Perfect RWB stacking formed but close not yet leading all reds.
Bnce (teal diamond) — Price dipped into the red EMAs and bounced back above them while the RWB structure held. Potential re-entry point.
X (red cross) — Close dropped below the lowest red EMA. Early warning of breakdown.
Lost (orange triangle) — Perfect RWB stacking has broken down.
SUB (red label) — Submarine. All 12 EMAs inversely stacked. Bearish.
RIBBON FILLS
Green fill between red and blue ribbons = healthy white space gap (bullish).
Orange fill = gap has collapsed (caution).
DASHBOARD
The corner table shows a real-time Rocket Strength Score (0-100) and pattern status including EMA stacking, white space width, close position, how many EMAs are rising, and how long the pattern has held.
HOW TO USE
1. Apply to a Weekly chart for the classic RWB setup. Daily also works.
2. Look for scores above 90 with "STRONG ROCKET" status for high-conviction momentum stocks.
3. Use Bnce signals to time re-entries on pullbacks within an active Rocket.
4. Watch for X crosses and Lost signals as exit warnings.
5. Avoid longs when SUB (Submarine) is active.
ALERTS
Six built-in alerts are included. Right-click the indicator, select "Add Alert", and choose from: Strong Rocket, RWB Formed, Rocket Lost, Bounce Into Reds, Close Below Reds, or Submarine Formed.
SETTINGS
All EMA periods, colors, ribbon fills, signals, background tinting, and dashboard position are configurable in the indicator settings.
DISCLAIMER
For educational purposes only. Not financial advice. Always perform your own research before making trading decisions.
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.