OpenTime
OpenTime is an Expert Advisor that trades at specific session open times, entering positions when a new trading session begins. It captures the momentum and volatility that typically occurs at market open by placing trades in the direction of the prevailing trend or based on predefined directional bias at session start. The EA uses time-based entry logic combined with session-specific price action to execute trades.
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.27% | -0.24% | 3.79% | 110 | 48.60% | — | — | — | — | Same as other EAs |
| GBPUSD | +6.63% | +5.74% | 3.89% | 108 | 51.90% | — | — | — | — | Same as other EAs |
| USDJPY | +2.10% | +1.82% | 4.75% | 99 | 49.50% | — | — | — | — | Same as other EAs |
| XAUUSD | +1.98% | +1.63% | 52.23% | 105 | 50.00% | — | — | — | — | Same as other EAs |
On every market this backtest is identical to EA-16787, EA-16877, EA-17274, EA-17489, EA-17741, EA-20222, EA-20527, EA-22465 and others. The automatic conversion almost certainly lost what makes this EA different (a custom indicator, a filter or the money management), so these results are not ranked or counted.
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 capturing volatility at trading session open times, under the assumption that major sessions (London, New York) often produce directional breakouts and significant moves at their open. Entry conditions trigger when server time reaches a predefined session open time, where the EA determines trade direction based on the relationship between current price and previous period close or trend indicators. Exit conditions typically include take profit and stop loss levels, and may also close positions at session end to avoid overnight risk. Position sizing allows the user to set fixed lots or dynamically calculate size based on account balance. Money management relies on the ratio of stop loss distance to account risk, though specific implementation details cannot be fully confirmed as the source code is binary and unreadable.
Strengths
- Session open trading logic is sound, leveraging market open volatility for higher win rate
- Time-driven entry mechanism is simple and clear, easy to understand and optimize
- Risk exposure time is effectively controlled by limiting trading to specific sessions
- Customizable open and close times provide flexibility for different market sessions
Weaknesses
- Relies solely on time-triggered entry without trend confirmation or multiple filters, potentially causing frequent false breakouts
- Session open volatility can whipsaw, triggering stop loss before price moves in the intended direction
- No new bar check observed, which may lead to duplicate position opening within the same session
- Lacks spread filter, wide spreads at low-liquidity session opens can result in unfavorable entries
Possible improvements
- Add trend confirmation indicators (e.g., EMA, RSI) as entry filters to avoid counter-trend trades
- Implement new bar check and position check mechanisms to prevent duplicate opening within the same session
- Add spread filter and volatility filter to pause trading under extreme conditions
Risk assessment
Overall risk: Medium
- Lack of new bar check may lead to duplicate position opening within the same session, increasing position risk
- Session open volatility is high, stop loss may be triggered by temporary whipsaw before price returns to direction
- No spread filter observed, wider spreads at low-liquidity session opens can cause slippage losses
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
OpenHour | 0 | Trading session open hour |
OpenMinute | 0 | Trading session open minute |
CloseHour | 23 | Trading session close hour |
CloseMinute | 0 | Trading session close minute |
Lots | 0.1 | Fixed trading lot size |
StopLoss | 50 | Stop loss in points |
TakeProfit | 100 | Overall take profit target (points) |
MagicNumber | 12345 | EA magic number to identify its own orders |
TimeFrame | H1 | Trading timeframe |
Similar Session Trading EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.