QuantFlow Engine
- Experts
- Deynis Alejandro Puro Rodriguez
- Versione: 1.6
- Aggiornato: 27 gennaio 2026
- Attivazioni: 7
QuantFlow Engine Adaptive Intelligence System - Multi-Asset Expert Advisor for MT5
1. Overview
QuantFlow Engine Adaptive Intelligence System is a multi-asset Expert Advisor for MetaTrader 5 designed to trade Forex, metals, stock indices, and cryptocurrencies from a single chart.
The EA uses an independent analytical engine per instrument (each symbol is evaluated individually), while risk is managed through a centralized framework to reduce concentration risk compared to single-symbol systems.
No martingale, no grid, no recovery methods.
2. Supported Markets and Instruments
Forex:
- EURUSD
- GBPUSD
- EURJPY
- GBPJPY
- USDJPY
Metals:
- XAUUSD (Gold)
- XAGUSD (Silver)
Stock indices (names may vary by broker):
- US100
- US500
- UK100
- GER40
- EU50
- US30 (currently disabled; under development)
- JP225 (currently disabled; under development)
Cryptocurrencies:
- BTCUSD
Symbol naming note: Some brokers use suffixes/prefixes. If a symbol is not detected or does not trade, verify the exact symbol name available on your broker and make sure it is enabled/visible in Market Watch. This EA is designed to automatically detect and validate the broker-specific symbol name; however, if your server uses a non-standard naming convention or the symbol is not enabled/visible, manual verification may still be required.
3. Single-Chart Rule (Critical)
QuantFlow Engine Adaptive Intelligence System is a single-instance multi-asset system and must be attached to one chart only. Running multiple instances may result in duplicated trades and unintended exposure. (Never change the timeframe while the EA is running)
Recommended setup:
-
Chart: XAUUSD
-
Timeframe: H1 (Never change the timeframe while the EA is running)
-
One chart only
- Open MetaTrader 5.
- Ensure the required symbols are available on your broker server (and visible in Market Watch if needed).
- Open XAUUSD on H1. (Never change the timeframe while the EA is running)
- Attach QuantFlow Engine to the chart.
- Enable Algo Trading / AutoTrading.
- Confirm successful initialization in the Experts tab.
Once initialized, the EA detects available symbols, validates symbol availability, monitors supported markets, and executes trades only when internal conditions are met.
Note:
This Expert Advisor (EA) is complex and extensive, so backtesting may take a considerable amount of time to load. During the test, the system downloads historical data packages for all the symbols integrated into the EA.
4. Trading Logic (High-Level)
QuantFlow Engine Adaptive Intelligence System uses a selective decision engine based on:
-
Volatility conditions
-
Directional volume/flow behavior (broker-dependent)
-
Price structure and micro-movements
-
Multi-timeframe confirmations
-
Exhaustion and reversal areas
Expected behavior: the EA is designed to avoid overtrading. Periods without trades can be normal when conditions are not suitable.
5. Risk Management Framework
Risk is managed with portfolio-style discipline:
-
Controlled exposure per symbol
-
Correlation-aware limitations to reduce clustered risk
-
Automatic pauses/suspension after adverse sequences (when enabled)
-
Asset-specific Stop Loss and Take Profit logic
6. Input Parameters (Key Explanations)
Important note about boolean inputs:
- Default false = OFF (feature disabled)
- Default true = ON (feature enabled)
A) Trading schedule (broker server time, calibrated to GMT+2)
These parameters control the trading window and the forced close time. The default configuration is calibrated to operate on a GMT+2 schedule.
StartTradingHour (default: 1)
StopTradingHour (default: 17)
CloseAllHour (default: 22)
CloseAllMinute (default: 30)
Time zone guidance (GMT+2):
The EA schedule is designed to be used with GMT+2. If your broker server time is not aligned with GMT+2, adjust the time inputs so that the effective trading window still corresponds to GMT+2.
B) Magic number
InpMagicNumber (default: 12345678)
Identifies trades opened by this EA for isolated management.
C) Break-even mode
Enable_Move_SL_BE (default: false / OFF)
Moves Stop Loss to break-even after predefined progression levels.
BreakEvenLevels (default: 60.00%)
Note: break-even may reduce long-run performance by closing trades earlier during normal retracements.
D) Maximum daily loss protection
MaxDailyLossPercent (default: 20.0)
If the daily loss threshold is reached, the EA stops opening new trades for the rest of the day.
Guidance:
- Funded accounts: set slightly below the prop firm daily limit to maintain a buffer.
- Personal/spot accounts: avoid setting too low, otherwise the EA may stop prematurely during normal fluctuations.
E) SL-based symbol disable (optional protection)
CheckAndDisableSymbolBYSL (default: true / ON)
If enabled, the EA can temporarily disable trading for a symbol that accumulates adverse Stop Loss sequences within a defined window, while continuing to trade other instruments.
F) SensitivityLevels (broker calibration)
SensitivityLevels (default: 0.0)
Adaptive calibration intended to align behavior across brokers. Test using recent data (recommended: last 12 months).
Reference examples:
-
IC Markets broker: -35%
-
Deriv broker: -15%
G) TP Booster mode (optional performance extension)
Enable_TP_Booster (default: false / OFF)
When enabled, the EA can expand Take Profit targets when conditions indicate a higher probability of further favorable movement, seeking to capture additional profit on certain trades.
Guidance:
- OFF (default) is recommended for a more conservative trading style.
- ON may increase the system’s aggressiveness in profit capture and can lead to different trade outcomes depending on market conditions and execution.
7. Lot Size Reference (Base: 1,000 USD)
The table below is a reference for a 1,000 USD account. If your capital differs, adjust proportionally:
New Lot Size = Table Lot Size x (Your Capital / 1000)
Important: Contract specifications can differ by broker. Always verify your broker’s contract size and symbol specifications before using the suggested volumes.
Index Lot Size Contract Size
XAUUSD P1, P2, P3, P4 0.03 100
XAGUSD P1, P2 0.15 1000
EURUSD P1, P2 0.12 100000
GBPUSD P1 0.12 100000
GBPUSD P2 0.10 100000
EURJPY P1 0.10 100000
EURJPY P2 0.12 100000
GBPJPY P1 0.10 100000
GBPJPY P2 0.12 100000
USDJPY P1 0.12 100000
USDJPY P2 0.12 100000
Europe 50 EU50 P1, P2 1.00 1
UK100 P1, P2 1.00 1
US Tech 100 US100 P1, P2 0.40 1
US SP 500 US500 P1, P2 1.00 1
US30 P1, P2 1.00 1
Germany 40 GER40 P1, P2 0.20 1
JP225 P1, P2 0.20 1
BTCUSD P1 0.03 1
BTCUSD P2 0.02 1
Development note:
US30 and JP225 are included in the system inputs but are currently disabled for trading in this version because they are still under development.
8. Backtesting Recommendation
For more realistic testing, focus on recent conditions:
-
Use the last 12 months of historical data when possible
-
Use real spreads and commissions
-
Consider that multi-year tests may not reflect current execution conditions
9. Normal System Behavior
The following behaviors can be normal:
-
Periods with no trades
-
Uneven trade distribution across symbols
-
Automatic pauses due to risk protections
-
Selective execution based on internal validation
10. Operational Notes
For stable operation, avoid frequent restarts or re-attaching the EA. If your environment is prone to disconnections, using a VPS may help improve continuity.
For cleaner trade management, consider using a dedicated trading account and avoid mixing multiple EAs or manual trading on the same account.
11. Quick Troubleshooting
EA is not trading:
-
Confirm Algo Trading / AutoTrading is enabled
-
Confirm the EA is attached to one chart only
-
Confirm successful initialization in the Experts tab
-
Confirm correct broker environment and symbol names
-
Confirm required symbols are available/visible
Trades are duplicated:
-
Most common cause: EA attached to multiple charts
-
Remove all instances and keep only one running
12. Updates and Support
Support for this product is provided through the MQL5.com product comments and the MQL5.com messaging system (integrated chats). Please use these official channels for questions, troubleshooting, and update-related assistance.
13. Disclaimer
Trading involves risk. Past performance does not guarantee future results. Results may vary due to market conditions, broker execution, spreads, commissions, liquidity, volatility regimes, and user configuration. Test on a demo account before using on a live account.

