Gold News AI - User Manual and Installation Guide

20 October 2025, 20:03
Michael Schuster
0
367

Overview

Gold News AI 2 is an advanced, AI-powered Expert Advisor designed specifically for XAUUSD (Gold/USD) trading. The system leverages cutting-edge artificial intelligence from three major providers to analyze real-time news, economic data, and market sentiment combined with sophisticated multi-timeframe technical analysis to make informed trading decisions.

🏆Key Technical Specifications

  • Version: 2.11
  • Compatible with: MetaTrader 5
  • Trading Pair: XAUUSD (Gold/USD) - Optimized specifically for Gold trading
  • Developer: Michael Schuster
  • Release Date: October 2025

🤖Triple AI-Powered Analysis

Integration with OpenAI GPT, Anthropic Claude, and MoonshotAI Kimi models for real-time market intelligence with consensus-based decision making.

📊Multi-Timeframe Analysis

NEW: Dual timeframe system with higher timeframe trend bias and lower timeframe precise entry signals for institutional-grade trading.

📰Live News Research

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

Advanced Time Management

NEW: Comprehensive day/time filtering with Friday special handling and timeframe-based research synchronization.

🎯Central Indicator System

NEW: Optimized centralized technical indicator management with MA, RSI, Bollinger Bands, and ADX integration.

🛡️Professional Risk Management

Kelly Formula optimization, multiple stop-loss modes, trailing stops, intelligent hedging, and recovery systems.

🔄Recovery & Hedging

Optional intelligent recovery mechanism and hedging system for advanced drawdown management.

🎛️Professional Dashboard

Real-time monitoring of all trading activities, AI analysis results, and multi-timeframe trend alignment.

📋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 (1:500 recommended for recovery system)
  • Hedging allowed (if using hedging features)
  • Universal symbol support: XAUUSD, GOLD, XAU/USD variants

💰Account Requirements

  • Minimum account balance: $500 USD
  • Recommended: $2,000+ USD for optimal performance
  • For Recovery System: $5,000+ USD recommended
  • 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
  2. EA will be automatically installed to correct directory
  3. Restart MetaTrader 5 if necessary

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
  6. Restart MetaTrader 5 to apply changes

❗ Important: Without proper WebRequest configuration, the AI features will not work! The EA can still operate in technical-only mode without APIs.

Step 3: Attach EA to Chart

  1. Open XAUUSD chart (recommended timeframe: M15, M30, or H1 for optimal multi-timeframe analysis)
  2. Drag Gold News AI 2 from Navigator → Expert Advisors to the chart
  3. In the EA settings dialog, configure parameters (see Configuration section)
  4. Enable: "Allow live trading"
  5. Enable: "Allow DLL imports" (if prompted)
  6. Click "OK"
  7. Verify the smiley face icon appears in top-right corner of chart

🤖AI API Setup & Configuration

Supported AI Providers (Triple AI System)

The system supports three premium AI providers with flexible combination options:

🧠OpenAI (GPT Models)

  • GPT-4.1-mini (Recommended - Cost-effective, fast)
  • GPT-4.1 (Premium performance)
  • GPT-5 series (Experimental, cutting-edge)

🎯Anthropic (Claude Models)

  • Claude Sonnet 4.5 (Recommended - Best balance)
  • Claude Sonnet 4 (Fast and efficient)
  • Claude Opus 4.1 (Maximum capability)

🌙MoonshotAI (Kimi Models) - NEW

  • Moonshot-v1-Auto (Recommended - Automatic selection)
  • Moonshot-v1-8k (Standard context)
  • Moonshot-v1-128k (Extended context, cost-effective alternative)

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

🔑MoonshotAI (Kimi) API Key Setup: - NEW

  1. Visit: https://platform.moonshot.cn/
  2. Sign up or log in to your account
  3. Go to: API Keys section
  4. Click: "Create new key"
  5. Name your key: "Gold News AI Trading"
  6. Copy the key
  7. Add payment method (often more cost-effective than OpenAI)

💰API Cost Estimation (60-minute intervals)

Based on current API pricing (October 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.5
(Premium)
$3.00/1M tokens $15.00/1M tokens ~$0.02-0.06 ~$0.48-1.44 ~$14.40-43.20
Kimi v1-128k
(Cost-effective)
~$0.50/1M tokens ~$2.00/1M tokens ~$0.008-0.025 ~$0.19-0.60 ~$5.70-18.00
Dual AI Mode
(Two providers)
Combined costs ~$0.60-1.80 ~$18-54
Triple AI Mode
(All three providers)
Combined costs ~$0.79-2.40 ~$23.70-72

💡Cost Optimization Tips:

  • Start with 60-120 minute intervals to reduce costs
  • Use single AI provider (GPT-4.1-mini or Kimi) for cost-effective operation
  • Kimi offers excellent price/performance ratio as OpenAI alternative
  • Use Dual/Triple AI only for critical trading decisions
  • Monitor API usage in provider dashboards
  • Set billing alerts to control spending
  • Use timeframe-based research mode to reduce unnecessary API calls

📊Multi-Timeframe Analysis System - NEW

Gold News AI 2 introduces a sophisticated dual timeframe analysis system for institutional-grade trading precision:

How It Works

📈Higher Timeframe (HTF)

Purpose: Identifies overall market trend bias

  • Provides primary trend direction
  • Filters against counter-trend trades
  • Typical settings: H4, H1, or D1
  • Updates less frequently (more stable)

📉Lower Timeframe (LTF)

Purpose: Identifies precise entry timing

  • Finds optimal entry points
  • Provides fine-tuned signals
  • Typical settings: M15, M30, or H1
  • Updates more frequently (responsive)

Timeframe Combinations

The system validates proper timeframe ratios (4:1 or 5:1 recommended):

HTF (Trend) LTF (Entry) Ratio Best For
H4 M15 16:1 Swing trading, news-based entries
H4 H1 4:1 Position trading, lower frequency
H1 M15 4:1 Day trading (Recommended)
H1 M5 12:1 Active day trading
D1 H4 6:1 Long-term position trading

Configuration Parameters

  • HigherTimeframe: Select HTF for trend bias (M5, M15, M30, H1, H4, D1)
  • LowerTimeframe: Select LTF for entries (M5, M15, M30, H1, H4, D1)
  • RequireHTFAlignment: True = Trade only with HTF trend (safer), False = Allow LTF signals regardless

💡Best Practices:

  • Beginners: Use H4/M15 with RequireHTFAlignment=true
  • Day Traders: Use H1/M15 or H1/M5
  • Swing Traders: Use D1/H4 or H4/H1
  • News Trading: Use H4/M15 for best news-based entries

🎯Central Indicator System - NEW

Version 2.11 introduces a revolutionary centralized indicator management system for optimal performance:

What's New

  • Single Calculation Point: All indicators calculated once per timeframe
  • No Redundancy: Eliminates duplicate calculations
  • Better Performance: Reduced CPU usage and faster execution
  • Unified Data: All modules use same indicator values
  • Easy Maintenance: Centralized parameter management

Integrated Technical Indicators

📈Moving Averages (MA)

  • Fast MA: Default 21 period
  • Slow MA: Default 150 period
  • Methods: SMA, EMA, SMMA, LWMA
  • Usage: Trend direction, crossover signals

📊RSI (Relative Strength Index)

  • Period: Default 16
  • Overbought: Default 80
  • Oversold: Default 28
  • Usage: Momentum confirmation, reversal signals

📉Bollinger Bands

  • Period: Default 20
  • Deviation: Default 2.4
  • Usage: Volatility, entry signals at bands
  • Option: Can be used for entry confirmation

📍ADX (Average Directional Index)

  • Period: Default 11
  • Min Threshold: Default 33 (valid trend)
  • Strong Threshold: Default 39 (strong trend)
  • Usage: Trend strength filtering

Configuration Options

Parameter Description Default
Enable_MA Enable Moving Averages true
Enable_RSI Enable RSI true
Enable_BollingerBands Enable Bollinger Bands true
Enable_ADX Enable ADX true
ADX_FilterWeakTrends Filter trades when ADX below threshold true (recommended)

Performance Benefits:

  • Up to 40% faster indicator calculations
  • Reduced memory usage
  • Consistent values across all modules
  • Easier debugging and optimization

Advanced Time Management - NEW

Gold News AI 2 introduces comprehensive trading time controls:

Day Filter System

Control which days of the week EA is allowed to trade:

Parameter Description Default
UseDayFilter Enable day filtering false
FilterMonday Allow Monday trading true
FilterTuesday Allow Tuesday trading true
FilterWednesday Allow Wednesday trading true
FilterThursday Allow Thursday trading true
FilterFriday Allow Friday trading true
FilterSaturday Allow Saturday trading false
FilterSunday Allow Sunday trading false

Time Filter System

Control specific trading hours (in broker server time):

Parameter Description Example
UseTimeFilter Enable time filtering false
StartTime Trading start time (HH:MM) "08:00"
EndTime Trading end time (HH:MM) "22:00"

Friday Special Handling - NEW

Special controls for Friday trading with automatic position closure:

Parameter Description Example
UseFridaySpecial Enable Friday special rules true (recommended)
FridayEndTime Friday trading end time (HH:MM) "14:00"
FridayCloseAllTrades Auto-close all positions at Friday end false

💡Use Cases:

  • Avoid Weekends: Set Friday end time to 14:00-16:00 to avoid weekend gaps
  • Session Trading: Trade only during EU/US overlap (e.g., 13:00-21:00 GMT)
  • Overnight Protection: Disable overnight trading (e.g., 08:00-18:00)
  • News Avoidance: Block specific days with major news events

Timeframe-Based Research - NEW

Synchronize AI research with chart candle closes:

📅Standard Interval Mode

Traditional fixed-minute intervals:

  • ResearchInterval: Minutes between AI research (default 45)
  • Simple and predictable
  • Not synchronized with candles

📊Timeframe-Based Mode (NEW)

Research synchronized with candle formation:

  • TimeframeForResearch: M5, M15, M30, H1, H4, D1, or Current
  • TimeframeOffset: Minutes after candle close to perform research
  • Synchronized with market rhythm
  • Reduces unnecessary API calls
Timeframe Recommended Offset Research Frequency Best For
M15 2-5 minutes Every 15 minutes Active day trading
M30 5-10 minutes Every 30 minutes Scalping to day trading
H1 10-15 minutes Every hour Day trading (Recommended)
H4 30-60 minutes Every 4 hours Swing trading
D1 60 minutes Once per day Position trading

⚙️Configuration Parameters

AI API Settings

Parameter Description Recommended Value
Enable_ChatGPT Enable OpenAI GPT true (primary AI)
Enable_Claude Enable Anthropic Claude false (for dual AI mode)
Enable_Kimi Enable MoonshotAI Kimi false (cost-effective alternative)
API_Key OpenAI API key Your OpenAI key (starts with sk-)
Claude_API_Key Claude API key Your Claude key (starts with sk-ant-)
Kimi_API_Key Kimi API key Your Kimi key
OpenAI_Model OpenAI model selection GPT_4_1_MINI (cost-effective)
Claude_Model Claude model selection CLAUDE_SONNET_4_5 (best balance)
Kimi_Model Kimi model selection MOONSHOT_V1_AUTO (automatic)

Multi-Timeframe Settings - NEW

Parameter Description Recommended Options
HigherTimeframe HTF for trend bias MTF_H4 or MTF_H1 M5, M15, M30, H1, H4, D1
LowerTimeframe LTF for entry timing MTF_M15 M5, M15, M30, H1, H4, D1
RequireHTFAlignment Trade only with HTF trend true (safer) true/false

Trading Settings

Parameter Description Recommended Value Range
MagicNumber Unique EA identifier 222222 Any unique number
LotSizeMode Position sizing method FIXED_LOT (beginners) FIXED_LOT / AUTO_LOT / KELLY_FORMULA
FixedLotSize Fixed lot size 0.02 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 (pips) 85 pips 50-500 pips
MaxSpread Maximum allowed spread (points) 300 points 100-500 points
TakeProfitPips Take profit distance (0=AI recommendation) 250 pips 0-1000 pips

Research Interval Settings

Parameter Description Recommended
IntervalMode Research timing mode TIMEFRAME_BASED (NEW)
ResearchInterval Standard mode: minutes between research 45 minutes
TimeframeForResearch Timeframe-based mode: sync timeframe TF_H1 or TF_CURRENT
TimeframeOffset Minutes after candle close 40 minutes

Stop Loss Configuration

Parameter Description Recommended Value
StopLossMode SL calculation method TECHNICAL_INDICATOR
StopLossPips Fixed SL (if using fixed mode) 200 pips
TechnicalSLThreshold SL multiplier (%) - NEW 100.0 (normal size)
SL_TimeFrame Timeframe for High/Low SL TF_30_DAYS
SL_Buffer Buffer from High/Low (pips) 25 pips

Technical Indicator Settings - NEW

Parameter Description Default
Enable_MA Enable Moving Averages true
MA_Fast_Period Fast MA period 21
MA_Slow_Period Slow MA period 150
MA_Method MA calculation method MODE_SMA
Enable_RSI Enable RSI true
RSI_Period RSI period 16
RSI_Oversold RSI oversold level 28
RSI_Overbought RSI overbought level 80
Enable_BollingerBands Enable Bollinger Bands true
BB_Period Bollinger period 20
BB_Deviation Bollinger deviation 2.4
BB_UseForEntry Use BB for entry signals true
Enable_ADX Enable ADX true
ADX_CIS_Period ADX period (Central System) 11
ADX_CIS_Threshold Min ADX for valid trend 33
ADX_CIS_Strong_Threshold ADX strong trend level 39
ADX_FilterWeakTrends Filter trades in weak trends true (recommended)

Trailing Stop Settings

Parameter Description Recommended Value
UseTrailingStop Enable trailing stops true (highly recommended)
TrailingStopPips Trailing distance 15 pips
TrailingStepPips Trailing step size 7.5 pips
TrailingStartPips Start trailing after profit 26 pips
TrailingOnlyInProfit Trail only when in profit true
BreakevenTrailing Move to breakeven first false

Kelly Formula Settings - NEW

Parameter Description Recommended
LotSizeMode Set to KELLY_FORMULA to enable FIXED_LOT (beginners)
KellyHistoryBars Historical trades for statistics 100
KellyFraction Kelly fraction (conservative) 0.88 (88% of optimal)
KellyMaxRisk Maximum risk per trade (%) 4.0%
KellyMinLot Minimum lot size 0.02
UseAIConfidence Use AI strength as multiplier true

Advanced Features (Optional)

🔄Recovery System

Parameter Default Description
EnableRecovery false Enable recovery system (advanced users only)
RecoveryDDStart 4.0 Drawdown to start recovery (account currency)
RecoveryVolume 0.04 First recovery lot size
RecoveryStep 200 Distance between recovery positions (points)
RecoveryStepMultiplier 1.35 Step increase multiplier
RecoveryVolumeType REC_MULTI_THEN_PLUS Volume progression type
RecoveryVolumeMultiplier 1.25 Volume multiplier per step
RecoveryVolumePlus 0.03 Volume addition per step
RecoveryCloseAllMinProfit 12.0 Min profit to close all recovery (currency)


⚖️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. The possibility exists that you could sustain a loss in excess of your initial deposit.

🤖AI Trading Risks:

  • AI predictions are computational estimates and not guaranteed to be accurate
  • Market conditions can change rapidly and unpredictably
  • API failures may interrupt trading decisions
  • Multiple AI provider consensus does not guarantee accuracy
  • WebSearch results may contain outdated or inaccurate information
  • Past performance does not guarantee future results
  • AI models may have limitations in unusual market conditions

📊Technical Analysis Risks:

  • Multi-timeframe analysis does not eliminate risk
  • Technical indicators may give false signals
  • ADX filtering cannot prevent all losing trades
  • Kelly Formula optimization is based on past performance

💡Usage Recommendations:

  • Test thoroughly on demo accounts first (minimum 30 days recommended)
  • Start with minimal risk and lot sizes
  • Use proper risk management (2-3% per trade maximum)
  • Monitor performance regularly and adjust settings
  • Never risk more than you can afford to lose
  • Keep API costs within reasonable limits (set billing alerts)
  • Understand all features before enabling advanced systems (recovery, hedging)
  • Review and adjust day/time filters for your timezone and strategy

Educational Purpose: This Expert Advisor is provided for educational and research purposes. The software is a tool that requires user oversight and cannot replace sound trading judgment. Users are solely responsible for their own trading decisions, risk management, and outcomes.

No Guarantees: Neither the developer, AI service providers, nor any affiliated parties guarantee profits, accuracy of AI predictions, or error-free operation. All trading carries risk of substantial loss.