OPEN-SOURCE SCRIPT
Swing Momentum Pullback Strategy + Checklist

Swing Momentum Pullback Strategy + Checklist
This indicator is a complete swing trading system designed to help traders identify
trend breakouts and low-risk momentum pullbacks, optimized for the Daily Timeframe.
The script combines a long-term trend filter, automated resistance detection, and
specific entry triggers into a single chart overlay, along with a real-time Strategy
Checklist Dashboard that confirms setups at a glance.
─────────────────────────────────
🎯 CORE COMPONENTS
─────────────────────────────────
▸ Trend Filter (Purple Line)
200-period Simple Moving Average (SMA). Acts as the long-term trend filter.
Long setups are only considered when price is above this line.
▸ Momentum Guide (Orange Line)
8-period Exponential Moving Average (EMA). Tracks short-term momentum.
In strong trends, price tends to "ride" this line. Entries are sought when
price pulls back to test this area.
▸ Multi-Month Resistance Line (Orange Horizontal)
Automatically plots the highest price over a user-defined lookback period (in months).
Instantly visualizes the key resistance level a stock must break out above.
▸ Strategy Checklist Dashboard
A real-time table that evaluates Trend, Resistance, and Momentum conditions to
display a clear ✅ ENTER, 🚀 GAP UP, or ⏳ WAIT signal.
─────────────────────────────────
🛠 HOW IT WORKS — TWO SETUPS
─────────────────────────────────
1. The Daily Gap Up ("GAP" Label)
Fires when a stock gaps up with strong overnight momentum.
• Open is at least X% above the prior day's Close (adjustable, default 3%)
• Open is above the prior day's High
• Price must be above the 200 SMA
→ Marked with a green "GAP" label on the chart
2. The Trend Pullback ("ENTER" Signal)
A trend-following entry to join an existing move at lower risk.
• Stock is in an uptrend (above 200 SMA)
• Price dips down to touch or test the 8 EMA
• Candle shows a pullback (red candle or lower close) — confirms we're buying
a dip, not chasing a top
→ Dashboard "Action Signal" turns orange and displays ✅ ENTER
─────────────────────────────────
📋 CHECKLIST DASHBOARD — READINGS
─────────────────────────────────
Trend (> 200 SMA):
🟢 Bullish — Price is in an uptrend. Safe to look for entries.
🔴 Bearish — Price is below the 200 SMA. Stay out.
Above Resistance?:
🟢 Breakout — Price has cleared the multi-month resistance line.
⚪ --- — Price is currently below the key breakout level.
Near 8 EMA?:
🟢 Yes — Price is near the value zone for a potential pullback entry.
Action Signal:
🚀 GAP UP — Strong momentum gap detected.
✅ ENTER — Valid pullback entry confirmed.
⏳ WAIT — No qualifying setup on the current bar.
─────────────────────────────────
⚙️ SETTINGS
─────────────────────────────────
- Momentum EMA Length — Default: 8. Controls pullback line sensitivity.
- Trend SMA Length — Default: 200. Long-term trend filter period.
- Gap Up % Threshold — Default: 3.0%. Minimum overnight gap to trigger signal.
- Resistance Lookback (Mo.) — Default: 3. Months used to find the key resistance level.
- Table Position — Move the checklist dashboard to any corner of your chart.
─────────────────────────────────
⚠️ DISCLAIMER
─────────────────────────────────
For educational purposes only. Not financial advice.
Always manage your risk and use a stop loss.
This indicator is a complete swing trading system designed to help traders identify
trend breakouts and low-risk momentum pullbacks, optimized for the Daily Timeframe.
The script combines a long-term trend filter, automated resistance detection, and
specific entry triggers into a single chart overlay, along with a real-time Strategy
Checklist Dashboard that confirms setups at a glance.
─────────────────────────────────
🎯 CORE COMPONENTS
─────────────────────────────────
▸ Trend Filter (Purple Line)
200-period Simple Moving Average (SMA). Acts as the long-term trend filter.
Long setups are only considered when price is above this line.
▸ Momentum Guide (Orange Line)
8-period Exponential Moving Average (EMA). Tracks short-term momentum.
In strong trends, price tends to "ride" this line. Entries are sought when
price pulls back to test this area.
▸ Multi-Month Resistance Line (Orange Horizontal)
Automatically plots the highest price over a user-defined lookback period (in months).
Instantly visualizes the key resistance level a stock must break out above.
▸ Strategy Checklist Dashboard
A real-time table that evaluates Trend, Resistance, and Momentum conditions to
display a clear ✅ ENTER, 🚀 GAP UP, or ⏳ WAIT signal.
─────────────────────────────────
🛠 HOW IT WORKS — TWO SETUPS
─────────────────────────────────
1. The Daily Gap Up ("GAP" Label)
Fires when a stock gaps up with strong overnight momentum.
• Open is at least X% above the prior day's Close (adjustable, default 3%)
• Open is above the prior day's High
• Price must be above the 200 SMA
→ Marked with a green "GAP" label on the chart
2. The Trend Pullback ("ENTER" Signal)
A trend-following entry to join an existing move at lower risk.
• Stock is in an uptrend (above 200 SMA)
• Price dips down to touch or test the 8 EMA
• Candle shows a pullback (red candle or lower close) — confirms we're buying
a dip, not chasing a top
→ Dashboard "Action Signal" turns orange and displays ✅ ENTER
─────────────────────────────────
📋 CHECKLIST DASHBOARD — READINGS
─────────────────────────────────
Trend (> 200 SMA):
🟢 Bullish — Price is in an uptrend. Safe to look for entries.
🔴 Bearish — Price is below the 200 SMA. Stay out.
Above Resistance?:
🟢 Breakout — Price has cleared the multi-month resistance line.
⚪ --- — Price is currently below the key breakout level.
Near 8 EMA?:
🟢 Yes — Price is near the value zone for a potential pullback entry.
Action Signal:
🚀 GAP UP — Strong momentum gap detected.
✅ ENTER — Valid pullback entry confirmed.
⏳ WAIT — No qualifying setup on the current bar.
─────────────────────────────────
⚙️ SETTINGS
─────────────────────────────────
- Momentum EMA Length — Default: 8. Controls pullback line sensitivity.
- Trend SMA Length — Default: 200. Long-term trend filter period.
- Gap Up % Threshold — Default: 3.0%. Minimum overnight gap to trigger signal.
- Resistance Lookback (Mo.) — Default: 3. Months used to find the key resistance level.
- Table Position — Move the checklist dashboard to any corner of your chart.
─────────────────────────────────
⚠️ DISCLAIMER
─────────────────────────────────
For educational purposes only. Not financial advice.
Always manage your risk and use a stop loss.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。