Timer Trade
This EA places alternating Buy and Sell orders on a fixed timer interval, creating a hedging position system. Each trade includes a Stop Loss and Take Profit, and the direction alternates between buy and sell on each timer trigger.
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.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.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 strategy concept is purely time-driven trading based on a timer, automatically opening positions at fixed intervals with alternating buy and sell directions to create a hedging layout. Entry conditions rely entirely on the timer event with no technical indicators or price analysis — a trade is placed every time the timer fires. Exit conditions depend on fixed Stop Loss (10 points) and Take Profit (50 points) levels, giving a risk-reward ratio of 1:5. Position sizing uses a fixed lot size (TradeValue parameter) with no dynamic adjustment based on account equity or market volatility. Money management is completely absent — there is no check on account balance, existing position count, or maximum position limits, which could lead to unlimited accumulation of hedged positions.
Strengths
- Strategy logic is simple and intuitive, easy to understand and deploy
- Stop Loss to Take Profit ratio of 1:5 provides a favorable risk-reward per trade
- Alternating buy/sell creates natural hedging, partially reducing directional risk
- Uses the standard CTrade library for clean and conventional order execution
Weaknesses
- No technical analysis whatsoever — entries are purely time-based, ignoring market conditions entirely
- No position count check — the timer continuously firing leads to unlimited position accumulation
- Stop Loss of only 10 points is extremely tight and easily triggered by market noise
- No new bar check or trading session filter — may open positions during low liquidity periods
- Bug: EventSetTimer uses TimerTime*100, making actual interval far longer than the intended value
Possible improvements
- Add maximum position count limit and account equity check to prevent unlimited position accumulation
- Add technical indicators as entry filters to avoid trading in unfavorable market conditions
- Fix the EventSetTimer parameter bug — should be TimerTime instead of TimerTime*100
- Add trading session filter and spread check to avoid trading under adverse conditions
Risk assessment
Overall risk: High risk
- No position count limit — continuous timer triggers cause unlimited position opening and massive accumulated risk
- 10-point stop loss is too tight and easily triggered, leading to frequent losses
- EventSetTimer parameter bug causes actual trading interval to severely mismatch the expected value
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
TimerTime | 30 | Timer interval in seconds |
TradeValue | 1 | Lot size per trade |
StopLossLevel | 10 | Stop loss distance in points |
TakeProfitLevel | 50 | Take profit distance in points |
Similar Hedging EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.