Dark knight ea v1
- Experts
- Chinthala Baji
- 버전: 1.0
- 활성화: 5
🌑 DARK KNIGHT EA — Intelligent Trend Following Expert Advisor
Dark Knight EA is a fully automated Expert Advisor built on a battle-tested dual EMA crossover strategy reinforced by an RSI trend filter. It trades any MT5 symbol — Forex pairs, Gold, Silver, Indices, and Crypto — with precision risk management built in from the ground up.
No martingale. No grid. No gambling. Pure trend following with controlled risk per trade.
⚔️ HOW IT WORKS
Dark Knight identifies high-probability trade entries using three confirming conditions that must all align before a trade is placed:
Layer 1 — EMA Cross Signal The Fast EMA (default 8) crosses above or below the Slow EMA (default 21), signalling a shift in short-term momentum.
Layer 2 — Trend Filter Price must be on the correct side of the Trend EMA (default 50), confirming the trade aligns with the dominant market direction.
Layer 3 — RSI Confirmation The RSI must ben bullish territory for BUY trades and bearish territory for SELL trades, filtering out low-quality signals and avoiding overbought/oversold traps.
All three conditions must agree. No signal fires unless the trend, the momentum cross, and the RSI all point in the same direction.
🛡️ RISK MANAGEMENT
- Percentage-based lot sizing — risk a fixed % of account balance per trade (default 1.5%)
- Automatic Stop Loss — calculated in pips, placed on every trade
- Automatic Take Profit — optional fixed TP in pips
- Trailing Stop — locks in profit as the trade moves in your favour
- Max trades limit — prevents overexposure on a single symbol
- No Martingale, No Grid — each trade stands alone
📊 FEATURES
- Works on all MT5 symbols: Forex, XAUUSD (Gold), XAGUSD (Silver), US30, NAS100, Crypto
- Fully configurable EMA, RSI, SL, TP, and trailing parameters
- Session time filter — trade only during preferred market hours
- Built-in live dashboard showing signal status, indicator values, open trade P&L, and session stats
- Popup, Push Notification, and Email alerts on trade open
- Auto broker compatibility — detects and applies the correct order filling mode (FOK/IOC/RETURN) automatically
- Magic number support for multi-EA setups
- Clean, well-structured code with no DLL dependencies
⚙️ INPUT PARAMETERS
| Group | Parameter | Default | Description |
|---|---|---|---|
| EMA | Fast EMA | 8 | Fast signal EMA |
| EMA | Slow EMA | 21 | Slow signal EMA |
| EMA | Trend EMA | 50 | Trend filter EMA |
| RSI | RSI Period | 14 | RSI calculation period |
| RSI | RSI Buy Min | 50 | Minimum RSI for BUY |
| RSI | RSI Sell Max | 50 | Maximum RSI for SELL |
| RSI | Overbought | 75 | Block BUY above this level |
| RSI | Oversold | 25 | Block SELL below this level |
| Risk | Risk % | 1.5% | Account risk per trade |
| Risk | Stop Loss | 30 pips | SL distance |
| Risk | Take Profit | 60 pips | TP distance (0 = off) |
| Risk | Trailing | ON | Enable trailing stop |
| Risk | Trail Start | 20 pips | Pips profit before trailing activates |
| Risk | Trail Step | 10 pips | Trailing step size |
| Filter | Require Cross | ON | Require actual EMA cross (not just alignment) |
| Filter | Require Trend | ON | Require price above/below Trend EMA |
| Filter | Max Trades | 1 | Max open positions per symbol |
| Session | Session Filter | OFF | Enable time-based trading hours |
| Session | Start Hour | 7 | Session open (server time) |
| Session | End Hour | 20 | Session close (server time) |
📱 LIVE DASHBOARD
Dark Knight EA includes a fully built-in on-chart dashboard displaying:
- Symbol and timeframe
- Live account balance and equity
- Current signal direction (BUY / SELL / WAITING)
- Fast EMA, Slow EMA, Trend EMA values
- RSI value with colour-coded levels
- Open trade position type and lot size
- Floating P&L of open trade
- Session trade statistics: Buys, Sells, Wins, Losses, Net P&L
🔧 RECOMMENDED SETTINGS
Forex (EURUSD, GBPUSD, USDJPY): Timeframe: H1 | SL: 30 pips | TP: 60 pips | Risk: 1.5%
Gold (XAUUSD): Timeframe: H1 | SL: 150 pips | TP: 300 pips | Risk: 1.0%
Indices (US30, NAS100): Timeframe: H1 | SL: 50 pips | TP: 100 pips | Risk: 1.0%
Conservative mode: Risk: 1.0% | Require Cross: ON | Require Trend: ON | Max Trades: 1
Active mode: Risk: 2.0% | Require Cross: OFF | Require Trend: ON | Max Trades: 2
✅ REQUIREMENTS
- MetaTrader 5 (build 2755 or higher)
- Any broker with MT5 support
