🔧 MetaTrader 5 WebRequest Setup {#mt5-webrequest-setup}
⚠️ CRITICAL: With out correct WebRequest setup, the AI options will NOT work!
Step 1: Open MetaTrader 5 Choices
- Open MetaTrader 5
- Go to Instruments → Choices (or press Ctrl+O )
- Click on on the Knowledgeable Advisors tab
Step 2: Allow WebRequest
- ✅ Test “Permit WebRequest for listed URL”
Step 3: Add Required URLs
Within the URL listing, add the next URLs precisely as proven:
Step 4: Apply Settings
- Click on OK to avoid wasting settings
- Restart MetaTrader 5 fully
- Confirm URLs are nonetheless listed after restart
🚨 Widespread WebRequest Points
- URLs have to be added with out trailing slashes
- HTTPS is required (not HTTP)
- Case-sensitive – copy precisely as proven
- Should restart MT5 after including URLs
🤖 AI API Keys Setup {#ai-api-keys-setup}
🔵 Claude (Anthropic) API Setup
Price: $15-20/month for reasonable utilization
Step 1: Create Account
- Go to console.anthropic.com
- Click on “Signal Up” or “Get Began”
- Create account with e mail/password
- Confirm your e mail handle
Step 2: Add Billing Info
- Go to Billing part
- Add bank card or cost technique
- Add preliminary credit score ($5-20 advisable)
- Set spending limits if desired
Step 3: Generate API Key
- Navigate to API Keys part
- Click on “Create Key”
- Give it a descriptive title (e.g., “MT5 Buying and selling”)
- Copy the API key (begins with sk-ant- )
- Save instantly – you can’t view it once more!
Step 4: Take a look at API Key
- Take a look at with a small question first
- Monitor utilization within the console
- Set billing alerts
🟢 OpenAI API Setup
Price: $10-30/month for reasonable utilization
Step 1: Create Account
- Go to platform.openai.com
- Click on “Join”
- Create account or use Google/Microsoft login
- Confirm e mail and cellphone quantity
Step 2: Add Fee Technique
- Go to Billing → Fee strategies
- Add bank card
- Set utilization limits (advisable: $20/month)
- Allow auto-recharge if desired
Step 3: Generate API Key
- Go to API keys part
- Click on “Create new secret key”
- Identify your key (e.g., “Multi AI Advisor”)
- Copy the important thing (begins with sk-proj- or sk- )
- Retailer securely – can’t be considered once more!
🟡 Grok (X.AI) API Setup
Price: $25/month subscription + utilization charges
Step 1: X Premium Account
- You want X Premium or X Premium+ subscription
- Go to x.ai or console.x.ai
- Register along with your X (Twitter) account
- Confirm you’ve got Premium subscription
Step 2: Entry API Console
- Navigate to X.AI console
- Settle for phrases of service
- Full any required verification
Step 3: Generate API Key
- Discover API Keys or Developer part
- Create new API key
- Copy the important thing (format could range)
- Word: Grok API is newer, interface could change
🔴 DeepSeek API Setup
Price: $5-15/month for reasonable utilization
Step 1: Create Account
- Go to platform.deepseek.com
- Click on “Signal Up”
- Use e mail registration
- Confirm e mail handle
Step 2: Add Credit
- Go to Billing or Credit part
- Buy API credit
- Minimal buy normally $5-10
- Monitor credit score utilization
Step 3: Generate API Key
- Navigate to API Keys
- Create new key
- Copy the API key
- Take a look at with small requests first
🟣 Mistral AI API Setup
Price: $8-20/month for reasonable utilization
Step 1: Create Account
- Go to console.mistral.ai
- Join with e mail
- Confirm e mail handle
- Full profile setup
Step 2: Billing Setup
- Add cost technique in Billing
- Buy credit or arrange subscription
- Set spending limits
- Configure utilization alerts
Step 3: API Key Technology
- Go to API Keys part
- Create new API key
- Copy the important thing securely
- Take a look at API connectivity
🦙 Llama (Collectively AI) API Setup
Price: $10-25/month for reasonable utilization
Step 1: Collectively AI Account
- Go to api.collectively.xyz
- Join account
- Confirm e mail
- Full onboarding
Step 2: Credit and Billing
- Add cost technique
- Buy preliminary credit ($10-20)
- Arrange auto-recharge if wanted
- Monitor utilization dashboard
Step 3: API Key Creation
- Entry API Keys part
- Generate new key
- Copy and retailer securely
- Word the important thing format
🔶 Google Gemini API Setup
Price: $0-15/month (has free tier)
Step 1: Google Cloud Account
- Go to aistudio.google.com
- Register with Google account
- Settle for Gemini API phrases
- Full setup wizard
Step 2: Allow Gemini API
- Go to Get API Key part
- Create new API key or use present
- Allow billing if wanted (for larger quotas)
- Set utilization quotas
Step 3: API Key Setup
- Copy your API key
- Take a look at with free tier first
- Monitor utilization in Google Cloud Console
- Improve billing if wanted
⚙️ EA Configuration {#ea-configuration}
Step 1: Set up EA
- Copy Multi_AI_Advisor.ex5 to MQL5/Specialists/ folder
- Restart MetaTrader 5
- Discover EA in Navigator → Knowledgeable Advisors
Step 2: Apply to Chart
- Drag EA onto desired chart
- Knowledgeable Advisor settings window opens
- Configure settings as described beneath
Step 3: API Keys Configuration
Within the AI API Settings part, enter your API keys:
Claude_API_Key = "sk-ant-api03-your-key-here" OpenAI_API_Key = "sk-proj-your-key-here" Mistral_API_Key = "your-mistral-key" Grok_API_Key = "your-grok-key" Deepseek_API_Key = "your-deepseek-key" Together_API_Key = "your-together-key" Gemini_API_Key = "your-gemini-key"
Step 4: AI Choice
Allow solely the AIs you’ve got API keys for:
- ✅ Use_Claude = true (you probably have Claude API key)
- ✅ Use_OpenAI = true (you probably have OpenAI API key)
- ❌ Use_Mistral = false (if no API key)
- and many others.
Step 5: Mannequin Choice
Select cost-effective fashions:
- Claude_Model = 0 (Haiku – least expensive)
- OpenAI_Model = 4 (GPT-4o-Mini – least expensive)
- Begin with cheaper fashions to check
Step 6: Buying and selling Settings
Trade_Lot_Size = 0.01 (minimal dimension for testing) Trade_Take_Profit = 0 (no TP initially) Trade_Stop_Loss = 0 (no SL initially) Query_Interval_Minutes = 15 (reasonable frequency)
Step 7: Allow EA
- ✅ Test “Permit automated buying and selling”
- ✅ Test “Permit DLL imports”
- Click on OK to use settings
🔍 Troubleshooting {#troubleshooting}
Downside: “WebRequest not allowed”
Resolution:
- Double-check all URLs in MT5 Choices
- Guarantee HTTPS (not HTTP)
- Restart MT5 fully
- Test Knowledgeable Advisors tab settings
Downside: “Invalid API Key” errors
Resolution:
- Confirm API secret is copied appropriately (no areas)
- Test if API secret is energetic (not expired)
- Confirm billing/credit can be found
- Take a look at API key in supplier’s console first
Downside: “Price restrict exceeded”
Resolution:
- Enhance Query_Interval_Minutes
- Disable some AI fashions briefly
- Test if you happen to’ve exceeded month-to-month quotas
- Improve API plan if wanted
Downside: “AI Sign: Pending…”
Resolution:
- Test web connection
- Confirm WebRequest URLs are right
- Test MT5 logs for error messages
- Guarantee market is open (AI queries pause when closed)
Downside: Excessive API prices
Resolution:
- Use cheaper fashions (Haiku, GPT-4o-Mini)
- Enhance question intervals
- Disable unused AI providers
- Set spending limits in API consoles
Downside: Dashboard not exhibiting
Resolution:
- Guarantee Show_Dashboard = true
- Test chart zoom degree
- Strive completely different timeframe
- Take away and re-apply EA
🔒 Safety Greatest Practices {#security-best-practices}
API Key Safety
- By no means share API keys with anybody
- Do not put up keys in boards or screenshots
- Use separate keys for various functions
- Rotate keys often (month-to-month/quarterly)
- Set spending limits on all APIs
MetaTrader Safety
- Use robust password for MT5 account
- Allow two-factor authentication if out there
- Maintain MT5 up to date to newest model
- Do not share .set recordsdata containing API keys
Price Administration
- Begin with small limits ($10-20/month)
- Monitor utilization each day initially
- Set billing alerts on all platforms
- Take a look at with one AI earlier than enabling all
- Use demo account for preliminary testing
Knowledge Safety
- API keys are encrypted in EA parameters
- No knowledge saved regionally by EA
- Direct communication with AI suppliers
- No third-party knowledge sharing
💡 Professional Suggestions
Price Optimization
- Begin with Claude Haiku + OpenAI GPT-4o-Mini (least expensive mixture)
- Use 30-60 minute intervals for swing buying and selling
- Disable AI throughout low-volatility intervals
- Monitor prices weekly till you perceive utilization
Efficiency Optimization
- Use sooner timeframes (M15, H1) for higher responsiveness
- Allow solely 2-3 AI fashions initially
- Technical-only mode works nice with out API prices
- Take a look at on demo account first
Greatest Practices
- Guide buying and selling solely – EA supplies evaluation, you resolve
- Begin small – 0.01 tons most initially
- Perceive indicators earlier than rising place dimension
- Maintain buying and selling journal to trace EA sign accuracy
📞 Help & Assets
Getting Assist
- Test this guide first for frequent points
- Assessment MT5 Specialists tab logs for errors
- Take a look at particular person APIs of their consoles
- Contact EA assist with particular error messages
Helpful Hyperlinks
Earlier than Contacting Help
Please present:
- MT5 construct model
- Error messages from Specialists tab
- EA settings (with out API keys!)
- Steps to breed the difficulty
- Working system model
🎯 Keep in mind: Success with Multi AI Advisor is determined by correct setup, understanding the indicators, and disciplined guide buying and selling selections. The EA supplies evaluation – buying and selling selections stay yours!