Ultimate Weekday Reversal
- Experts
- Versione: 9.0
- Attivazioni: 5
Ultimate Weekday Reversal is an Expert Advisor for MetaTrader 5 built around a calendar idea: enter on a chosen weekday and time, hold the position for a set time, and exit on a fixed later weekday and time. It can go long, short or both, with an optional moving-average filter that either buys weakness (a "dip") or trades with the trend. The classic example is "Turnaround Tuesday" on stock indices: buy a weak Monday near the close and sell on Tuesday. The weekday, times, direction rule and hold length are all inputs, so you can test other ideas too. It holds at most one position at a time and uses market orders only.
Full user guide and example settings: https://www.mql5.com/en/blogs/post/779898
How it works
- On your entry weekday (default Monday), inside an entry window that starts at your chosen server time (default 09:05, open for 120 minutes), the EA decides a direction.
- The direction rule uses a moving average on a timeframe you choose (default a 40-day simple average on D1). Dip mode (default): buy when price is below the average and, if shorts are allowed, sell when it is above. Trend mode: buy above the average, sell below. Filter off: both sides are possible and long is preferred. You can switch longs or shorts off, and optionally wait for a break of yesterday's high (long) or low (short) first.
- The EA sends one market order. A stop loss (points, ATR multiple or percent of price) and a take profit (points, ATR, percent, or a multiple of the stop) are optional.
- Time exit: a set weekday and time (default Tuesday 19:00 server time), or a number of days later, or flat every Friday, plus an optional maximum hold in days. If an exit is missed it fires on the next tick.
- Optional break-even, trailing stop and a daily stop (equity drop or number of losing trades).
- Size: fixed lots, a lots-per-balance mode, risk percent of balance (default 1 percent), fixed money risk, or risk percent of a fixed reference balance. The risk modes need a stop; with no stop the EA uses the fixed-lot input instead.
Features
- Any entry weekday (or every day) and time window; exit by weekday, by days held, or Friday flat.
- Dip, trend or no moving-average filter; longs and shorts separately switchable.
- Stop, target, break-even, trailing and daily stop, all optional.
- Lots are calculated with the platform's own profit calculator and follow the symbol's lot step, including 0.001-lot brokers, and are cut to what free margin allows. A trade whose risk is below the minimum lot is skipped (switchable).
- Cent accounts: an option reads money inputs in USD.
- Daylight-saving shift for US or EU dates, applied to the entry and exit times.
- After a failed entry the EA waits a set time (60 seconds by default) before trying again, instead of retrying on every tick.
- Trade state is rebuilt from the account history after a restart.
- Optional news handling, off by default. For high, medium and low impact events you choose Ignore, Manage only (no new trades) or Skip (no new trades and close this EA's trades when the window starts). Events come from MetaTrader's built-in economic calendar on a live chart, or from a calendar file you provide. The built-in calendar is not available in the Strategy Tester, so news handling can only be tested with a file or with typed-in times.
- Status panel and entry, stop and target lines on the chart (visual only), a detailed log for troubleshooting, and a magic number you set.
Example settings
The screenshots use example configurations on index CFDs: the classic version on the S&P 500 (buy a down Monday ten minutes before the US close, sell the next day at the same time) and dip versions on the Nasdaq 100 and the DAX with a daily moving average. The exact settings are in the user guide. They are examples for your own testing, not tuned recommendations.
Inputs (89, in plain English)
General, entry timing, exit timing, moving-average filter, ATR, position sizing, stop loss, take profit, break-even, trailing stop, daily stop, trading days, news filter, daylight saving, chart, miscellaneous.
Defaults: Monday entry from 09:05 server time for 120 minutes, Tuesday 19:00 exit, dip mode on a 40-day D1 simple average, longs and shorts on, risk 1 percent per trade with a stop of 2 percent of price, no target, spread limit 50 points, one position at a time. The defaults are placeholders, not tuned for any symbol. The classic Monday and Tuesday setup works as-is on index CFDs only if you check the times against your broker's server clock.
Recommended use
- Start on a demo account and read the Experts log.
- Set the times for your broker's server clock, then check the daylight-saving option. A wrong clock is the most common setup error.
- Expect few trades: one trade a week at most, and in the author's own tests about 15 to 20 trades a year per market. A handful of trades can dominate any result, there are long flat periods, and conclusions from small samples are weak.
- Positions are held overnight or longer, so expect swap charges, gaps and weekend or holiday risk. A setup with no stop can lose far more than a normal loss in one gap; if you run without a stop, use a very small size.
- For timing-sensitive settings, test with "Every tick based on real ticks".
- Check that your broker's trading hours contain your entry and exit times.
What it does not do
- It does not predict or promise profit. The calendar pattern it is built on may be weaker or absent in the future.
- It does not know about holidays or special sessions unless you avoid those days with the weekday and news settings.
- No pyramiding or averaging down, unless you switch off the one-position setting yourself.
- No DLLs, no external services and no economic calendar of its own.
- It cannot prevent slippage, gaps or broker rejections, and it does not choose markets, hours or settings for you.
Risk disclosure
Trading forex, CFDs, indices, metals and crypto carries a high risk of loss and is not suitable for everyone. You can lose some or all of your deposit. Automated trading can fail through software, connection, broker or data problems. This product is software, not investment advice, a managed account or a signal service.
About the screenshots and any test results
Strategy Tester results shown with this product use example settings on historical data. They are hypothetical, chosen with hindsight, and may understate costs such as commission, spread, swap and slippage. Because the strategy makes few trades a year, results are noisy and a single trade can change them a lot. Real results will differ and will include losing periods.
Support
Use the product comments or a private message on MQL5. Please include the product version, broker, symbol, timeframe, settings and the Experts log lines. No custom coding and no individual trading advice.
5 activations are included. If you need more, message me before buying.
