EA-16728 · Session Trading

Opening and Closing on Time

This EA automatically opens and closes positions at user-specified times of day, allowing traders to exploit time-based market patterns such as session opens or scheduled volatility windows. It places market orders at designated times and closes all positions at a specified closing time, functioning as a simple time-based trading system. The EA relies purely on time triggers rather than technical indicators for entry and exit decisions.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskHigh risk
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4, D1
IndicatorsNone
AuthorCopyright © 2016, Vladimir Karputov

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

  • Has no stop loss or trailing stop

On its own this is not a typical blow-up pattern, 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 session trading philosophy, where specific time windows exhibit statistically predictable market behavior patterns, such as increased volatility during London or New York session opens. Entry conditions are triggered purely by user-configured opening times, with the EA automatically executing market buy or sell orders when the designated time is reached, without relying on any technical indicator analysis. Exit conditions are similarly time-driven, where the EA closes all open positions when the user-specified closing time arrives. Position sizing uses a fixed lot parameter without any dynamic adjustment mechanism, requiring the user to manually set the trade volume. Money management is relatively weak, as there is no dynamic stop-loss or take-profit calculation, relying solely on time-based closing as the only risk control measure, lacking consideration for market volatility and account equity.

Strengths

  • Simple and intuitive strategy logic that is easy to understand and configure, suitable for beginners
  • Leverages session effects to capture directional opportunities during high-volatility periods
  • Time-triggered mechanism avoids emotional trading, strictly executing predetermined plans
  • No complex technical indicators needed, reducing issues with indicator lag and false signals

Weaknesses

  • Relies entirely on time triggers without considering current market state or trend direction, potentially forcing entries in unfavorable conditions
  • Lacks stop-loss and take-profit mechanisms, exposing the account to significant losses if the market moves sharply before the closing time
  • Fixed lot sizing without dynamic position management cannot adjust risk exposure based on account size and market volatility
  • No new bar check mechanism, potentially opening duplicate positions within the same time window

Possible improvements

  • Add technical indicator filters such as trend direction or volatility thresholds to avoid blind entries in unfavorable market conditions
  • Implement stop-loss and take-profit parameters along with trailing stop functionality to enhance risk management
  • Implement dynamic position sizing based on account equity and ATR to match risk exposure with market volatility

Risk assessment

Overall risk: High risk

  • No stop-loss protection, which can cause severe losses during extreme market volatility
  • No position check or new bar check, potentially leading to duplicate positions or overexposure
  • Fixed lot sizing ignores account size, small accounts may be quickly wiped out by oversized single trades

Evaluation scores

Code quality2.0
Strategy logic2.0
Risk management1.0
Robustness2.0
Innovation2.0
Documentation1.0
Overall1.7

Parameters

ParameterDefaultDescription
OpenHourunspecifiedEntry hour
OpenMinuteunspecifiedEntry minute
CloseHourunspecifiedClose hour
CloseMinuteunspecifiedClose minute
Lots0.1Fixed trading lot size
OrderTypeunspecifiedOrder type (buy or sell)

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.