PureAI
- Experts
- Versão: 6.98
- Ativações: 5
PureAI XAU M5 is an AI-assisted Expert Advisor for XAUUSD (Gold) on the M5
timeframe, combining a multi-indicator signal engine with external LLM
analysis (DeepSeek / OpenAI / Qwen / Moonshot / Zhipu AI) and a full
multi-timeframe view (M5 signal + H1 trend resonance + H4/D1 key levels).
========== TWO STRATEGY MODES ==========
[Mode 0 - Signal Fusion]
Fuses RSI, MACD, EMA trend, Bollinger Bands, ATR, ADX and Stochastic into a
weighted consensus score with a configurable confidence gate. Entry only when
the fused signal passes the confidence threshold.
[Mode 1 - Breakout Chaser] (recommended)
Trades 20-bar range breakouts with a 4-step hardening filter set:
[1] H1 forced resonance - breakout must align with H1 trend
[2] Volume confirmation - break bar volume > 1.5x the 20-bar average
[3] Key level filter - proximity to H4/D1 support/resistance
[4] Squeeze anticipation - Bollinger squeeze + ADX rising from low
========== AI INTEGRATION ==========
- Pluggable LLM providers: DeepSeek, OpenAI, Qwen, Moonshot, Zhipu AI or
any custom OpenAI-compatible endpoint.
- AI direction + confidence score feed a hard filter: AI must agree with
the technical setup and score above a minimum threshold.
- AI trend alerts, AI-assisted take-profit and auto risk-adjusted lot sizing.
- AI learning loop: after every closed trade the EA reviews the analysis
to refine future decisions.
- Fully offline-capable: runs on pure technicals without any AI dependency.
========== RISK CONTROL (built-in, default ON) ==========
- Daily loss limit (default 2.5%) stops a bleeding day early
- Max equity drawdown limit (switchable)
- Consecutive-loss pause: auto-standby after 2 losses
- Max concurrent positions (default 3)
- Spread filter with auto-relaxation in low-ATR conditions
- Weekend / market-closed detection (Sat-Sun)
- News filter - pauses trading around high-impact news
- Position sizing: fixed lot or risk-% based (1.5% default)
- Session and quiet-period management: no trading in the first 30 min
after daily open; close-all before day end (23:55)
========== EXIT ENGINE ==========
- ATR-based dynamic SL/TP (SL = 1.8x ATR, TP = 3.5x ATR, ~1:1.94 RR)
- Trailing stop (350pt start / 80pt step)
- 2-level breakeven: L1 moves SL to entry at 120pt profit, L2 locks
220pt profit at 280pt
- Optional AI evaluation after L2 (add or close)
- Profit rotation of large winners (switchable)
========== ROBUSTNESS ==========
- Parameter self-check: old/unsafe parameter sets are auto-corrected at
startup to the recommended risk profile
- Backtest adaptation: in Strategy Tester the EA auto-lowers unreachable
confidence thresholds and disables AI/network calls for realistic tests
- Trade-state persistence across restarts (cooldown baselines, direction
memory, daily counters)
========== SETUP / USAGE ==========
- Symbol: XAUUSD Timeframe: M5 (H1 data used for resonance)
- Recommended: Mode 1 (Breakout Chaser) with all 4 filters ON
- Set InpAI_Key if you want live AI analysis (optional; EA also works
fully offline)
- Always test in the Strategy Tester before live deployment
========== DISCLAIMER ==========
Trading leveraged products involves substantial risk. Past performance
does not guarantee future results. The developer is not responsible for
any trading losses. Use at your own risk; never risk money you cannot
afford to lose.
