PROTECTED SOURCE SCRIPT
DewaSMC — Prepare Entry + EMA Alerts

A modern SMC indicator based on Market Structure Breaks (BOS/CHoCH), equipped with a Prepare Entry system, EMA confirmation, and alert signals to improve entry execution accuracy.
✨ Main Features
1. Automatic Market Structure
- Detects swing High/Low with flexible periods.
- Displays BOS ↗/↘ and CHoCH in real-time.
- Candles can be colored according to structural trend direction.
2. Prepare Entry Zone (NEW FEATURE)
Before a BOS occurs, the indicator marks a “PREPARE ENTRY” area when price approaches a structure within a certain percentage radius. Helps traders get ready early before momentum kicks in.
- PREPARE Long when price approaches a High structure.
- PREPARE Short when price approaches a Low structure.
- PREP zones disappear automatically after several candles.
3. EMA Confirmation (NEW FEATURE)
Additional confirmation to filter false breaks:
- Short EMA & long EMA to determine trend direction.
- Option to require both EMAs to be aligned or only short EMA.
- Used for both PREPARE and ENTRY signals.
4. Automatic Entry + Targets
After a valid BOS/CHoCH:
- Entry level is drawn automatically.
- SL automatically calculated using ATR.
- TP1, TP2, TP3 automatically calculated and displayed.
- Visual box: Risk Zone & Reward Zone for quick RRR visualization.
5. Ready-to-Use Alerts
- Alert for PREPARE ENTRY.
- Alert for ENTRY (BOS/CHoCH).
- Static alert messages for TradingView compatibility.
6. Trade Information Table
- When a trade is active, a table is displayed showing:
- Direction (LONG/SHORT)
- Entry
- SL
- TP1/TP2/TP3 + status
- EMA confirmation status
- Risk/Reward Ratio
- All neatly arranged according to selected position.
🎯 Use Case
This indicator is ideal for traders who use:
- Smart Money Concepts (SMC)
- Scalping & Intraday
- Breakout & Retest strategies
- Precision entries requiring multi-signal confirmation
- Traders who want PREPARE ENTRY alerts before BOS occurs
✨ Main Features
1. Automatic Market Structure
- Detects swing High/Low with flexible periods.
- Displays BOS ↗/↘ and CHoCH in real-time.
- Candles can be colored according to structural trend direction.
2. Prepare Entry Zone (NEW FEATURE)
Before a BOS occurs, the indicator marks a “PREPARE ENTRY” area when price approaches a structure within a certain percentage radius. Helps traders get ready early before momentum kicks in.
- PREPARE Long when price approaches a High structure.
- PREPARE Short when price approaches a Low structure.
- PREP zones disappear automatically after several candles.
3. EMA Confirmation (NEW FEATURE)
Additional confirmation to filter false breaks:
- Short EMA & long EMA to determine trend direction.
- Option to require both EMAs to be aligned or only short EMA.
- Used for both PREPARE and ENTRY signals.
4. Automatic Entry + Targets
After a valid BOS/CHoCH:
- Entry level is drawn automatically.
- SL automatically calculated using ATR.
- TP1, TP2, TP3 automatically calculated and displayed.
- Visual box: Risk Zone & Reward Zone for quick RRR visualization.
5. Ready-to-Use Alerts
- Alert for PREPARE ENTRY.
- Alert for ENTRY (BOS/CHoCH).
- Static alert messages for TradingView compatibility.
6. Trade Information Table
- When a trade is active, a table is displayed showing:
- Direction (LONG/SHORT)
- Entry
- SL
- TP1/TP2/TP3 + status
- EMA confirmation status
- Risk/Reward Ratio
- All neatly arranged according to selected position.
🎯 Use Case
This indicator is ideal for traders who use:
- Smart Money Concepts (SMC)
- Scalping & Intraday
- Breakout & Retest strategies
- Precision entries requiring multi-signal confirmation
- Traders who want PREPARE ENTRY alerts before BOS occurs
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ể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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ã đượ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ể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.