EA-21539 · Candlestick Pattern

Exp_XPeriodCandleSystem_Tm_Plus

This EA trades based on the XPeriodCandleSystem, which generates candlestick signals across multiple periods using custom candle period aggregation. It incorporates a time filter (Tm) to restrict trading to specific sessions and a Plus module for additional signal confirmation or filtering, entering positions when the composite candle pattern aligns with the trading direction.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, M30, H1, H4
IndicatorsCustom Candle Aggregation, Time Filter, ATR, Moving Average
AuthorCopyright © 2018, Nikolay Kositsin

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD-0.07%-0.06%3.07%10949.10%————Custom indicator approximated
GBPUSD+5.93%+5.13%3.91%10850.90%————Custom indicator approximated
USDJPY+2.27%+1.97%4.48%9846.90%————Custom indicator approximated
XAUUSD-2.60%-2.15%50.99%10251.50%————Custom indicator approximated

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 the XPeriodCandleSystem, which aggregates price data into custom-period candles and then identifies bullish or bearish candlestick patterns as trading signals. Entry conditions trigger a long position when the custom-period candle forms a clear bullish pattern and a short position on bearish patterns, with the Plus module potentially providing additional confirmation such as trend direction consistency or volatility filtering. Exit conditions rely on stop loss and take profit parameter settings, and may also include reverse candle pattern signals as a closing basis. Position sizing is controlled through lot size parameters, potentially supporting fixed lots or equity-based dynamic lot calculation. Money management incorporates a time filter that restricts trading to specific sessions, helping avoid low liquidity or high volatility periods that increase slippage and false signal risks. The overall strategy is a typical multi-period candlestick pattern recognition trading system that relies on pattern reliability for directional trades.

Strengths

  • Multi-period candle aggregation effectively filters market noise and improves signal quality
  • Time filter avoids trading during low liquidity sessions, reducing slippage and false signal risks
  • Plus module provides additional signal confirmation, reducing losses from false breakouts
  • Configurable stop loss and take profit parameters allow adjustment based on instrument and volatility
  • Systematic trading reduces emotional interference and ensures disciplined execution

Weaknesses

  • Candlestick pattern recognition tends to generate frequent false signals in ranging markets leading to consecutive losses
  • Fixed stop loss and take profit may not adapt to different volatility environments, potentially too tight during high volatility
  • Lacks position scaling mechanisms, unable to maximize profits during trending markets
  • Custom-period candle aggregation may produce unstable signals when data is insufficient
  • Does not account for spread and commission costs impact on short-term trading profitability

Possible improvements

  • Add adaptive stop loss mechanism that dynamically adjusts stop distance based on ATR or volatility
  • Add a trend filter (e.g., moving average direction) to reduce entries or position size on counter-trend signals
  • Add spread filtering to pause trading when spread is excessively wide to protect profit margins

Risk assessment

Overall risk: Medium

  • Candlestick pattern signals lose reliability in ranging markets, potentially causing consecutive losses
  • Fixed stop loss not adjusted for market volatility may be easily breached during extreme moves
  • Improperly configured time filter may cause missed trading opportunities during important market windows

Evaluation scores

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

Parameters

ParameterDefaultDescription
TimeFrameH1Custom candle aggregation period for XPeriodCandle signal
StopLoss400Stop loss in points
TakeProfit800Take profit in points, typically set at gap close
Lots0.1Fixed lot size (used when MMRec disabled)
TimeSessionStart08:00Trading session start time
TimeSessionEnd20:00Trading session end time
SignalPeriod12Signal line period parameter
PlusFiltertrueEnable Plus module additional signal filtering

Similar Candlestick Pattern 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.