User Manual & Setup Guide - Gold News AI

10 September 2025, 08:49
Michael Schuster
0
77

Overview

Gold News AI is an advanced, AI-powered Expert Advisor designed specifically for XAUUSD (Gold/USD) trading. The system leverages cutting-edge artificial intelligence to analyze real-time news, economic data, and market sentiment to make informed trading decisions.

🏆Key Technical Specifications

  • Version: 2.06
  • Compatible with: MetaTrader 5
  • Trading Pair: XAUUSD (Gold/USD) - Optimized specifically for Gold trading
  • Developer: Michael Schuster

🤖AI-Powered Analysis

Integration with OpenAI GPT and Anthropic Claude models for real-time market intelligence.

📰News Research

Automated scanning of financial news, economic indicators, and central bank communications.

📊Technical Integration

Combines AI insights with technical indicators for enhanced decision accuracy.

🛡️Risk Management

Multiple stop-loss modes, trailing stops, and intelligent position sizing.

🔄Recovery System

Optional intelligent recovery mechanism for drawdown situations.

🎛️Professional Dashboard

Real-time monitoring of all trading activities and AI analysis results.

📋System Requirements

💻MetaTrader 5 Requirements

  • MetaTrader 5 build 3815 or higher
  • Windows 10/11 or Windows Server 2019/2022
  • Minimum 4GB RAM, 8GB recommended
  • Stable internet connection (for AI API calls)

🏢Broker Requirements

  • ECN/STP broker with low spreads on XAUUSD
  • Maximum spread recommendation: 300 points (3.0 pips)
  • Minimum leverage: 1:100
  • Hedging allowed (if using hedging features)

💰Account Requirements

  • Minimum account balance: $500 USD
  • Recommended: $2,000+ USD for optimal performance
  • Currency: USD (optimized for USD accounts)

🔧Installation Guide

Step 1: Download and Install Files

  1. Download the Expert Advisor files from MQL5 Market in Meta Trader market section

Step 2: Configure Web Requests (CRITICAL)

⚠️This step is mandatory for AI functionality!

  1. Open MetaTrader 5
  2. Go to: Tools → Options → Expert Advisors
  3. Enable: "Allow WebRequest for listed URL"
  4. Add these URLs to the allowed list:
  5. Click "OK" to save settings

❗ Important: Without proper WebRequest configuration, the AI features will not work!

Step 3: Attach EA to Chart

  1. Open XAUUSD chart (any timeframe - EA manages its own analysis timeframes)
  2. Drag Gold News AI  from Navigator → Expert Advisors to the chart
  3. In the EA settings dialog, configure parameters (see Configuration section)
  4. Enable: "Allow live trading"
  5. Click "OK"

🤖AI API Setup & Configuration

Supported AI Providers

The system supports two premium AI providers:

🧠OpenAI (GPT Models)

  • GPT-4.1-mini (Recommended - Cost-effective)
  • GPT-4.1 (Premium performance)
  • GPT-5 series (Experimental)

🎯Anthropic (Claude Models)

  • Claude Sonnet 4 (Recommended - Balanced performance)
  • Claude Opus 4.1 (Maximum capability)

Getting API Keys

🔑OpenAI API Key Setup:

  1. Visit: https://platform.openai.com/
  2. Sign up or log in to your account
  3. Go to: API → API Keys
  4. Click: "Create new secret key"
  5. Name your key: "Gold News AI Trading"
  6. Copy the key (starts with sk- )
  7. Add billing method in Billing section
  8. Set usage limits (recommended: $50-100/month)

🔑Anthropic Claude API Key Setup:

  1. Visit: https://console.anthropic.com/
  2. Sign up or log in to your account
  3. Go to: Settings → API Keys
  4. Click: "Create Key"
  5. Name your key: "Gold News AI Trading"
  6. Copy the key (starts with sk-ant- )
  7. Add payment method and set usage limits

💰API Cost Estimation (60-minute intervals)

Based on current API pricing (September 2025):

AI Provider Input Cost Output Cost Per Research Daily Cost Monthly Cost
OpenAI GPT-4.1-mini
(Recommended)
$0.15/1M tokens $0.60/1M tokens ~$0.005-0.015 ~$0.12-0.36 ~$3.60-10.80
Claude Sonnet 4
(Premium)
$3.00/1M tokens $15.00/1M tokens ~$0.02-0.06 ~$0.48-1.44 ~$14.40-43.20
Dual AI Mode
(Both providers)
Combined costs ~$0.60-1.80 ~$18-54


💡Cost Optimization Tips:

  • Start with 60-120 minute intervals to reduce costs
  • Use GPT-4.1-mini for cost-effective operation
  • Monitor API usage in provider dashboards
  • Set billing alerts to control spending

⚙️Configuration Parameters

AI API Settings

Parameter Description Recommended Value
AI_Provider Primary AI service OPENAI (for cost) or ANTHROPIC (for quality)
UseDualAI Use both AI providers false (start with single AI)
API_Key Primary AI API key Your OpenAI or Claude key
Claude_API_Key Claude API key (if dual AI) Your Claude key (if using dual AI)
OpenAI_Model OpenAI model selection GPT_4_1_MINI (cost-effective)
Claude_Model Claude model selection CLAUDE_SONNET_4 (balanced)

Trading Settings

Parameter Description Recommended Value Range
MagicNumber Unique EA identifier 12345 Any unique number
LotSizeMode Position sizing method FIXED_LOT (beginners) FIXED_LOT / AUTO_LOT
FixedLotSize Fixed lot size 0.01 0.01-1.0
MaxRisk Max risk per trade (%) 2.0 1.0-5.0
MaxTrades Max positions per trend 3 1-10 (0=unlimited)
MinimumDistance Min distance between positions 150 pips 50-500 pips
ResearchInterval AI research frequency 60 minutes 30-240 minutes
MaxSpread Maximum allowed spread 300 points 100-500 points

Stop Loss Configuration

Parameter Description Recommended Value
StopLossMode SL calculation method TECHNICAL_INDICATOR
StopLossPips Fixed SL (if using fixed mode) 200 pips
SL_TimeFrame Timeframe for High/Low SL TF_30_DAYS
SL_Buffer Buffer from High/Low 25 pips
ATRPeriod ATR period for technical SL 14
ATRMultiplier ATR multiplier 2.5

Trailing Stop Settings

Parameter Description Recommended Value
UseTrailingStop Enable trailing stops true (recommended)
TrailingStopPips Trailing distance 25 pips
TrailingStepPips Trailing step size 5 pips
TrailingStartPips Start trailing after profit 30 pips
BreakevenTrailing Move to breakeven first true

Advanced Features (Optional)

🔄Recovery System

  • EnableRecovery: false (for beginners)
  • RecoveryDDStart: 5.0 (account currency)
  • RecoveryVolume: 0.03 (first recovery lot)
  • RecoveryStep: 20000 points

🛡️Hedging System

  • EnableHedging: false (for beginners)
  • HedgingMinLoss: 50.0 (account currency)
  • HedgingVolumePct: 50.0%

🎛️Dashboard Overview

The EA includes a professional real-time dashboard displaying:

📊Main Information Panel

  • AI Research Status: Current research state
  • AI Model Status: Active AI models and connection status
  • Next Research Countdown: Time until next analysis
  • Active Trades: Current number of positions
  • Last AI Decision: Most recent trading recommendation

🔍Analysis Results Panel

  • Latest News: Key market-moving events
  • AI Reasoning: Decision logic and market analysis
  • Technical Confirmation: Technical analysis alignment
  • Trend Conflicts: Alerts when AI and technical analysis disagree

📈Position Monitoring

  • Trailing Stop Status: Individual position tracking
  • Recovery System: Recovery trades and P&L
  • Hedging Status: Active hedges and performance

📊Trading Strategy & Logic

AI Research Process

1. 📰News Scanning

Real-time analysis of financial news sources:

  • Federal Reserve policy and interest rate decisions
  • Geopolitical events affecting safe-haven demand
  • Inflation data (CPI/PPI) and economic indicators
  • USD strength/weakness analysis
  • Central bank activities and gold reserves

2. 📈Forecast Analysis

Economic predictions vs. actual results:

  • NFP (Non-Farm Payrolls) forecasts vs. actual
  • CPI inflation expectations vs. reality
  • Fed interest rate decision forecasts
  • GDP growth forecasts and revisions

3. 🧠AI Decision Making

Multi-factor analysis producing:

  • Trend Direction: BULLISH/BEARISH/NEUTRAL
  • Strength Rating: 1-10 confidence level
  • Take Profit Target: Recommended TP in pips
  • Stop Loss Recommendation: AI-calculated SL (if enabled)

Position Management

📥Entry Logic

  • AI trend confirmation required
  • Technical analysis alignment (if enabled)
  • Spread and market condition checks
  • Risk management validation
  • Maximum position limits respected

📤Exit Logic

  • Take profit targets based on AI analysis
  • Stop loss protection (multiple modes available)
  • Trailing stop optimization
  • Recovery system activation (if enabled)
  • Hedging triggers (if enabled)

🔍Monitoring & Optimization

Daily Monitoring Checklist

🌅Morning (Market Open):

  • Check AI research status in dashboard
  • Verify API key functionality
  • Review overnight news impact
  • Confirm spread conditions
  • Check active positions

📊During Trading:

  • Monitor dashboard for trend changes
  • Watch for technical conflicts
  • Review trailing stop performance
  • Check recovery system status (if enabled)

🌙Evening (Market Close):

  • Review daily performance
  • Check API usage and costs
  • Analyze trade decisions
  • Plan for next session

Performance Optimization

🎯For Better Accuracy

  • Use Dual AI mode (higher cost, better consensus)
  • Enable trend confirmation
  • Reduce research intervals (30-60 minutes)
  • Use Claude Opus 4.1 for maximum intelligence

💰For Cost Efficiency

  • Use GPT-4.1-mini model
  • Increase research intervals (90-120 minutes)
  • Disable dual AI mode
  • Set strict API usage limits

🛡️For Risk Management

  • Start with small fixed lot sizes (0.01)
  • Enable trailing stops
  • Use technical stop loss mode
  • Limit maximum concurrent trades

🚨Troubleshooting Guide

Common Issues & Solutions

⚠️"AI connection failed - Technical mode"

Cause: API key issues or WebRequest not configured

Solution:

  1. Verify API keys are correctly entered
  2. Check WebRequest URLs are added to MT5
  3. Ensure API billing is active
  4. Test API connection in provider dashboard

⚠️"WebRequest failed" errors

Cause: URLs not in allowed list

Solution:

  1. Open Tools → Options → Expert Advisors
  2. Add both URLs to WebRequest list:
  3. Restart MetaTrader 5

⚠️"Insufficient margin" errors

Cause: Account balance too low or lot size too high

Solution:

  1. Reduce FixedLotSize parameter
  2. Increase account balance
  3. Check broker margin requirements
  4. Use AUTO_LOT mode with lower MaxRisk

⚠️No trades being placed

Possible Causes & Solutions:

  1. Spread too high: Reduce MaxSpread parameter
  2. No AI signal: Check research status in dashboard
  3. Market closed: Verify trading hours
  4. Risk limits: Check maximum trades and distance settings
  5. Symbol issues: Ensure running on XAUUSD chart

⚠️High API costs

Cost Reduction Strategies:

  1. Increase ResearchInterval to 120+ minutes
  2. Switch to GPT-4.1-mini model
  3. Disable dual AI mode
  4. Set API usage limits in provider dashboard

📈Best Practices for Success

💼Account Management

  • Start Small: Begin with minimum lot sizes
  • Gradual Scaling: Increase position sizes as you gain confidence
  • Diversification: Don't risk more than 2-5% per trade
  • Regular Monitoring: Check performance weekly

🤖AI Usage Optimization

  • Model Selection: Start with recommended models
  • Interval Tuning: Find balance between cost and performance
  • Trend Confirmation: Enable for additional validation
  • Cost Monitoring: Set up billing alerts

🛡️Risk Management

  • Always Use Stop Losses: Never disable SL protection
  • Enable Trailing Stops: Protect profits automatically
  • Monitor Drawdown: Use recovery system conservatively
  • Stay Updated: Keep EA and MT5 updated

📊Market Conditions

  • Best Performance: During high-impact news events
  • Caution Periods: Major central bank announcements
  • Avoid: Low liquidity periods (holidays, weekends)
  • Optimal Timeframes: Most effective during EU/US overlap

⚖️Risk Disclaimer

Important Risk Warning:

Forex and Gold trading involves substantial risk of loss and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange or precious metals, you should carefully consider your investment objectives, level of experience, and risk appetite.

🤖AI Trading Risks:

  • AI predictions are not guaranteed to be accurate
  • Market conditions can change rapidly
  • API failures may interrupt trading decisions
  • Past performance does not guarantee future results

💡Usage Recommendations:

  • Test thoroughly on demo accounts first
  • Start with minimal risk and lot sizes
  • Monitor performance regularly
  • Never risk more than you can afford to lose
  • Keep API costs within reasonable limits

Educational Purpose: This Expert Advisor is provided for educational and research purposes. Users are responsible for their own trading decisions and risk management.