EA-21144 · Multi-Timeframe

Exp_XPeriodCandle_X2

This EA is a two-candle trading system that uses custom XPeriod candle indicators across multiple timeframes to generate trading signals. It compares two consecutive XPeriod candles to determine trend direction and enters positions when both candles align in the same direction, serving as an expert advisor wrapper that orchestrates signal generation and trade execution.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsXPeriod Candle, Custom Indicator
AuthorCopyright © 2018, Nikolay Kositsin

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.

Blow-up risk: No blow-up pattern found

None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.

High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →

Strategy analysis

The strategy concept is based on a dual-candle confirmation pattern using custom XPeriod candles, determining market direction by comparing the open-close relationships of two consecutive XPeriod candles. Entry conditions require that both the first and second XPeriod candles close in the same direction (both bullish or both bearish), with confirmation across two timeframes before opening a long or short position. Exit conditions rely on the appearance of a reverse signal, meaning positions are closed when the XPeriod candle sequence shows an opposing arrangement. Position sizing uses a fixed lot approach with the trade volume set through input parameters, lacking any dynamic position increase or decrease mechanism. In terms of money management, the EA provides stop-loss and take-profit parameters, but the core exit relies on signal reversal rather than volatility-based dynamic stop calculations. Overall, this is a multi-timeframe trend confirmation system that uses directional consistency of candles across dual timeframes to filter out false signals.

Strengths

  • Dual-timeframe confirmation mechanism effectively filters single-timeframe false signals, improving entry quality
  • XPeriod custom-period candles are more flexible than traditional timeframes, adapting to different market rhythms
  • Dual-candle confirmation logic is simple and clear, making it easy to understand and backtest

Weaknesses

  • Fixed lot position sizing lacks flexibility, with no dynamic adjustment based on account equity or volatility
  • Default stop-loss and take-profit are zero, creating risk of trading without protective stops
  • Relying solely on signal reversal for exits can lead to significant drawdowns during volatile market conditions

Possible improvements

  • Add ATR-based dynamic stop-loss and take-profit calculation to adapt protection levels to market volatility
  • Implement a money management module that automatically calculates optimal lot size based on account balance and risk ratio

Risk assessment

Overall risk: Medium

  • Default stop-loss and take-profit parameters are zero, leaving no protective stops if the user forgets to configure them
  • Exits rely entirely on signal reversal, lacking maximum drawdown limits or time-based stop mechanisms

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation3.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
SoundCVtrueSound notification switch
StopLoss0Stop loss in points, 0 means no stop loss
TakeProfit0Take profit in points, 0 means no take profit
TradeVolume0.1Fixed trading lot size
Timeframe1PERIOD_CURRENTFirst timeframe period
Timeframe2PERIOD_CURRENTSecond timeframe period
XPeriod110XPeriod indicator period for first timeframe
XPeriod220XPeriod indicator period for second timeframe

Similar Multi-Timeframe EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.