EA-17279 · Session Trading

21hour

The 21hour EA is a session-based trading system that operates within a specific 21-hour trading window, likely entering and exiting positions based on time-of-day rules combined with technical indicators. It systematically opens trades during designated active hours and closes or manages them outside the window or when conditions change. The EA appears designed to exploit intraday price patterns that manifest during specific trading sessions.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsMoving Average, RSI, ADX
AuthorCopyright © 2008, MetaQuotes Software Corp.

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD-7.10%-6.20%9.26%14442.70%-1.55-0.775−$5.20Reliable
GBPUSD-11.44%-10.02%13.47%14440.60%-1.95-0.856−$8.16Reliable
USDJPY-5.11%-4.45%7.85%14446.20%-0.89-0.658−$3.46Reliable
XAUUSD-51.93%-45.40%77.29%15245.70%-0.53-0.679−$36.02Reliable

Profitable on 0 of 4 markets with reliable results.

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.

Month by month

MarketMonths with a gainBest monthWorst month
EURUSD23%+1.59% 2026-09-2.54% 2026-07
GBPUSD15%+3.66% 2026-01-3.12% 2026-04
USDJPY23%+1.07% 2026-04-3.71% 2026-09
XAUUSD54%+30.79% 2026-01-37.36% 2026-02

From the backtest equity curve, sampled about every two days; only reliable results.

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 core strategy of this EA is session trading, exploiting price movement characteristics during specific time windows in the forex market. Entry conditions are likely based on specific time points within a 21-hour cycle, confirmed by trend or momentum indicators before opening positions. Exit conditions include automatic closing at session end, stop-loss and take-profit triggers, and closing on opposing signals. Position sizing may use fixed lots or a percentage of account balance. Money management likely limits the maximum number of open positions per trading window to control risk. The overall strategy relies on statistical edge during specific sessions but lacks dynamic adaptation to structural market changes.

Strengths

  • Session trading strategy exploits statistical edge during high-volatility market periods
  • Fixed trading windows help avoid slippage and false signals during low-liquidity hours
  • Systematic execution eliminates emotional interference and maintains trading discipline

Weaknesses

  • Relies on fixed time windows, unable to adapt to market structure changes like holidays or special events
  • Lacks multi-timeframe confirmation, may enter against larger trend direction
  • 21-hour window may span multiple trading sessions, ignoring liquidity differences across sessions

Possible improvements

  • Add multi-timeframe trend filter to only trade in the direction of the larger timeframe trend
  • Incorporate liquidity detection and spread filter to avoid trading during low-liquidity periods

Risk assessment

Overall risk: Medium

  • Fixed-time trading may expose to massive risk during sudden news events
  • Insufficient position checks may lead to duplicate entries

Evaluation scores

Code quality2.0
Strategy logic2.0
Risk management2.0
Robustness2.0
Innovation1.0
Documentation1.0
Overall1.7

Parameters

ParameterDefaultDescription
StartHour0Trading start time (hour)
EndHour21Trading end time (hour)
LotSize0.1Lot size per trade
StopLoss50Stop loss in points
TakeProfit100Take profit in points
MagicNumber12345EA magic number for identifying orders
MaxTrades3Maximum simultaneous positions

Similar Session Trading 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.