Automated multi-confluence trading bot for MetaTrader 5 with ATR-based risk management, trailing stops, and a real-time on-chart dashboard.
-
7-Point Confluence Engine — Signals require agreement from multiple indicators before entering:
- EMA Crossover (Fast/Slow with trend filter)
- RSI (Overbought/Oversold bounce detection)
- MACD (Histogram crossover confirmation)
- Bollinger Bands (Band touch reversal)
- ADX (Trend strength filter)
- Stochastic (K/D crossover in extremes)
- Price Action (Engulfing candle patterns)
-
Smart Risk Management
- Percentage-based or fixed lot sizing
- ATR-based dynamic Stop Loss / Take Profit
- Trailing stop (ATR or fixed)
- Auto break-even
-
Trade Filters
- Max spread filter
- Trading hours restriction
- Max simultaneous positions limit
- Day-of-week filters (Sunday/Friday)
-
Live Dashboard
- Trend direction and signal status
- All 7 sub-signal statuses
- RSI, ATR, ADX values
- Open positions, floating P/L, win rate, spread
- Toggle with
Dkey
-
Alerts
- Popup, sound, push notification, and email
- Configurable cooldown to prevent spam
-
Emergency Controls
- Press
Xto close all positions instantly
- Press
- Copy files into your MT5 data folder:
MQL5/
├── Experts/
│ └── SwiftAlgoBot.mq5 ← Main EA file
└── Include/
├── SignalEngine.mqh ← Signal confluence engine
├── TradeManager.mqh ← Trade execution & risk
├── Dashboard.mqh ← On-chart dashboard
└── AlertSystem.mqh ← Alert manager
-
Find your MT5 data folder: In MetaTrader 5, go to
File → Open Data Folder -
Copy the files:
Experts/SwiftAlgoBot.mq5→MQL5/Experts/SwiftAlgoBot.mq5- All files from
Include/→MQL5/Include/(or a subfolder likeMQL5/Include/SwiftAlgo/)
-
In MetaEditor, open
SwiftAlgoBot.mq5and press Compile (F7) -
In MT5, refresh the Navigator panel (
Ctrl+N), find SwiftAlgoBot under Expert Advisors -
Drag it onto a chart. Configure the input parameters and click OK.
-
Make sure Algo Trading is enabled (the button on the toolbar).
| Parameter | Scalping (M5-M15) | Swing (H1-H4) | Position (D1) |
|---|---|---|---|
| EMA Fast | 5 | 9 | 9 |
| EMA Slow | 13 | 21 | 21 |
| EMA Trend | 34 | 50 | 100 |
| Min Confluence | 4 | 3 | 3 |
| SL Multiplier | 1.0 | 1.5 | 2.0 |
| TP Multiplier | 1.5 | 2.5 | 3.0 |
| Risk % | 0.5 | 1.0 | 1.5 |
| Max Spread | 15 | 30 | 50 |
- Open the Strategy Tester (
Ctrl+R) - Select SwiftAlgoBot
- Set your symbol, timeframe, and date range
- Choose Every tick based on real ticks for best accuracy
- Configure inputs in the Inputs tab
- Click Start
- Always test on a demo account first
- Start with Min Confluence = 4 for more conservative entries
- The bot only trades when the confluence score meets or exceeds your threshold
- Higher confluence = fewer but higher-quality trades
- ATR-based stops automatically adapt to volatility
- The dashboard updates every second to minimize CPU usage
| Key | Action |
|---|---|
D |
Toggle dashboard on/off |
X |
Emergency close all positions |
For personal use. Trade at your own risk. No guarantees of profit.