✅ Complete Expert Advisor with AI intelligence ✅ Professional MQL5 library structure ✅ Advanced risk management and trade execution ✅ Comprehensive installation documentation 🎯 MQL5 Features: - Conviction-based trading intelligence - Probability-driven position sizing (Kelly Criterion) - Market edge strength analysis - Dynamic TP/SL management based on risk scenarios - AI-powered market narratives dashboard - Multi-layered risk management system 📦 Installation: - Copy RevolutionaryAI_EA_FINAL.mq5 to MQL5/Experts/ - Copy Include/ folder to MQL5/Include/ - Compile and attach to chart - Works standalone - no external dependencies required 🧠 Built for the MQL5 community with professional standards Co-Authored-By: Claude <noreply@anthropic.com>
7 KiB
7 KiB
📋 Revolutionary AI EA - Installation Guide
🚀 QUICK INSTALLATION (5 Minutes)
Step 1: Download Files
Clone or download this repository from MQL5 Algo Forge:
https://forge.mql5.io/salman0985/mql5
Step 2: Locate Your MQL5 Data Folder
In MetaTrader 5:
- Go to File → Open Data Folder
- Navigate to MQL5 folder
Step 3: Copy Files
Main Expert Advisor:
Copy: RevolutionaryAI_EA_FINAL.mq5
To: MQL5/Experts/RevolutionaryAI_EA_FINAL.mq5
Include Library Files:
Copy: Include/ (entire folder)
To: MQL5/Include/
Your MQL5/Include folder should now contain:
MQL5/Include/
├── AI/AIIntegrationManager.mqh
├── Dashboard/SimplifiedStoryDashboard.mqh
├── Indicators/IndicatorEngine.mqh
├── Trade/TradeManager.mqh
├── Trade/RiskManager.mqh
└── Utils/JAson.mqh
Optional Alternative EAs:
Copy: Experts/RevolutionaryAI/ (entire folder)
To: MQL5/Experts/RevolutionaryAI/
Step 4: Compile the EA
- Open MetaEditor (Press F4 in MT5)
- In Navigator, expand Experts
- Double-click RevolutionaryAI_EA_FINAL.mq5
- Press F7 or click Compile button
- Check for 0 errors, 0 warnings ✅
Step 5: Restart MetaTrader 5
Close and restart MT5 to ensure all files are properly loaded.
🎯 FIRST-TIME SETUP
Step 1: Attach EA to Chart
- Open any chart (EURUSD recommended for testing)
- In Navigator → Expert Advisors
- Drag RevolutionaryAI_EA_FINAL onto the chart
- EA parameters dialog will appear
Step 2: Configure Basic Settings
🚀 Revolutionary AI Settings:
├── EnableAutoTrading = true ← Enable automatic trading
├── RiskPerTrade = 1.0 ← Start with 1% risk (conservative)
├── MaxDailyLoss = 3.0 ← 3% daily loss limit
├── MinConfidence = 80 ← High confidence trades only
└── ServerURL = "http://localhost:8000" ← Leave default (optional)
⚡ Advanced Settings:
├── EnableDashboard = true ← Enable AI dashboard
├── AnalysisInterval = 300 ← Analysis every 5 minutes
└── RiskCheckInterval = 60 ← Risk check every minute
Step 3: Enable AutoTrading
- In MT5 toolbar, click AutoTrading button (should turn green)
- If red, click it to enable automated trading
Step 4: Monitor Initialization
Check the Expert Advisors tab (bottom of MT5) for:
✅ "Revolutionary AI Intelligence System v4.0 FINAL - Starting Intelligence Systems"
✅ "Core components initialized successfully"
✅ "Revolutionary AI Intelligence System v4.0 FINAL - All Systems Online"
🔧 ADVANCED CONFIGURATION
Risk Management Settings:
// Conservative (Beginners)
RiskPerTrade = 0.5 // 0.5% per trade
MaxDailyLoss = 2.0 // 2% daily limit
MinConfidence = 85 // Very high confidence only
// Balanced (Intermediate)
RiskPerTrade = 1.5 // 1.5% per trade
MaxDailyLoss = 4.0 // 4% daily limit
MinConfidence = 75 // Balanced confidence
// Aggressive (Experienced)
RiskPerTrade = 2.5 // 2.5% per trade
MaxDailyLoss = 6.0 // 6% daily limit
MinConfidence = 70 // More trade opportunities
Time-Based Settings:
AnalysisInterval = 180 // Faster analysis (3 minutes)
AnalysisInterval = 600 // Slower analysis (10 minutes)
RiskCheckInterval = 30 // More frequent risk checks
RiskCheckInterval = 120 // Less frequent risk checks
📊 MONITORING YOUR EA
Real-Time Monitoring:
- Expert Advisors Tab - Initialization and error messages
- Journal Tab - Detailed trading logic and analysis
- Chart Dashboard - AI intelligence display (if enabled)
- Terminal → Trade - Active positions and orders
Key Messages to Watch For:
🧠 "Performing Revolutionary Intelligence Analysis..."
🎯 "Intelligence Report: Signal: BUY, Conviction: STRONG..."
✅ "INTELLIGENT TRADE EXECUTED: Ticket: 12345..."
🚨 "Risk management check passed"
Warning Messages:
🚫 "Conviction too low: WEAK"
🚫 "Success probability too low: 45%"
🚨 "Daily loss limit reached: -3.5%"
⚠️ "AI Server offline - using built-in analysis"
🛠️ TROUBLESHOOTING
Common Issues:
❌ "Include file not found" Error
Solution: Ensure Include/ files are copied to correct location:
MQL5/Include/AI/AIIntegrationManager.mqh
MQL5/Include/Trade/TradeManager.mqh
etc.
❌ "AutoTrading disabled" Message
Solution:
- Click AutoTrading button in MT5 toolbar
- Check if your broker allows automated trading
- Verify account permissions
❌ "No trades being executed"
Possible causes:
- MinConfidence too high - Lower to 70-75
- Market conditions - EA waits for high-conviction opportunities
- Risk limits reached - Check daily loss limits
- Spread too wide - Test on major pairs with tight spreads
❌ "Dashboard not appearing"
Solution:
- Ensure
EnableDashboard = true
- Check if chart has sufficient space
- Try refreshing chart (F5)
🎯 TESTING RECOMMENDATIONS
Demo Testing (Mandatory):
- Install on demo account first
- Run for minimum 1 week
- Monitor all features and settings
- Verify risk management works correctly
Paper Trading Settings:
RiskPerTrade = 0.1 // Very small risk for testing
MaxDailyLoss = 0.5 // Small loss limit
MinConfidence = 90 // Very conservative
EnableDashboard = true // Monitor all decisions
Backtesting:
- Strategy Tester in MT5 (Ctrl+R)
- Select RevolutionaryAI_EA_FINAL
- Test on EURUSD H1 for reliable results
- Run for 3-6 months of historical data
📞 SUPPORT
Getting Help:
- Check Journal tab for detailed error messages
- Review this installation guide for common solutions
- Test in demo environment first
- Contact via MQL5 community for additional support
Reporting Issues:
When reporting problems, please include:
- MT5 build version
- EA settings used
- Error messages from Journal tab
- Symbol and timeframe tested
- Account type (demo/live)
✅ INSTALLATION CHECKLIST
- Files copied to correct MQL5 directories
- EA compiles without errors (0 errors, 0 warnings)
- AutoTrading enabled in MT5
- EA attached to chart successfully
- Initialization messages appear in Expert Advisors tab
- Dashboard appears on chart (if enabled)
- Risk settings configured appropriately
- Demo testing completed
- Ready for live trading
🎉 Congratulations! Your Revolutionary AI Trading System is now ready to trade intelligently!
Remember: Always start with demo testing and conservative settings.