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 primarily based on volatility (ATR)
- Trades solely throughout high-liquidity periods (London/NY)
- Selective commerce execution primarily based 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 Stability: $1,000 USD minimal (for 0.01 lot)
- Leverage: 1:100 or greater
- Any MT5 dealer with XAUUSD
- VPS really useful 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 → Skilled 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 really useful configuration)
- Click on OK
- Please test this as effectively. Examine “Enable algorithmic buying and selling” in Instruments → Choices → Skilled Advisors
Understanding the Technique
AI Neural Community (LSTM)
The EA makes use of a Lengthy Brief-Time period Reminiscence neural community designed for XAUUSD H1 evaluation.
Analyzes (13 options):
- Value patterns (OHLC)
- Quantity
- RSI (14 interval)
- MACD
- ATR (Common True Vary)
- Bollinger Bands
- EMA (100 interval)
- Pattern energy (value deviation from EMA50)
- Volatility (value commonplace deviation ratio)
Output: BUY, SELL, or HOLD indicators with confidence ranges
Dynamic Threat Administration
Cease Loss and Take Revenue are calculated dynamically primarily based on market volatility:
- SL = ATR × 1.50 (really useful multiplier)
- TP = SL × 2.00 (really useful ratio)
- Vary: 100-250 pips for SL
Design Notice:
Dynamic SL/TP adapts to market volatility utilizing ATR. This strategy is really useful over fastened 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 durations with higher execution situations and avoids low-liquidity durations.
Selective Commerce Execution
The EA is designed to be selective in its commerce execution primarily based on AI confidence threshold moderately than excessive frequency buying and selling.
Really helpful Settings
These are the really useful settings for XAUUSD H1 buying and selling.
Really helpful Configuration for XAUUSD H1
| Parameter | Worth | Why This Worth |
|---|---|---|
| AI_MinConfidence | 0.42 | Stability between sign high quality and frequency for XAUUSD H1 |
| Use_Dynamic_SLTP | true | Adaptive danger administration |
| ATR_SL_Multiplier | 1.50 | Really helpful multiplier for XAUUSD H1 |
| TP_SL_Ratio | 2.00 | Really helpful ratio for XAUUSD H1 |
| Enable_Time_Filter | true | Excessive-liquidity session focus |
| Lot_Size | 0.01 | For $1,000 account |
| Max_Daily_Trades | 8 | Threat management |
Parameter Reference
AI Core Parameters
AI_MinConfidence (Default: 0.42)
- Vary: 0.0 to 1.0
- Minimal confidence degree for AI indicators
- Larger = fewer however greater high quality trades
- Decrease = extra trades however decrease high quality
- 0.42 is really useful for XAUUSD H1
AI_MaxHoldConfidence (Default: 0.55)
- Vary: 0.0 to 1.0
- Most threshold for HOLD indicators
- 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 indicators solely when value above EMA
- SELL indicators solely when value beneath EMA
RSI_Period (Default: 14)
- Normal RSI interval
- Used to keep away from overbought/oversold extremes
RSI_Overbought (Default: 70)
- BUY indicators ignored when RSI > 70
- Prevents shopping for at market tops
RSI_Oversold (Default: 30)
- SELL indicators 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 really useful for XAUUSD, which generally has wider spreads than foreign exchange pairs
Commerce Settings
Lot_Size (Default: 0.01)
- Fastened lot dimension for all trades
- 0.01 lot really useful for $1,000 account
- Scale proportionally with account dimension
Magic_Number (Default: 147242)
- Distinctive identifier for this EA’s trades
- Change if working a number of EAs on identical account
Dynamic Cease Loss / Take Revenue
Use_Dynamic_SLTP (Default: true)
- When true: Allows adaptive SL/TP primarily based on ATR volatility
- When false: Makes use of fastened SL/TP
- Dynamic strategy is really useful 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 really useful for XAUUSD H1
- Modifications could 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 really useful for XAUUSD H1
- Modifications could 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 features 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 respiratory room, bigger features
Trailing_Step (Default: 3 pips)
- Minimal value motion to regulate trailing cease
- Smaller = extra frequent changes
- Bigger = fewer dealer requests
Threat Administration
Min_Bars_Between_Trades (Default: 6)
- Minimal bars (hours on H1) between consecutive trades
- Prevents overtrading
- 6 hours = affordable 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 durations
Server_GMT_Offset (Default: 2)
- Your dealer’s server time offset from GMT
- DST (Summer season): Often GMT+2 or GMT+3
- Winter: Often GMT+2 or GMT+3
- Examine your dealer’s server time specification
- Vital for correct time filtering
Superior Settings
Debug_Mode (Default: false)
- Allows detailed logging to Specialists tab
- True = verbose logging (helpful for troubleshooting)
- False = minimal logging (really useful for dwell)
- Notice: Extreme logging can create massive log information
Buying and selling Technique Particulars
Entry Situations
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 Situations
Trades exit when:
- Cease Loss is hit
- Take Revenue is hit
- Trailing Cease is triggered
- Reverse sign happens (shut present, 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)
Threat Administration
Place Sizing
Really helpful Lot Measurement by Account Stability:
| Account Stability | Really helpful Lot Measurement | Threat 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 (really useful)
- Resets at midnight server time
Cease Loss Safety
- Each commerce has automated Cease Loss
- Dynamic vary: 100-250 pips primarily based 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 durations relying on market situations.
- Is Algo Buying and selling enabled? (Instruments → Choices → Skilled 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 could be large)
- Too quickly after final commerce? (Examine Min_Bars_Between_Trades)
Trades Closing Too Early
Doable Causes:
- Trailing Cease too tight (improve Trailing_Stop)
- Take Revenue too shut (test TP_SL_Ratio)
- Cease Loss too tight (test 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
Answer:
- Scale back Lot_Size
- Improve account steadiness
- Minimal $1,000 really useful for 0.01 lot
Invalid Quantity Error
Answer:
- Examine dealer’s minimal lot dimension
- Guarantee Lot_Size meets dealer necessities
- Some brokers require 0.01 minimal, others enable smaller

