EA-19070 · Session Trading

Pending orders by time

This EA places pending buy and sell orders at user-specified times during the trading day. It allows traders to schedule order placements at precise moments, such as around market openings or news events, with configurable expiry, stop loss, and take profit levels for each order type.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4, D1
IndicatorsTime
AuthorCopyright © 2008, Юрий, yuriy@fortrader.ru

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

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 a time-based scheduled pending order placement system, where the trader predicts potential price breakouts or volatility at specific trading sessions and automates order deployment. Entry conditions rely entirely on user-defined time parameters — when the system clock reaches the specified hour and minute, the EA places buy stop and sell stop pending orders above and below the current price respectively. Exit conditions are implemented through independently configurable stop loss and take profit levels for each order type, along with an optional order expiration time that automatically cancels unfilled orders. Position sizing uses a fixed lot approach, with the user manually setting lot sizes for buy and sell orders separately. Money management is absent from the EA's internal logic, meaning position sizing is entirely at the trader's discretion without any dynamic adjustment based on account balance or risk percentage. Overall, this is a semi-automated utility where strategic judgment depends completely on the trader's own assessment of market session behavior.

Strengths

  • Enables automated pending order placement at specific times, eliminating the need for manual monitoring — ideal for capturing breakout moves during market opens or news events
  • Fully independent configuration for buy and sell order parameters offers high flexibility with different stop loss, take profit, and lot sizes for each direction
  • Order expiration feature prevents unfilled orders from lingering in unfavorable time periods
  • MagicNumber identification allows clear separation from other EAs or manual trades
  • Semi-automated design preserves the trader's strategic decision-making authority while automating execution

Weaknesses

  • Lacks new bar check mechanism, potentially placing duplicate orders at the same time and causing position overloading
  • No built-in money management logic — relies entirely on user-set lot sizes, which risks excessive leverage and significant losses
  • No spread filter — placing orders during high-spread periods can trigger unnecessary stop losses or suffer entry slippage
  • No check for existing positions or pending orders in the same direction, which may conflict with current holdings
  • Strategy contains no technical analysis indicators and relies purely on the trader's subjective time judgment, lacking systematic entry criteria

Possible improvements

  • Add position and same-direction pending order checks to prevent duplicate orders and position stacking risk
  • Implement dynamic position sizing based on account balance or risk percentage to improve capital safety
  • Add spread filter and trading session validation to avoid placing orders during wide spread or off-hours

Risk assessment

Overall risk: Medium

  • No position check mechanism — may place duplicate orders at the same time causing uncontrolled position accumulation
  • No dynamic money management — user may set excessively large lot sizes leading to account blow-up risk
  • No spread filter — widened spreads during volatile periods may immediately trigger stop losses

Evaluation scores

Code quality2.0
Strategy logic2.0
Risk management2.0
Robustness2.0
Innovation2.0
Documentation1.0
Overall1.8

Parameters

ParameterDefaultDescription
BuyTimeHour8Hour for placing buy pending orders
BuyTimeMinute0Minute for pending buy order placement
SellTimeHour8Hour for pending sell order placement
SellTimeMinute0Minute for pending sell order placement
BuyDistance200Distance from current price for buy pending order (points)
SellDistance200Distance from current price for sell pending order (points)
BuyStopLoss500Buy order stop loss distance (points)
BuyTakeProfit500Buy order take profit distance (points)
SellStopLoss500Sell order stop loss distance (points)
SellTakeProfit500Sell order take profit distance (points)
BuyLot0.1Buy order lot size
SellLot0.1Sell order lot size
OrderExpiration0Order expiration time (minutes, 0 = no expiration)
MagicNumber123456EA magic number to identify its own orders

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.