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.
Institutional-grade confluence trading for capital growth
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.
A trade is only executed when ALL of the following conditions are met:
Multi-timeframe alignment ensures only high-conviction trades are executed with 5-point confluence scoring.
Real-time analysis across 3 instruments and 4 timeframes with optimized data caching for instant signal generation.
Phased risk management with ATR-based stops, correlation filtering, and session-aware trading hours.
Pattern recognition for Gartley, Bat, ABCD, Cypher harmonics plus RSI divergence detection.
The complete trading framework behind every signal
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.
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.
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.
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 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.
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.
Calculated as percentage of current account equity. Stop loss distance (2 × ATR) determines lot size to achieve exact risk percentage.
Phased approach protects early capital while enabling aggressive growth at scale. Correlation boost increases position size only when DXY strongly confirms.
4-tier timeframe hierarchy: H4 (Godfather trend), H1 (Intermediate confirmation), M15 (Setup detection), M5 (Execution trigger). Each level validates the previous.
ADX > 25 requirement ensures trending conditions. EMA distance filter prevents trading in consolidation zones. Spread filter protects against high-cost entries.
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.
Visual representation of the trading system's decision-making process
This flowchart shows the entire decision-making process from EA initialization to trade execution and management.
How different timeframes work together to generate high-quality signals.
Detailed breakdown of how entry signals are identified and validated.
Progressive risk scaling based on account growth milestones.
How signal quality is measured and affects position sizing.
High-level overview of EA components and their interactions.
Comprehensive trading tools built for precision and growth
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.
Progressive risk scaling based on account growth milestones. Foundation phase at 10% risk, acceleration at 15%, and hyper-growth at 20%.
Detects bullish/bearish RSI divergences using pivot point analysis on M5 timeframe. High frequency of ~25-35 signals per day.
Detects Gartley, Bat, ABCD, and Cypher patterns with Fibonacci ratio validation. Predictive reversal zones for high-probability entries.
4-tier hierarchy: H4 (Godfather trend), H1 (intermediate), M15 (setup), M5 (execution). Each timeframe validates the previous.
Position size amplification based on signal quality and confluence score. Up to +10% bonus risk on perfect A++ setups.
Add to winning positions at strategic levels. Up to 4 entries at +1, +2, +3 ATR profit levels to maximize R:R ratio.
Trades only during high-liquidity sessions. London (08:00-17:00 GMT) and New York (13:00-22:00 GMT) for optimal execution.
Fully autonomous operation after deployment. All parameters pre-configured for optimal performance. Just attach and enable.
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 |
$300 → $1,000
$1,000 → $5,000
$5,000+
Comprehensive backtesting and live trading 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% |
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.
Step-by-step instructions for deployment and operation
Copy the EA files to your MetaTrader 5 installation directory:
C:\Users\[YourUsername]\AppData\Roaming\MetaQuotes\Terminal\[BrokerID]\MQL5\Experts\Project_Chimera\
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.
CHIMERA requires three symbols for multi-asset analysis. Ensure these are available in Market Watch:
If DXY is not available, check with your broker for alternative Dollar Index symbols.
Important:
Ensure DXY and US30 historical data is available for accurate backtesting. Multi-symbol backtesting requires data for all three instruments.
Platform requirements and system details
| Platform | MetaTrader 5 |
| Build | 3802+ |
| Type | Expert Advisor |
| Language | MQL5 |
| Timeframes | H4, H1, M15, M5 |
| Primary Symbol | XAUUSD |
| Analysis Symbols | US30, DXY |
| Execution | OnTick |
| Min Balance | $300 |
| Account Type | Raw Spread |
| Recommended | IC Markets |
| Leverage | 1:500+ |
| Architecture | OOP |
| Classes | 10+ |
| Indicators | 5 handles |
| Complexity | Advanced |
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.
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.
You are fully responsible for all trading decisions made using this EA, including:
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.
Ready to explore algorithmic trading solutions?