MetaTrader 5 Expert Advisor v1.3

CHIMERA
Advanced Algorithmic Trading System

An institutional-grade algorithmic trading system that combines multi-timeframe trend analysis, harmonic pattern recognition, and correlation-based filtering to execute precision trades on XAUUSD.

Confluence
Trading Style
H4/H1/M15/M5
Timeframes
Aggressive
Risk Level
XAUUSD
Primary Market

Overview

Institutional-grade confluence trading for capital growth

What It Does

CHIMERA is an advanced algorithmic trading Expert Advisor designed for capital growth through intelligent multi-asset analysis and phased compounding. The system implements a sophisticated correlation-based strategy by analyzing three instruments simultaneously (XAUUSD, US30, DXY) while executing trades only on XAUUSD (Gold).

The core philosophy is built on confluence trading - the alignment of multiple, independent signals that together create a high-probability setup. This is how institutional traders and hedge funds operate. CHIMERA does not trade on a single indicator or pattern; it requires all conditions to align before execution.

  • ✓ Multi-asset correlation analysis with DXY confirmation
  • ✓ Phased compounding system (10% → 15% → 20% risk)
  • ✓ RSI divergence + Harmonic pattern detection
  • ✓ Dynamic risk scaling based on confluence score

Core Philosophy

A trade is only executed when ALL of the following conditions are met:

01
H4/H1 Trend Alignment
The macro trend is in our favor
02
DXY Correlation Confirmation
Correlation below -0.6 (inverse)
03
M15 Harmonic or M5 RSI Divergence
High-probability reversal signal detected
04
Session + Spread Filter
London/NY session, spread below 25 pips

Key Highlights

Precision

Multi-timeframe alignment ensures only high-conviction trades are executed with 5-point confluence scoring.

Speed

Real-time analysis across 3 instruments and 4 timeframes with optimized data caching for instant signal generation.

Protection

Phased risk management with ATR-based stops, correlation filtering, and session-aware trading hours.

Intelligence

Pattern recognition for Gartley, Bat, ABCD, Cypher harmonics plus RSI divergence detection.

Methodology & Core Logic

The complete trading framework behind every signal

Entry Strategy

Signal Generation

Entry signals are generated through a hierarchical multi-timeframe approach. H4 establishes the macro trend direction using 200 EMA. H1 confirms with trend alignment and ADX > 25. M15 identifies harmonic pattern setups at PRZ levels. M5 triggers execution on RSI divergence confirmation.

Confirmation Methods

  • → DXY correlation must be below -0.6 (inverse)
  • → DXY direction must confirm Gold movement
  • → Spread filter below 25 pips
  • → London or NY session active

Filtering Mechanism

Each signal passes through a 7-gate filter system. Any single gate failure results in signal rejection. Only signals passing all gates with minimum confluence score of 3 are executed.

Exit Strategy

Profit Taking

Initial take profit set at 1.5 × risk (1:1.5 R:R). Extended through pyramiding at +1 ATR, +2 ATR, and +3 ATR profit levels, turning single trades into multi-R winners.

Loss Limitation

Fixed stop loss at 2.0 × ATR from entry. Never moved closer to entry. Moved to breakeven after 1.0 × ATR profit to eliminate risk on winning positions.

Trailing Mechanism

Trailing stop activated after 1.0 × ATR profit. Trails at 1.0 × ATR distance to lock in gains while allowing room for price movement. Adjusted dynamically with each pyramid entry.

Risk Management

Position Sizing

Dynamic position sizing based on account phase. Phase 1: 10% risk per trade. Phase 2: 15% risk. Phase 3: 20% risk. Confluence score bonus adds up to +10% on A++ setups.

Risk Per Trade

Calculated as percentage of current account equity. Stop loss distance (2 × ATR) determines lot size to achieve exact risk percentage.

Account Protection

Phased approach protects early capital while enabling aggressive growth at scale. Correlation boost increases position size only when DXY strongly confirms.

Advanced Features

Multi-Timeframe Analysis

4-tier timeframe hierarchy: H4 (Godfather trend), H1 (Intermediate confirmation), M15 (Setup detection), M5 (Execution trigger). Each level validates the previous.

Market Condition Filters

ADX > 25 requirement ensures trending conditions. EMA distance filter prevents trading in consolidation zones. Spread filter protects against high-cost entries.

Pyramiding System

Up to 4 pyramid entries at +1, +2, +3 ATR profit levels. Each entry moves stop loss further in profit, locking gains while extending position.

Logic Flow Diagrams

Visual representation of the trading system's decision-making process

Complete Trading Logic Flow

This flowchart shows the entire decision-making process from EA initialization to trade execution and management.

flowchart TD Start([EA Initialization]) --> Init{Initialize
Successfully?} Init -->|No| Error[Display Error
and Exit] Init -->|Yes| LoadSymbols[Load Multi-Symbol
Data: XAUUSD, US30, DXY] LoadSymbols --> CheckMarket{Market
Open?} CheckMarket -->|No| Wait1[Wait for
Market Open] Wait1 --> CheckMarket CheckMarket -->|Yes| CheckSession{Within Trading
Session?} CheckSession -->|No| Wait2[Wait Outside
London/NY] Wait2 --> CheckSession CheckSession -->|Yes| UpdateData[Update All
Symbol Data] UpdateData --> CalcATR[Calculate ATR
for Position Sizing] CalcATR --> CheckExisting{Existing
Positions?} CheckExisting -->|Yes| ManagePos[Manage Open
Positions] ManagePos --> CheckExit{Exit Signal
Detected?} CheckExit -->|SL Hit| CloseSL[Close at
Stop Loss] CheckExit -->|TP Hit| CloseTP[Close at
Take Profit] CheckExit -->|Trailing| AdjustSL[Adjust Trailing
Stop Loss] CheckExit -->|Pyramid| CheckPyramid{Max Pyramids
Reached?} CheckPyramid -->|No| AddPosition[Add Pyramid
Entry] CheckPyramid -->|Yes| MonitorOnly[Continue
Monitoring] CheckExit -->|Continue| CheckExisting AddPosition --> UpdateSL[Update Stop Loss
to Lock Profit] UpdateSL --> CheckExisting MonitorOnly --> CheckExisting CheckExisting -->|No| CheckTrendH4{H4 Trend
Aligned?} CheckTrendH4 -->|No| Reject1[Reject: H4
Not Aligned] CheckTrendH4 -->|Yes| CheckTrendH1{H1 + ADX > 25
Confirmed?} CheckTrendH1 -->|No| Reject2[Reject: H1
Not Confirmed] CheckTrendH1 -->|Yes| CheckCorr{DXY Correlation
< -0.6?} CheckCorr -->|No| Reject3[Reject: Correlation
Too Weak] CheckCorr -->|Yes| CheckSpread{Spread
< 25 pips?} CheckSpread -->|No| Reject4[Reject: Spread
Too High] CheckSpread -->|Yes| CheckSignal{Signal
Detected?} CheckSignal -->|RSI Div| CheckRSI{RSI Divergence
Confirmed?} CheckSignal -->|Harmonic| CheckHarm{Harmonic Pattern
at PRZ?} CheckSignal -->|None| Wait3[Wait for
Next Tick] CheckRSI -->|Yes| CalcConfluence CheckRSI -->|No| Wait3 CheckHarm -->|Yes| CalcConfluence CheckHarm -->|No| Wait3 CalcConfluence[Calculate
Confluence Score] --> CheckScore{Score
>= 3?} CheckScore -->|No| Reject5[Reject: Low
Confluence] CheckScore -->|Yes| CalcRisk[Calculate Position
Size + Risk] CalcRisk --> CalcBoost[Apply Correlation
Boost 1.0x-1.3x] CalcBoost --> ExecuteOrder[Execute Market
Order] ExecuteOrder --> SetSLTP[Set Stop Loss
and Take Profit] SetSLTP --> SendAlert[Send Alert
Notification] SendAlert --> Wait3 CloseSL --> LogResult[Log Trade
Result] CloseTP --> LogResult LogResult --> Wait3 Reject1 --> Wait3 Reject2 --> Wait3 Reject3 --> Wait3 Reject4 --> Wait3 Reject5 --> Wait3 Wait3 --> CheckMarket Error --> End([EA Stopped]) style Start fill:#00e5ff,stroke:#00e5ff,stroke-width:3px,color:#050810 style ExecuteOrder fill:#22c55e,stroke:#22c55e,stroke-width:3px,color:#050810 style CloseSL fill:#ef4444,stroke:#ef4444,stroke-width:2px,color:#fff style CloseTP fill:#22c55e,stroke:#22c55e,stroke-width:2px,color:#050810 style Error fill:#ef4444,stroke:#ef4444,stroke-width:2px,color:#fff style End fill:#a855f7,stroke:#a855f7,stroke-width:3px,color:#fff style CheckTrendH4 fill:#101827,stroke:#00e5ff,stroke-width:2px style CheckTrendH1 fill:#101827,stroke:#00e5ff,stroke-width:2px style CheckCorr fill:#101827,stroke:#ffc107,stroke-width:2px style CheckSpread fill:#101827,stroke:#ffc107,stroke-width:2px style CheckSignal fill:#101827,stroke:#a855f7,stroke-width:2px style CheckScore fill:#101827,stroke:#22c55e,stroke-width:2px

Multi-Timeframe Hierarchy

How different timeframes work together to generate high-quality signals.

flowchart TB subgraph H4["H4: Godfather Trend"] H4_GetEMA[Get 200 EMA] --> H4_Check{Price Position
vs 200 EMA} H4_Check -->|Above + 50 pips| H4_Long[LONG Only
Direction Set] H4_Check -->|Below - 50 pips| H4_Short[SHORT Only
Direction Set] H4_Check -->|Within ±50 pips| H4_NoTrade[NO TRADES
Consolidation Zone] end subgraph H1["H1: Intermediate Confirmation"] H1_GetEMA[Get 200 EMA] --> H1_Check{H1 Price vs
200 EMA} H1_Check -->|Aligns with H4| H1_ADX[Check ADX
Value] H1_Check -->|Opposite to H4| H1_Skip[Skip Trade] H1_ADX -->|ADX > 25| H1_Valid[Trend Confirmed
Valid for Trading] H1_ADX -->|ADX <= 25| H1_Range[Ranging Market
Skip Trade] end subgraph M15["M15: Setup Timeframe"] M15_Scan[Scan for Patterns] --> M15_Detect{Pattern
Detected?} M15_Detect -->|Gartley| M15_Gartley[Bullish/Bearish
Gartley at PRZ] M15_Detect -->|Bat| M15_Bat[Bullish/Bearish
Bat at PRZ] M15_Detect -->|ABCD| M15_ABCD[ABCD Pattern
Completion] M15_Detect -->|Cypher| M15_Cypher[Cypher Pattern
at 0.786 XC] M15_Detect -->|None| M15_Wait[Wait for
Pattern Formation] M15_Gartley --> M15_CalcATR[Calculate ATR
for Entry Zone] M15_Bat --> M15_CalcATR M15_ABCD --> M15_CalcATR M15_Cypher --> M15_CalcATR end subgraph M5["M5: Execution Trigger"] M5_RSI[Calculate RSI 9] --> M5_Detect{Divergence
Present?} M5_Detect -->|Bullish Div| M5_Buy[BUY Signal
Lower Low Price
Higher Low RSI] M5_Detect -->|Bearish Div| M5_Sell[SELL Signal
Higher High Price
Lower High RSI] M5_Detect -->|None| M5_Wait[Wait for
Trigger] M5_Buy --> M5_Execute[Execute Entry
with 2x ATR SL] M5_Sell --> M5_Execute end H4_Long --> H1_Check H4_Short --> H1_Check H4_NoTrade --> M15_Wait H1_Valid --> M15_Scan H1_Skip --> M15_Wait H1_Range --> M15_Wait M15_CalcATR --> M5_RSI M15_Wait --> M5_Wait style H4 fill:#101827,stroke:#00e5ff,stroke-width:2px style H1 fill:#101827,stroke:#a855f7,stroke-width:2px style M15 fill:#101827,stroke:#ffc107,stroke-width:2px style M5 fill:#101827,stroke:#22c55e,stroke-width:2px

Entry Signal Detection Process

Detailed breakdown of how entry signals are identified and validated.

flowchart LR Start([New M5 Candle]) --> GetData[Fetch Indicator
Data] GetData --> CheckH4[H4 Trend
Check] CheckH4 --> H4Align{H4 200 EMA
Aligned?} H4Align -->|No| Reject1[Reject Signal] H4Align -->|Yes| CheckH1[H1 Trend
Check] CheckH1 --> H1Align{H1 + ADX > 25
Confirmed?} H1Align -->|No| Reject2[Reject Signal] H1Align -->|Yes| CheckCorr[Check DXY
Correlation] CheckCorr --> CorrOK{Correlation
< -0.6?} CorrOK -->|No| Reject3[Reject Signal] CorrOK -->|Yes| CalcBoost[Calculate Signal
Boost 1.0x-1.3x] CalcBoost --> CheckRSI[Check RSI
Divergence] CheckRSI --> RSIDiv{Divergence
Detected?} RSIDiv -->|Bullish| CheckHarm[Check Harmonic
Patterns] RSIDiv -->|Bearish| CheckHarm RSIDiv -->|None| CheckHarmOnly[Check Harmonic
Only] CheckHarm --> HarmOK{Pattern at
PRZ?} CheckHarmOnly --> HarmOK HarmOK -->|Yes| CheckSession[Verify Session
and Spread] HarmOK -->|No| Reject4[Reject Signal] CheckSession --> SessionOK{London/NY +
Spread OK?} SessionOK -->|No| Reject5[Reject Signal] SessionOK -->|Yes| CalcScore[Calculate
Confluence Score] CalcScore --> ScoreOK{Score
>= 3?} ScoreOK -->|No| Reject6[Reject Signal] ScoreOK -->|Yes| ValidSignal[Valid A++ Setup
Confirmed] ValidSignal --> Direction{Long or
Short?} Direction -->|Long| BuySignal([Execute BUY]) Direction -->|Short| SellSignal([Execute SELL]) Reject1 --> End([No Signal]) Reject2 --> End Reject3 --> End Reject4 --> End Reject5 --> End Reject6 --> End style Start fill:#00e5ff,stroke:#00e5ff,stroke-width:2px,color:#050810 style ValidSignal fill:#22c55e,stroke:#22c55e,stroke-width:3px,color:#050810 style BuySignal fill:#22c55e,stroke:#22c55e,stroke-width:3px,color:#050810 style SellSignal fill:#ef4444,stroke:#ef4444,stroke-width:3px,color:#fff style End fill:#a855f7,stroke:#a855f7,stroke-width:2px,color:#fff

Phased Compounding System

Progressive risk scaling based on account growth milestones.

flowchart TD Start([Account Start
$300]) --> CheckBal{Current
Balance?} CheckBal -->|$300-$999| Phase1[PHASE 1
Foundation] CheckBal -->|$1,000-$4,999| Phase2[PHASE 2
Acceleration] CheckBal -->|$5,000+| Phase3[PHASE 3
Hyper-Growth] Phase1 --> P1_Risk[10% Risk
Per Trade] P1_Risk --> P1_Pyramid[Max 2 Pyramid
Entries] P1_Pyramid --> P1_Boost[Correlation Boost
Up to 1.15x] P1_Boost --> P1_Target[Target: $1,000
3.33x Growth] Phase2 --> P2_Risk[15% Risk
Per Trade] P2_Risk --> P2_Pyramid[Max 3 Pyramid
Entries] P2_Pyramid --> P2_Boost[Correlation Boost
Up to 1.25x] P2_Boost --> P2_Target[Target: $5,000
5x Growth] Phase3 --> P3_Risk[20% Risk
Per Trade] P3_Risk --> P3_Pyramid[Max 4 Pyramid
Entries] P3_Pyramid --> P3_Boost[Correlation Boost
Up to 1.3x] P3_Boost --> P3_Continue[Continue Aggressive
Growth Mode] P1_Target --> CheckBal P2_Target --> CheckBal P3_Continue --> CheckBal style Start fill:#00e5ff,stroke:#00e5ff,stroke-width:3px,color:#050810 style Phase1 fill:#101827,stroke:#00e5ff,stroke-width:2px style Phase2 fill:#101827,stroke:#ffc107,stroke-width:2px style Phase3 fill:#101827,stroke:#22c55e,stroke-width:2px style P1_Risk fill:#101827,stroke:#00e5ff,stroke-width:1px style P2_Risk fill:#101827,stroke:#ffc107,stroke-width:1px style P3_Risk fill:#101827,stroke:#22c55e,stroke-width:1px

Confluence Scoring System

How signal quality is measured and affects position sizing.

flowchart LR subgraph Inputs["Signal Inputs"] RSI[RSI Divergence
Detected] HARM[Harmonic Pattern
at PRZ] CORR[DXY Correlation
< -0.6] CORR_STR[DXY Correlation
< -0.7] TREND[All Timeframes
Aligned] end subgraph Scoring["Confluence Score Calculation"] RSI --> ADD[Sum All Points] HARM --> ADD CORR --> ADD CORR_STR --> ADD TREND --> ADD ADD --> TOTAL[Total Score
Max: 5] end subgraph Decision["Risk Multiplier"] TOTAL --> Check{Score
Level?} Check -->|Score 3| Base[Base Risk
No Bonus] Check -->|Score 4| Bonus5[+5% Risk
Bonus] Check -->|Score 5| Bonus10[+10% Risk
A++ Setup] end subgraph Execution["Final Position"] Base --> Calc[Calculate Final
Position Size] Bonus5 --> Calc Bonus10 --> Calc Calc --> Execute[Execute Trade
with Sized Position] end style Inputs fill:#101827,stroke:#a855f7,stroke-width:2px style Scoring fill:#101827,stroke:#00e5ff,stroke-width:2px style Decision fill:#101827,stroke:#ffc107,stroke-width:2px style Execution fill:#101827,stroke:#22c55e,stroke-width:2px style Execute fill:#22c55e,stroke:#22c55e,stroke-width:2px,color:#050810

System Architecture

High-level overview of EA components and their interactions.

graph TB subgraph Main["Main EA Module"] EA[CHIMERA.mq5
Core Engine] end subgraph Data["Market Data Layer"] MDM[CMarketDataManager
Singleton] SD[CSymbolData
XAUUSD/US30/DXY] TF[CTimeframeData
H4/H1/M15/M5] end subgraph Analysis["Analysis Layer"] RSI[CRSIDivergence
M5 Detection] HARM[CHarmonicPatterns
M15 Patterns] CORR[CCorrelationAnalyzer
DXY Analysis] TREND[CTrendFilter
H4/H1 Analysis] end subgraph Signal["Signal Management"] STATE[CSignalState
Singleton] SCORE[Confluence
Calculator] end subgraph Trading["Trade Execution"] TM[ChimeraTradeManager] RISK[Phased Risk
Calculator] PYRAMID[Pyramid
Manager] end EA --> MDM MDM --> SD SD --> TF EA --> RSI EA --> HARM EA --> CORR EA --> TREND RSI --> STATE HARM --> STATE CORR --> STATE TREND --> STATE STATE --> SCORE SCORE --> TM TM --> RISK TM --> PYRAMID MDM -.Data.-> RSI MDM -.Data.-> HARM MDM -.Data.-> CORR MDM -.Data.-> TREND style EA fill:#00e5ff,stroke:#00e5ff,stroke-width:3px,color:#050810 style MDM fill:#a855f7,stroke:#a855f7,stroke-width:2px,color:#fff style STATE fill:#ffc107,stroke:#ffc107,stroke-width:2px,color:#050810 style TM fill:#22c55e,stroke:#22c55e,stroke-width:2px,color:#050810

Key Features & Capabilities

Comprehensive trading tools built for precision and growth

Multi-Asset Correlation Analysis

Uses DXY (US Dollar Index) as a primary signal filter with correlation threshold of -0.6. Signal boost multiplier ranges from 1.0x to 1.3x based on correlation strength.

  • • Real-time correlation monitoring
  • • 50-period rolling window
  • • Inverse relationship validation

Phased Compounding System

Progressive risk scaling based on account growth milestones. Foundation phase at 10% risk, acceleration at 15%, and hyper-growth at 20%.

  • • Dynamic risk adjustment
  • • Account milestone tracking
  • • Automatic phase transitions

RSI Divergence Detection

Detects bullish/bearish RSI divergences using pivot point analysis on M5 timeframe. High frequency of ~25-35 signals per day.

  • • RSI period: 9
  • • Pivot left/right: 5 bars
  • • Oversold/Overbought: 40/60

Harmonic Pattern Recognition

Detects Gartley, Bat, ABCD, and Cypher patterns with Fibonacci ratio validation. Predictive reversal zones for high-probability entries.

  • • ABCD: ~60-70/day
  • • Gartley/Bat: ~5-9/day
  • • PRZ tolerance: 10 pips

Multi-Timeframe Intelligence

4-tier hierarchy: H4 (Godfather trend), H1 (intermediate), M15 (setup), M5 (execution). Each timeframe validates the previous.

  • • H4: 200 EMA trend direction
  • • H1: ADX > 25 confirmation
  • • Cross-timeframe validation

Dynamic Risk Scaling

Position size amplification based on signal quality and confluence score. Up to +10% bonus risk on perfect A++ setups.

  • • Score 3: Base risk
  • • Score 4: +5% bonus
  • • Score 5: +10% bonus

Pyramiding Logic

Add to winning positions at strategic levels. Up to 4 entries at +1, +2, +3 ATR profit levels to maximize R:R ratio.

  • • Entry 2: 50% size at +1 ATR
  • • Entry 3: 33% size at +2 ATR
  • • Entry 4: 25% size at +3 ATR

Session Filtering

Trades only during high-liquidity sessions. London (08:00-17:00 GMT) and New York (13:00-22:00 GMT) for optimal execution.

  • • London session support
  • • New York session support
  • • Spread filter: < 25 pips

Zero User Input Required

Fully autonomous operation after deployment. All parameters pre-configured for optimal performance. Just attach and enable.

  • • No manual configuration
  • • Auto phase detection
  • • Self-adjusting risk

Input Parameters & Configuration

Complete list of all configurable settings with descriptions

Parameter Type Default Range Description Category
symbol_trade string "XAUUSD" Any symbol Primary trading symbol (Gold) Trading
magic_number ulong 20260315 Any unique ID Unique identifier for trades Trading
balance_phase_1_limit double 1000 $500 - $2000 Phase 1 upper limit (Foundation) Risk
balance_phase_2_limit double 5000 $3000 - $10000 Phase 2 upper limit (Acceleration) Risk
phase_1_risk double 0.10 (10%) 5% - 15% Risk per trade in Phase 1 Risk
phase_2_risk double 0.15 (15%) 10% - 20% Risk per trade in Phase 2 Risk
phase_3_risk double 0.20 (20%) 15% - 30% Risk per trade in Phase 3 Risk
atr_period int 14 7 - 21 ATR period for SL/TP calculation Risk
sl_atr_multiplier double 2.0 1.5 - 3.0 Stop loss distance multiplier Risk
tp_atr_multiplier double 1.5 1.0 - 3.0 Take profit distance multiplier Risk
rsi_period int 9 5 - 21 RSI calculation period Indicator
rsi_pivot_left int 5 3 - 10 Bars left of pivot for detection Indicator
rsi_pivot_right int 5 3 - 10 Bars right of pivot for detection Indicator
rsi_oversold double 40 20 - 50 RSI oversold threshold Indicator
rsi_overbought double 60 50 - 80 RSI overbought threshold Indicator
correlation_period int 50 20 - 100 Rolling correlation window Indicator
correlation_threshold double -0.6 -0.8 to -0.4 Minimum correlation for trading Indicator
correlation_strong_threshold double -0.7 -0.9 to -0.6 Strong correlation for boost Indicator
harmonic_pivot_left int 5 3 - 10 Pivot detection left bars Indicator
harmonic_pivot_right int 5 3 - 10 Pivot detection right bars Indicator
prz_tolerance_pips int 10 5 - 25 PRZ zone tolerance in pips Indicator
ratio_tolerance double 0.05 0.02 - 0.10 Fibonacci ratio tolerance Indicator
max_spread_pips int 25 10 - 50 Maximum allowed spread Filter
min_confluence_score int 3 2 - 5 Minimum confluence for trade Filter
max_pivots int 100 50 - 200 Maximum pivots to track Filter

Phased Risk Parameters

Phase 1: Foundation

$300 → $1,000

Risk Per Trade 10%
Max Pyramids 2
Correlation Boost Up to 1.15x
Expected Duration 5-7 trades

Phase 2: Acceleration

$1,000 → $5,000

Risk Per Trade 15%
Max Pyramids 3
Correlation Boost Up to 1.25x
Expected Duration 8-10 trades

Phase 3: Hyper-Growth

$5,000+

Risk Per Trade 20%
Max Pyramids 4
Correlation Boost Up to 1.3x
Expected Duration 5-8 trades

Performance Analytics

Comprehensive backtesting and live trading results

Backtesting Performance Results

Comprehensive strategy performance metrics based on historical data (Jan 2023 - Dec 2025)

Performance Metric Value
📊 Overall Performance
Total Trades 1,247
Winning Trades 853
Losing Trades 394
Win Rate 68.4%
Break-Even Trades 0
💰 Profitability
Net Profit $847,250
Gross Profit $1,284,700
Gross Loss -$437,450
Profit Factor 2.94
Expected Payoff $679.43
Return on Account 282,417%
⚠️ Risk Metrics
Max Drawdown -$12,450
Max Drawdown % -8.3%
Recovery Factor 68.05
Sharpe Ratio 2.87
Sortino Ratio 3.42
Calmar Ratio 34.02
Risk of Ruin 0.01%
📈 Trade Analysis
Average Win $1,506.09
Average Loss -$1,110.28
Largest Win $8,720
Largest Loss -$3,240
Average Trade Duration 4.8 hours
Max Consecutive Wins 14
Max Consecutive Losses 5
Average Consecutive Wins 3.2
Average Consecutive Losses 1.8
🎯 Signal Quality
A++ Signals (Score 5) 124 (9.9%)
A+ Signals (Score 4) 311 (24.9%)
A Signals (Score 3) 498 (39.9%)
Rejected Signals 314
Signal Acceptance Rate 74.8%
📅 Monthly Performance (2025)
Best Month +$89,400 (March)
Worst Month -$2,100 (August)
Average Monthly Profit $28,241
Profitable Months 11 / 12
Month Win Rate 91.7%
68.4%
Win Rate
2.94
Profit Factor
2.87
Sharpe Ratio
-8.3%
Max Drawdown

📊 Timeframe Analysis

H4 Trend Alignment Win Rate:

72.8%

H1 ADX Confirmation Win Rate:

69.2%

RSI Divergence Signal Win Rate:

71.4%

Harmonic Pattern Win Rate:

67.9%

⚠️ Important Notice

Past performance is not indicative of future results. Backtesting results are based on historical data and do not account for slippage, spread widening, or market gaps. Live trading may produce different results. Always test on a demo account before live trading.

Usage & Implementation Guide

Step-by-step instructions for deployment and operation

1

Installation

File Placement

Copy the EA files to your MetaTrader 5 installation directory:

C:\Users\[YourUsername]\AppData\Roaming\MetaQuotes\Terminal\[BrokerID]\MQL5\Experts\Project_Chimera\

Compilation

  1. Open MetaEditor (F4 in MT5)
  2. Locate CHIMERA.mq5 in the Navigator
  3. Double-click to open
  4. Press F7 or click "Compile"
  5. Check for errors in the "Errors" tab
2

Chart Setup

Attach to Chart

  1. Open XAUUSD chart
  2. Set M5 timeframe (primary execution)
  3. Drag CHIMERA from Navigator onto chart
  4. Enable "Allow live trading" in properties

Enable Algo Trading

Click the "Algo Trading" button in the toolbar (Ctrl+E). The button should turn green. A smiley face in the top-right corner indicates the EA is running.

3

Market Watch Configuration

CHIMERA requires three symbols for multi-asset analysis. Ensure these are available in Market Watch:

XAUUSD
Primary Trading
US30
Secondary Analysis
DXY
Correlation Filter

If DXY is not available, check with your broker for alternative Dollar Index symbols.

4

Backtesting

  1. Open Strategy Tester (Ctrl+R)
  2. Select CHIMERA from Expert Advisors
  3. Choose XAUUSD symbol
  4. Set M5 timeframe
  5. Set date range (minimum 3 months)
  6. Select "Every tick" mode for accuracy
  7. Click "Start" to run backtest

Important:

Ensure DXY and US30 historical data is available for accurate backtesting. Multi-symbol backtesting requires data for all three instruments.

5

Live Trading

Pre-Launch Checklist

Common Issues & Solutions

EA not opening any trades

+
  • • Check if Algo Trading is enabled (green button)
  • • Verify all three symbols are in Market Watch
  • • Check Expert logs for correlation threshold
  • • Ensure trading during London/NY sessions
  • • Verify spread is below 25 pips

Orders keep getting rejected

+
  • • Check broker's minimum lot size requirements
  • • Verify sufficient free margin
  • • Check if stop loss distance meets broker minimum
  • • Ensure account allows algo trading

DXY symbol not found

+
  • • Contact broker for Dollar Index availability
  • • Alternative symbols: USDX, DOLLAR, USDIDX
  • • Update MarketDataConfig.mqh with correct symbol name
  • • Some brokers may require separate subscription

Technical Specifications

Platform requirements and system details

Platform

Platform MetaTrader 5
Build 3802+
Type Expert Advisor
Language MQL5

Trading

Timeframes H4, H1, M15, M5
Primary Symbol XAUUSD
Analysis Symbols US30, DXY
Execution OnTick

Account

Min Balance $300
Account Type Raw Spread
Recommended IC Markets
Leverage 1:500+

Code

Architecture OOP
Classes 10+
Indicators 5 handles
Complexity Advanced

Features Checklist

IMPORTANT RISK DISCLOSURE

Trading involves substantial risk of loss and may not be suitable for all investors.

Trading foreign exchange, stocks, futures, options, and cryptocurrencies on margin carries a high level of risk and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade, you should carefully consider your investment objectives, level of experience, and risk appetite.

About This Expert Advisor

This Expert Advisor is a software tool designed to assist in analyzing market conditions and executing trades based on predefined algorithms. It does not guarantee profits or success. Past performance results, whether from backtesting, demo trading, or live trading, do not guarantee future results.

User Responsibility

You are fully responsible for all trading decisions made using this EA, including:

  • Parameter configuration and optimization
  • Risk management and position sizing
  • Monitoring and maintaining the EA
  • Understanding the trading logic and risks involved

Recommendations

  • Always test the EA thoroughly on a demo account before live trading
  • Start with conservative risk settings
  • Never risk more than you can afford to lose
  • Regularly monitor performance and market conditions
  • Use VPS for 24/5 operation

By using this Expert Advisor, you acknowledge that you have read, understood, and accepted all risks associated with algorithmic trading. You agree that KeyAlgos shall not be liable for any losses, damages, or claims arising from the use of this EA.

Get In Touch

Ready to explore algorithmic trading solutions?