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
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | -0.07% | -0.06% | 3.07% | 109 | 49.10% | — | — | — | — | Custom indicator approximated |
| GBPUSD | +5.93% | +5.13% | 3.91% | 108 | 50.90% | — | — | — | — | Custom indicator approximated |
| USDJPY | +2.27% | +1.97% | 4.48% | 98 | 46.90% | — | — | — | — | Custom indicator approximated |
| XAUUSD | -2.60% | -2.15% | 50.99% | 102 | 51.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
Parameters
| Parameter | Default | Description |
|---|---|---|
TimeFrame | H1 | Custom candle aggregation period for XPeriodCandle signal |
StopLoss | 400 | Stop loss in points |
TakeProfit | 800 | Take profit in points, typically set at gap close |
Lots | 0.1 | Fixed lot size (used when MMRec disabled) |
TimeSessionStart | 08:00 | Trading session start time |
TimeSessionEnd | 20:00 | Trading session end time |
SignalPeriod | 12 | Signal line period parameter |
PlusFilter | true | Enable Plus module additional signal filtering |
Similar Candlestick Pattern EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.