OPEN-SOURCE SCRIPT
Swordsmith Bulletproof Version 2

Swordsmith Bulletproof Version 2 is a 5-minute Opening Range Breakout (ORB) strategy built for futures
instruments — MNQ, MES, NQ, and YM — using a 9-condition confluence scoring system that requires a minimum
of 6 conditions to align before any trade is taken.
How it works:
Price must break the opening range high (long) or low (short), then pass a multi-layer filter:
1. HTF Trend — 15-minute dual EMA confirms macro direction
2. BOS / CHoCH — Smart Money market structure break or character change
3. Liquidity Sweep — confirms a sweep of resting liquidity before the move
4. Order Block — price interacting with an unmitigated demand or supply zone
5. Fair Value Gap — price filling or reclaiming a 3-candle imbalance
6. Volume Flow — above-average volume with directional confirmation and optional OBV slope
7. Smart Trail — ATR-based trailing direction filter
8. Momentum — RSI threshold with optional divergence filter
9. Session / Kill Zone — trades only during enabled NY or London windows, configurable by day of week
Exit logic:
TP1 (default 1R) exits 50% of the position and shifts stop to breakeven. TP2 (default 2R) closes the
remainder. After TP1, the Smart Trail optionally manages the stop for extended runners.
Prop firm risk controls:
Daily max loss, weekly max loss, max trades per day, consecutive loss cap, and optional profit targets —
all enforce a lockout that blocks new entries when limits are breached.
Dashboard displays live scores, HTF trend, ORB status, session state, daily/weekly P&L, risk lockout
status, and position info directly on the chart.
instruments — MNQ, MES, NQ, and YM — using a 9-condition confluence scoring system that requires a minimum
of 6 conditions to align before any trade is taken.
How it works:
Price must break the opening range high (long) or low (short), then pass a multi-layer filter:
1. HTF Trend — 15-minute dual EMA confirms macro direction
2. BOS / CHoCH — Smart Money market structure break or character change
3. Liquidity Sweep — confirms a sweep of resting liquidity before the move
4. Order Block — price interacting with an unmitigated demand or supply zone
5. Fair Value Gap — price filling or reclaiming a 3-candle imbalance
6. Volume Flow — above-average volume with directional confirmation and optional OBV slope
7. Smart Trail — ATR-based trailing direction filter
8. Momentum — RSI threshold with optional divergence filter
9. Session / Kill Zone — trades only during enabled NY or London windows, configurable by day of week
Exit logic:
TP1 (default 1R) exits 50% of the position and shifts stop to breakeven. TP2 (default 2R) closes the
remainder. After TP1, the Smart Trail optionally manages the stop for extended runners.
Prop firm risk controls:
Daily max loss, weekly max loss, max trades per day, consecutive loss cap, and optional profit targets —
all enforce a lockout that blocks new entries when limits are breached.
Dashboard displays live scores, HTF trend, ORB status, session state, daily/weekly P&L, risk lockout
status, and position info directly on the 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.