AI-Powered XAUUSD H1 Buying and selling System – Documentation
1. Overview
Thanks for selecting AlphaNet AI GOLD Professional. This EA is an AI-powered buying and selling system designed for XAUUSD H1.
What This EA Does:
- Makes use of LSTM neural community for market evaluation with 13 enter options
- Adapts Cease Loss and Take Revenue based mostly on volatility (ATR)
- Trades solely throughout high-liquidity periods (London/NY)
- Selective commerce execution based mostly on AI confidence threshold
AlphaNet AI GOLD Professional is optimized for XAUUSD H1 buying and selling situations.
Specs:
- Image: XAUUSD
- Timeframe: H1
- Optimized for XAUUSD H1 situations
Minimal Necessities:
- Account Steadiness: $1,000 USD minimal (for 0.01 lot)
- Leverage: 1:100 or larger
- Any MT5 dealer with XAUUSD
- VPS beneficial for twenty-four/7 operation
Set up & Setup
Set up from MQL5.com Market
- Buy from MQL5.com Market
- Open MetaTrader 5 and log in to your MQL5.com account in MT5
- Choose  AlphaNet AI GOLD Professional from the market and press the obtain button.
(If you have not bought it but, please buy it first.) - The EA will routinely obtain and set up
- Discover it in: Navigator → Knowledgeable Advisors → Market → AlphaNet AI GOLD Professional
Attaching to Chart
- Open XAUUSD H1 chart
- Drag AlphaNet AI GOLD Professional from Navigator to chart
- Examine “Enable Algo Buying and selling” in Frequent
- Confirm parameters (use defaults for beneficial configuration)
- Click on OK
- Please examine this as properly. Examine “Enable algorithmic buying and selling” in Instruments → Choices → Knowledgeable Advisors
Understanding the Technique
AI Neural Community (LSTM)
The EA makes use of a Lengthy Quick-Time period Reminiscence neural community designed for XAUUSD H1 evaluation.
Analyzes (13 options):
- Worth patterns (OHLC)
- Quantity
- RSI (14 interval)
- MACD
- ATR (Common True Vary)
- Bollinger Bands
- EMA (100 interval)
- Pattern energy (value deviation from EMA50)
- Volatility (value customary deviation ratio)
Output: BUY, SELL, or HOLD alerts with confidence ranges
Dynamic Danger Administration
Cease Loss and Take Revenue are calculated dynamically based mostly on market volatility:
- SL = ATR × 1.50 (beneficial multiplier)
- TP = SL × 2.00 (beneficial ratio)
- Vary: 100-250 pips for SL
Design Word:
Dynamic SL/TP adapts to market volatility utilizing ATR. This strategy is beneficial over mounted SL/TP for XAUUSD H1 buying and selling. XAUUSD reveals bigger value actions than foreign exchange pairs, so the SL vary is wider accordingly.
Time Filter
Trades solely throughout high-liquidity periods:
- London: 8:00-17:00 GMT
- New York: 13:00-22:00 GMT
- Overlap interval: Most liquidity
Design Rationale:
Time filtering focuses buying and selling on high-liquidity periods (London/NY). This strategy targets intervals with higher execution situations and avoids low-liquidity intervals.
Selective Commerce Execution
The EA is designed to be selective in its commerce execution based mostly on AI confidence threshold relatively than excessive frequency buying and selling.
Advisable Settings
These are the beneficial settings for XAUUSD H1 buying and selling.
Advisable Configuration for XAUUSD H1
| Parameter | Worth | Why This Worth |
|---|---|---|
| AI_MinConfidence | 0.42 | Steadiness between sign high quality and frequency for XAUUSD H1 |
| Use_Dynamic_SLTP | true | Adaptive danger administration |
| ATR_SL_Multiplier | 1.50 | Advisable multiplier for XAUUSD H1 |
| TP_SL_Ratio | 2.00 | Advisable ratio for XAUUSD H1 |
| Enable_Time_Filter | true | Excessive-liquidity session focus |
| Lot_Size | 0.01 | For $1,000 account |
| Max_Daily_Trades | 8 | Danger management |
Parameter Reference
AI Core Parameters
AI_MinConfidence (Default: 0.42)
- Vary: 0.0 to 1.0
- Minimal confidence stage for AI alerts
- Larger = fewer however larger high quality trades
- Decrease = extra trades however decrease high quality
- 0.42 is beneficial for XAUUSD H1
AI_MaxHoldConfidence (Default: 0.55)
- Vary: 0.0 to 1.0
- Most threshold for HOLD alerts
- If HOLD confidence exceeds this, no commerce taken
- Prevents buying and selling in unsure markets
Technical Filter Parameters
EMA_Period (Default: 100)
- Exponential Shifting Common for development affirmation
- 100 interval balances responsiveness and stability
- BUY alerts solely when value above EMA
- SELL alerts solely when value beneath EMA
RSI_Period (Default: 14)
- Commonplace RSI interval
- Used to keep away from overbought/oversold extremes
RSI_Overbought (Default: 70)
- BUY alerts ignored when RSI > 70
- Prevents shopping for at market tops
RSI_Oversold (Default: 30)
- SELL alerts ignored when RSI < 30
- Prevents promoting at market bottoms
Max_Spread_Points (Default: 80)
- Most allowed unfold in factors
- No trades if unfold exceeds this worth
- Protects in opposition to excessive unfold prices
- 80 factors is beneficial for XAUUSD, which generally has wider spreads than foreign exchange pairs
Commerce Settings
Lot_Size (Default: 0.01)
- Mounted lot measurement for all trades
- 0.01 lot beneficial for $1,000 account
- Scale proportionally with account measurement
Magic_Number (Default: 147242)
- Distinctive identifier for this EA’s trades
- Change if operating a number of EAs on similar account
Dynamic Cease Loss / Take Revenue
Use_Dynamic_SLTP (Default: true)
- When true: Permits adaptive SL/TP based mostly on ATR volatility
- When false: Makes use of mounted SL/TP
- Dynamic strategy is beneficial for XAUUSD H1
Fixed_StopLoss (Default: 150 pips)
- Solely used if Use_Dynamic_SLTP = false
Fixed_TakeProfit (Default: 300 pips)
- Solely used if Use_Dynamic_SLTP = false
ATR_SL_Multiplier (Default: 1.50)
- Vary: 1.0 to three.0
- Cease Loss = ATR × this multiplier
- 1.50 is beneficial for XAUUSD H1
- Modifications might have an effect on danger and commerce outcomes
- Decrease values = tighter SL, extra stop-outs
- Larger values = wider SL, bigger losses per commerce
TP_SL_Ratio (Default: 2.00)
- Vary: 1.0 to three.0
- Take Revenue = Cease Loss × this ratio
- 2.00 is beneficial for XAUUSD H1
- Modifications might have an effect on commerce outcomes
Min_StopLoss_Pips (Default: 100)
- Minimal SL distance no matter ATR
- Prevents too-tight stops in low volatility
Max_StopLoss_Pips (Default: 250)
- Most SL distance no matter ATR
- Caps danger in excessive volatility
Trailing Cease
Enable_Trailing (Default: true)
- Prompts trailing cease performance
- Locks in positive aspects as commerce strikes favorably
Trailing_Start (Default: 20 pips)
- Trailing begins after this a lot unrealized achieve
- Conservative: 30 pips (let positions run)
- Aggressive: 15 pips (lock in rapidly)
Trailing_Stop (Default: 10 pips)
- Distance of trailing cease behind present value
- Tighter = extra safety, earlier exits
- Wider = extra respiration room, bigger positive aspects
Trailing_Step (Default: 3 pips)
- Minimal value motion to regulate trailing cease
- Smaller = extra frequent changes
- Bigger = fewer dealer requests
Danger Administration
Min_Bars_Between_Trades (Default: 6)
- Minimal bars (hours on H1) between consecutive trades
- Prevents overtrading
- 6 hours = cheap spacing for XAUUSD H1
Max_Daily_Trades (Default: 8)
- Most trades allowed per calendar day
- Each day danger management
- As soon as restrict reached, no extra trades till subsequent day
Buying and selling Hours Filter
Enable_Time_Filter (Default: true)
- When true: Trades solely London/NY periods
- When false: Trades 24/7
- Time filtering focuses on high-liquidity intervals
Server_GMT_Offset (Default: 2)
- Your dealer’s server time offset from GMT
- DST (Summer season): Normally GMT+2 or GMT+3
- Winter: Normally GMT+2 or GMT+3
- Examine your dealer’s server time specification
- Vital for correct time filtering
Superior Settings
Debug_Mode (Default: false)
- Permits detailed logging to Specialists tab
- True = verbose logging (helpful for troubleshooting)
- False = minimal logging (beneficial for reside)
- Word: Extreme logging can create giant log information
Buying and selling Technique Particulars
Entry Circumstances
BUY Sign Necessities:
- AI predicts BUY with confidence > AI_MinConfidence
- HOLD confidence < AI_MaxHoldConfidence
- Present value > EMA(100)
- RSI < RSI_Overbought (70)
- Unfold ≤ Max_Spread_Points
- Inside buying and selling hours (if time filter enabled)
- Each day commerce restrict not reached
- Minimal bars between trades happy
SELL Sign Necessities:
- AI predicts SELL with confidence > AI_MinConfidence
- HOLD confidence < AI_MaxHoldConfidence
- Present value < EMA(100)
- RSI > RSI_Oversold (30)
- Unfold ≤ Max_Spread_Points
- Inside buying and selling hours (if time filter enabled)
- Each day commerce restrict not reached
- Minimal bars between trades happy
Exit Circumstances
Trades exit when:
- Cease Loss is hit
- Take Revenue is hit
- Trailing Cease is triggered
- Reverse sign happens (shut current, open new)
Buying and selling Hours (GMT)
When Enable_Time_Filter = true:
- London Session: 08:00 to 17:00 GMT
- New York Session: 13:00 to 22:00 GMT
- Overlap Interval: 13:00 to 17:00 GMT (highest liquidity)
- No buying and selling: 22:00 to 08:00 GMT (low liquidity Asian session)
Danger Administration
Place Sizing
Advisable Lot Measurement by Account Steadiness:
| Account Steadiness | Advisable Lot Measurement | Danger per Commerce (approx) |
|---|---|---|
| $1,000 | 0.01 | 1.0 – 2.0% |
| $2,000 | 0.02 | 1.0 – 2.0% |
| $5,000 | 0.05 | 1.0 – 2.0% |
| $10,000 | 0.10 | 1.0 – 2.0% |
Each day Limits
- Max_Daily_Trades = 8 (beneficial)
- Resets at midnight server time
Cease Loss Safety
- Each commerce has computerized Cease Loss
- Dynamic vary: 100-250 pips based mostly on ATR
Troubleshooting
EA Not Taking Any Trades
Examine the next:
- This EA is selective in its buying and selling, so it could not commerce for prolonged intervals relying on market situations.
- Is Algo Buying and selling enabled? (Instruments → Choices → Knowledgeable Advisors)
- Right image? (XAUUSD solely)
- Right timeframe? (H1 solely)
- Inside buying and selling hours? (Examine Enable_Time_Filter and Server_GMT_Offset)
- Each day restrict reached? (Examine Max_Daily_Trades)
- Unfold too excessive? (Examine Max_Spread_Points – XAUUSD spreads will be large)
- Too quickly after final commerce? (Examine Min_Bars_Between_Trades)
Trades Closing Too Early
Doable Causes:
- Trailing Cease too tight (enhance Trailing_Stop)
- Take Revenue too shut (examine TP_SL_Ratio)
- Cease Loss too tight (examine ATR_SL_Multiplier)
Loss Vary Differs from Anticipated
Confirm Settings:
- Is Use_Dynamic_SLTP = true?
- Is Enable_Time_Filter = true?
- Is ATR_SL_Multiplier = 1.50?
- Utilizing XAUUSD H1?
Inadequate Cash Error
Resolution:
- Scale back Lot_Size
- Enhance account stability
- Minimal $1,000 beneficial for 0.01 lot
Invalid Quantity Error
Resolution:
- Examine dealer’s minimal lot measurement
- Guarantee Lot_Size meets dealer necessities
- Some brokers require 0.01 minimal, others enable smaller