OVERVIEW FLUX TWIN EA MT5
Flux Twin EA MT5 is a specialized Expert Advisor (EA) for the XAUUSD (Gold) pair on the MetaTrader 5 platform. It is the latest product I have developed, drawing upon 15 years of experience in the Forex market. The system is built with two independent trading mechanisms designed to handle distinct types of market volatility.
Mechanism A focuses on trend-following strategies and confirmed breakouts, utilizing an EMA trend filter combined with market structure breakout signals. Mechanism B focuses on mean reversion strategies, identifying price extremes via the RSI indicator and Bollinger Bands while employing the ADX to avoid trading against excessively strong trends. The core advantage of Flux Twin is that, while these two mechanisms operate independently in terms of trading logic, they are governed by a Shared Risk Layer that allows the system to control the aggregate risk level and trading status of the entire account.

TWO STRATEGIES. ONE RISK ENGINE
Flux Twin is not simply running two copies of the same strategy.
Instead, it combines two different trading approaches:
ENGINE A — TREND & BREAKOUT
Designed to capture directional market movements after a confirmed structural breakout.
Core logic:
- Higher-Timeframe EMA Trend Filter
- Swing Structure Breakout
- Confirmed Candle Close
- ATR Breakout Buffer
- Trend-Following Entry
ENGINE B — MEAN REVERSION
Designed to identify price extremes and potential reversions back toward equilibrium.
Core logic:
- RSI Extreme Detection
- Bollinger Band Extreme Detection
- ADX Market-Regime Filter
- Mean-Reversion Entry
This architecture allows Flux Twin to look for opportunities under different market conditions rather than relying entirely on a single trading concept.
ENGINE A — TREND & BREAKOUT
Engine A is designed to capture continuation moves after the market confirms a structural breakout.
The EA does not treat a simple tick touch or wick beyond a swing level as a valid breakout.
Instead, the system requires a fully closed candle to confirm the breakout and must also exceed the required ATR-based buffer.
This approach is designed to reduce false breakout signals caused by short-term price spikes, wicks, and market noise.
Key Components
- Higher-Timeframe EMA Trend Filter
- Swing High / Swing Low Structure
- Confirmed Candle Close
- ATR Breakout Buffer
- Trend Continuation Logic
ENGINE B — MEAN REVERSION
Engine B follows a completely different approach.
Instead of chasing the trend, it searches for situations where price reaches an extreme area and may revert toward a more balanced level.
Key Components
- RSI Extreme Conditions
- Bollinger Band Extremes
- ADX Market-Regime Filter
- Mean-Reversion Entry Logic
The ADX filter is particularly important because mean-reversion systems can struggle when markets enter strong directional trends.
When trend strength becomes too strong, Engine B can stay out rather than continuously attempting to fade the trend.
CONFIRMED-CLOSE BREAKOUT
One of the key features of Engine A is its confirmed-close breakout mechanism.
Flux Twin does not enter simply because price temporarily moves above or below a swing level.
A valid breakout requires:
- A fully closed candle
- A confirmed break beyond the structural level
- A minimum ATR-based buffer
This is designed to reduce entries triggered only by temporary wicks and short-term market noise.
ADX MARKET-REGIME FILTER
- Mean reversion can become dangerous when price is moving strongly in one direction.
- For this reason, Engine B uses ADX as a market-strength filter.
- When the market is trending too strongly, the EA can remain inactive instead of repeatedly attempting to catch reversals.
- This helps reduce one of the most common weaknesses of simple mean-reversion systems: repeatedly trading against a strong trend.
SHARED RISK MANAGEMENT
The two trading engines do not operate without an overall risk framework.
Flux Twin uses a Shared Risk Management Layer across the entire EA.
Combined Exposure Ceiling
Controls the combined exposure generated by both engines.
Equity Hard Stop
Provides a hard equity-based protection level.
Daily Loss Protection
Blocks new entries when the daily loss limit is reached.
Loss-Streak Protection
After a defined consecutive losing streak, the system can pause new entries for several days to recognize that market conditions may have changed.
The risk layer is designed to protect the overall account rather than treating each engine as a completely isolated system.
SMART POSITION MANAGEMENT
Flux Twin does not focus only on entry signals.
Once a trade is opened, the system can manage the position through:
Break-Even Protection
Moves the stop loss toward the entry area once the trade reaches the required profit level.
Trailing Profit
Continues to protect and follow profits as price moves in the desired direction.
Position-management functions continue to operate independently from new-entry filters.
In other words, the EA can stop looking for new trades while continuing to manage positions that are already open.
SMALL-ACCOUNT LOT PROTECTION
Flux Twin includes a minimum-lot fallback mechanism for smaller accounts.
When risk-based position sizing produces a lot size below the broker's minimum allowable volume, the EA can use the broker's minimum lot only if the actual risk of that minimum lot remains within the defined risk ceiling.
This prevents the system from blindly selecting a minimum lot without checking the real risk exposure.
REAL-TIME PROFESSIONAL DASHBOARD
Flux Twin includes a real-time dashboard designed to provide the information traders actually need.
ACCOUNT
- Balance
- Equity
- Floating P/L
- Daily P/L
- Free Margin
- Margin Level
- Drawdown
- Maximum Drawdown
EA PERFORMANCE
- Total Trades
- Winning Trades
- Losing Trades
- Win Rate
- Profit Factor
- Net Profit
- Gross Profit / Loss
- Average Win / Loss
- Expectancy
- Recovery Factor
- Maximum Drawdown
MARKET / SIGNAL
- Market Condition
- Engine Status
- Current Signal State
- Trading Environment
OPEN POSITIONS
- Engine Positions
- Entry Information
- Exposure
- Current P/L
RISK MANAGEMENT
- Current Exposure
- Maximum Exposure
- Equity Protection
- Risk Status
The dashboard is designed to use live terminal information or values calculated from actual trading history rather than placeholder data.
FOUR READY-TO-USE SETFILES
Flux Twin includes four prepared parameter presets:
1. Conservative / Live-Ready
Designed for a more conservative approach.
2. Balanced
Designed to balance trading activity and risk control.
3. Small Account
Prepared for smaller account sizes.
4. Demo / High-Frequency
Designed for testing and observing EA behavior.
A README is included to explain the purpose of each preset.
KEY FEATURES
1. TWO INDEPENDENT STRATEGY ENGINES
Trend/Breakout and Mean Reversion use separate entry logic, magic numbers, and position sizing rather than duplicating the same strategy.
2. CONFIRMED-CLOSE BREAKOUT
Engine A requires candle-close confirmation with an ATR buffer to reduce wick-based and noise-driven breakout entries.
3. ADX MARKET-REGIME FILTER
Engine B can stay out when market trend strength becomes too strong, reducing the risk of repeatedly trading against a strong directional move.
4. SHARED RISK MANAGEMENT
Both engines are protected by:
- Combined Exposure Ceiling
- Equity Hard Stop
- Daily Loss Protection
- Loss-Streak Protection
5. BREAK-EVEN & TRAILING
Positions can be protected at break-even and managed with trailing logic once the required profit conditions are reached.
6. SMALL-ACCOUNT LOT PROTECTION
Minimum-lot fallback is subject to an explicit risk check.
7. REAL-TIME DASHBOARD
Account, market, performance, positions, and risk information are available directly on the chart.
8. FOUR READY-MADE SETFILES
Conservative, Balanced, Small Account, and Demo / High-Frequency presets are included.
ADVANTAGES
1. Genuine Strategy Diversification
Trend/Breakout and Mean Reversion are two different approaches designed for different market conditions.
2. Account-Level Risk Management
Risk controls are not limited to individual engines. The overall system includes combined exposure and equity protection.
3. Transparency
The dashboard is designed to display real trading and account information rather than decorative or placeholder numbers.
4. Hard Risk Boundaries
The riskiest optional features are subject to hard-coded limits that cannot simply be removed through normal inputs.
5. Clear Prop-Firm Warning
The EA provides a visible NOT FOR PROP-FIRM ACCOUNTS warning when applicable rather than relying only on a separate terms page.
DISADVANTAGES
1. Hedging Account Required
Flux Twin requires an MT5 Hedging account and is not intended for Netting accounts.
2. Specialized for XAUUSD
The EA was built and reasoned specifically for Gold. Using it on other symbols is unverified.
3. Recovery / Averaging Carries Higher Risk
If the optional recovery/averaging feature is enabled, it introduces additional risk and may behave in a martingale-style manner.
4. Larger Dashboard
Because the dashboard provides extensive real-time information, the interface is larger than minimal single-strategy EAs.
TECHNICAL SPECIFICATIONS
| Category | Specification |
|---|---|
| Platform | MetaTrader 5 |
| Language | English |
| Supported Symbol | XAUUSD |
| Account Type | Hedging Required |
| Netting Account | Not Supported |
| Engine A | Trend Following + Confirmed Breakout |
| Engine B | RSI + Bollinger Mean Reversion |
| Trend Filter | EMA |
| Market Regime Filter | ADX |
| Volatility / Buffer | ATR |
| Entry Timeframe | M5 Default |
| Alternative Setup Timeframe | M15 Recommended After Initial Testing |
| Higher-Timeframe Trend Filter | H4 Default |
| Position Management | Break-Even + Trailing |
| Risk Management | Shared Exposure + Equity Hard Stop |
| Daily Protection | Daily Loss Limit |
| Loss Protection | Consecutive-Loss Pause |
| Small Account Support | Minimum-Lot Risk Check |
| VPS | Recommended, Not Mandatory |
| Leverage | No Fixed Requirement; Broker Dependent |
| SetFiles | 4 Presets Included |
RECOMMENDED SETFILES
| Preset | Recommended For | Purpose |
|---|---|---|
| Conservative / Live-Ready | Traders prioritizing risk control | More conservative configuration |
| Balanced | Traders seeking balance | Balance between activity and risk |
| Small Account | Smaller accounts | Designed for smaller capital sizes |
| Demo / High-Frequency | Demo / Strategy Tester | Testing and observing EA behavior |
ACCOUNT REQUIREMENTS
Platform: MetaTrader 5
Account Type: Hedging
Symbol: XAUUSD
VPS: Not required by the code, but recommended for continuous operation.
A VPS can help maintain continuous execution and management when the EA is intended to run continuously.
WHO IS FLUX TWIN FOR?
Flux Twin is designed for traders who:
- Want to trade XAUUSD using a rule-based system
- Want two independent trading strategies in one EA
- Want transparent exposure and risk monitoring
- Want multiple ready-made parameter presets
- Want the ability to review and adjust technical parameters
Flux Twin is not designed for users who expect an EA to operate as a completely hands-off system without testing, monitoring, or understanding the configuration.
WHO SHOULD NOT USE IT?
Flux Twin may not be suitable for:
- Traders using MT5 Netting accounts
- Traders looking for a guaranteed-profit system
- Traders unwilling to perform Strategy Tester or Demo testing
- Traders who do not understand leveraged Gold trading risk
- Prop-firm/funded accounts when the recovery/averaging feature is enabled
PERFORMANCE TRANSPARENCY
Account Performance Snapshot
- Initial Deposit: $2,000
- Balance shown: $2,071.25
- Current Gain: +$71.25 (+3.56%)
Flux Twin Backtest Performance
- Initial Deposit: $500
- Net Profit: +$1,813.82
- Profit Factor: 1.48
- Recovery Factor: 4.83
- Total Trades: 165
- Max Equity Drawdown: 24.37%
- History Quality: 100%
WHAT YOU GET
1. Experts:
- EcomForex_FluxTwin_EA.ex5
2. SetFiles:
- FluxTwin_1_Conservative_LiveReady.set
- FluxTwin_2_Balanced_Standard.set
- FluxTwin_3_SmallAccount_FixedLot.set
- FluxTwin_4_Demo_HighFrequency.set
WHY CHOOSE FLUX TWIN?
Flux Twin is not built around the promise that one strategy can win in every market condition.
Instead, the architecture is based on:
Two Independent Strategy Engines
combined with:
- Confirmed Breakouts
- ADX Market-Regime Protection
- Shared Exposure Control
- Equity Hard Stop
- Daily Loss Protection
- Loss-Streak Pause
- Break-Even Management
- Trailing Protection
- Real-Time Dashboard
- 4 Ready-Made SetFiles
The focus is on building a structured, transparent, and testable trading framework rather than relying on unsupported performance claims.
FINAL SUMMARY
FLUX TWIN EA MT5 combines two different trading concepts inside one MetaTrader 5 Expert Advisor:
ENGINE A
- Trend Following + Confirmed Breakout
ENGINE B
- Mean Reversion + ADX Market-Regime Filter
Both engines are protected by a shared account-level risk framework designed to monitor total exposure and equity risk.
The result is a dual-engine XAUUSD trading system built around strategy diversification, risk control, transparency, and real-time monitoring.
RISK DISCLAIMER
Trading Forex and Gold with leverage involves a very high level of risk and may result in significant capital loss.
Flux Twin is a decision-support and trade-execution tool. It does not guarantee profits, and no backtest, forward test, historical result, or past performance can guarantee future results.
The optional recovery/averaging feature can increase risk substantially and may result in large losses if used with inappropriate settings or account sizes.
Always test the EA thoroughly in the MetaTrader 5 Strategy Tester and on a Demo Account before committing real funds.
Never risk money you cannot afford to lose.
- EA Author James Jones





