OPEN-SOURCE SCRIPT
High-Probability Scalper (Market Open)

Market open is where volatility is real, spreads are tight, and momentum shows itself early. This scalping strategy is built specifically to operate during that window, filtering out low-quality signals that usually appear later in the session.
Instead of trading all day, the logic is restricted to the first 90 minutes after market open, where continuation moves and fast pullbacks are more reliable.
What This Strategy Does
This script looks for short-term momentum alignment using:
It’s designed for intraday scalping, not swing trading.
Core Trading Logic
1. Market Open Filter
Trades are allowed only between 09:30 – 11:00 exchange time.
This avoids low-liquidity chop and focuses on the period where most breakouts and reversals form.
2. Trend Confirmation
This keeps trades aligned with short-term direction instead of random entries.
3. Momentum Check (RSI)
RSI is used as a quality filter, not as an overbought/oversold signal.
Long trades only when RSI is strong but not extended
Short trades only when RSI shows weakness without exhaustion
This removes late entries and reduces whipsaws.
Entries & Exits
Entries
Risk Management
This keeps risk consistent across different symbols and volatility levels.
Why This Strategy Works Better at Market Open
By not trading all day, the strategy avoids most of the noise that kills scalpers.
Best Use Cases
What This Strategy Is NOT
It’s a controlled scalping template meant for disciplined execution.
How to Use It Properly
Final Note
This strategy focuses on structure, timing, and risk, not indicator stacking.
If you trade the open, this gives you a clear framework instead of emotional entries.
If you want:
You can extend this logic without breaking the core system.
Instead of trading all day, the logic is restricted to the first 90 minutes after market open, where continuation moves and fast pullbacks are more reliable.
What This Strategy Does
This script looks for short-term momentum alignment using:
- Fast vs slow EMA structure
- RSI confirmation to avoid chasing extremes
- ATR-based risk control
- Session-based filtering to trade only when volume matters
It’s designed for intraday scalping, not swing trading.
Core Trading Logic
1. Market Open Filter
Trades are allowed only between 09:30 – 11:00 exchange time.
This avoids low-liquidity chop and focuses on the period where most breakouts and reversals form.
2. Trend Confirmation
- Bullish bias: 9 EMA crosses above 21 EMA
- Bearish bias: 9 EMA crosses below 21 EMA
This keeps trades aligned with short-term direction instead of random entries.
3. Momentum Check (RSI)
RSI is used as a quality filter, not as an overbought/oversold signal.
Long trades only when RSI is strong but not extended
Short trades only when RSI shows weakness without exhaustion
This removes late entries and reduces whipsaws.
Entries & Exits
Entries
- Executed only on confirmed candles
- No intrabar repainting
- One position at a time
Risk Management
- Stop-loss based on ATR
- Take-profit calculated using a fixed risk–reward ratio
- Same structure for both long and short trades
This keeps risk consistent across different symbols and volatility levels.
Why This Strategy Works Better at Market Open
- Volume is highest
- False breakouts are fewer
- EMA crosses have follow-through
- RSI behaves more cleanly
By not trading all day, the strategy avoids most of the noise that kills scalpers.
Best Use Cases
- Index futures
- High-liquidity stocks
- Major crypto pairs during active sessions
- 1m to 5m timeframes
What This Strategy Is NOT
- Not a martingale
- Not grid-based
- Not designed for ranging markets
- Not a “set and forget” system
It’s a controlled scalping template meant for disciplined execution.
How to Use It Properly
- Test on multiple symbols
- Adjust ATR length for volatility
- Tune RSI ranges per market
- Always forward-test before live alerts
Final Note
This strategy focuses on structure, timing, and risk, not indicator stacking.
If you trade the open, this gives you a clear framework instead of emotional entries.
If you want:
- Alerts
- Session customization
- News filters
- Partial exits
You can extend this logic without breaking the core system.
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.