Turnaround EA
- Experts
- Ionut-alexandru Margasoiu
- Versão: 1.10
- Ativações: 5
What Is It?
Turnaround EA is a rules-based algorithmic trading Expert Advisor for MetaTrader 5, built around one of the most documented weekly seasonal patterns in the forex market — the early-week mean-reversion tendency. The EA opens a single long position at a configured time on a chosen entry day, holds through the week, and closes automatically at a pre-set exit time. No discretion. No missed signals. Pure automation.
The Edge
Markets have a statistically observable tendency to dip early in the week and recover by Tuesday or Wednesday. This is the "Turnaround Tuesday" anomaly, discussed extensively in quantitative research. This EA captures that edge systematically, week after week, with strict entry conditions that filter out unfavorable market states.
How It Works
Step 1 — Trend Filter Before any entry, the EA verifies that the current price is below the Daily SMA (configurable period, default 200). Only oversold, mean-reverting conditions qualify. If the market is in a strong uptrend — above the SMA — the EA stands aside. No forcing trades in the wrong environment.
Step 2 — Timed Entry At the configured entry day and time (default: Monday, 22:55), a single long position is opened. Lot size is calculated dynamically based on your chosen risk method — either a fixed percentage of account balance or a percentage of a defined base capital. One trade per week. Nothing more.
Step 3 — Scheduled Exit The position is closed at the configured exit day and time (default: Tuesday, 22:55). No trailing stops, no emotional decisions. If the primary exit window is missed for any reason, an automatic safety close triggers on the next available session.
Key Features
Fully Configurable Entry & Exit Days Not just Monday/Tuesday — any day of the week can be set as entry or exit, including cross-week windows (e.g., Friday entry → Monday exit). The EA handles ISO-week state tracking correctly across weekends.
Daily SMA Trend Filter Entries require price to be below the Daily SMA. This single filter dramatically reduces the number of trades taken in unfavourable trending conditions, keeping the strategy honest to its mean-reversion premise.
Dynamic Lot Sizing Two risk modes: percentage of live account balance, or percentage of a fixed base capital. Stop-loss distance is factored into the calculation automatically. Broker minimum stop level is enforced and clamped as needed.
Drawdown Circuit Breaker Optional daily and total drawdown limits. If equity drops beyond the configured threshold, the EA closes the position and halts trading for the session. A simple, effective capital protection layer.
Intelligent HUD Panel A real-time on-chart panel displays balance, equity, day P&L, total P&L, win rate, current trend filter status, session schedule, position details (entry, SL, floating P&L, estimated SL-hit value), and EA status. The panel is colour-coded and updates live. Persists across EA restarts using GlobalVariables.
Robust State Management Weekly trade state is tracked using ISO week numbers — no duplicate entries after a restart or setfile reload. If the EA is restarted mid-trade, it detects the open position and resumes correctly.
Structured Logging Four-level logging system (Error / Warn / Info / Debug) with configurable verbosity. Clean, readable journal output for monitoring and diagnostics.
Who Is This For?
- Traders who want exposure to a well-documented seasonal pattern without manual execution
- Accounts running a portfolio of EAs who need a low-frequency, uncorrelated strategy
- Traders who value strict risk controls and want to know the EA will protect capital automatically
- Anyone tired of missing entries by a few minutes due to distraction or timezone issues
What It Is Not
This is not a scalper, a martingale, or a grid system. It does not trade multiple positions simultaneously. It does not hold trades indefinitely. It opens one position per week under specific conditions, and closes it on schedule. Simplicity is the design goal — and the risk profile reflects that.
Technical Specifications
- Platform: MetaTrader 5
- Language: MQL5
- Timeframe: Any (filters use Daily data internally)
- Trading style: One long per week, time-based exit
- Instruments: Forex majors and minors (designed for EURUSD, GBPUSD, AUDUSD and similar)
- Risk modes: % of balance / % of base capital
- SL: Optional percentage-based, broker-enforced minimum clamped automatically
Built by equinox — algorithmic trading tools engineered for live deployment.
