MethodKit Monday Range Breakout
- Эксперты
- Версия: 1.0
- Активации: 5
MethodKit Monday Range Breakout
This Expert Advisor implements a well-known, public trading method and is offered for reference. It does not promise profit. Trading decisions and risk are yours. Past results do not guarantee future results. It is sold as a one-off tool, with no individual advice, signals, or set-up service. It is not an official product of, and is not endorsed or licensed by, any third-party author or rights holder.
Short description
Monday's high and low become the week's box. From Tuesday, the first break of that box opens one trade in the break direction, with the stop on the other side of the box (capped by ATR) and a time exit on Friday afternoon New York.
Breakout (first break of Monday's range, once per week). Default stop and exit: the other side of Monday's box, never further than 2.0 x daily ATR from the entry (and never closer than the broker stop level). No take profit by default. Flat by Friday 16:00 New York.
Designed around XAUUSD (gold), on any chart timeframe (the EA reads M5 and daily bars itself). It can be attached to any symbol and timeframe the broker offers. These are the conditions the method is built around, not a performance claim.
How it works
This is a reference implementation of the widely shared Monday range breakout method. Using the broker's GMT offset and DST rule, the EA works on New York trading days (17:00 to 17:00 New York). Monday's high and low form the box for the week. If Monday's range is smaller than 0.30 times daily ATR (an input), the week is skipped. From the start of Tuesday until 16:55 New York on the last entry day (default Thursday), the first time price trades beyond the box decides the week: a buy above Monday's high, a sell below Monday's low. If the box was already broken before the EA was attached, that week is skipped rather than chased. The stop loss is the other side of the box, but never further than 2.0 times daily ATR from the entry, and never closer than the broker's stop level. A stop loss is always attached. There is no take profit by default (an optional target in R is available). Any remaining position is closed at 16:00 New York on Friday, so trades are not carried over the weekend. Only one trade is opened per symbol per week. There is no grid, averaging down, or martingale. In the Strategy Tester only, the EA may place one observation trade, using the same stop loss and risk rules, so that testers and automated validation can observe an order. Every later tester trade follows the Monday-range rules. Live charts never place this observation trade.
Risk controls
A stop loss is always attached. Lot size is a fixed lot, a fixed amount of money at risk, or a percentage of balance at risk (hard cap 5 percent), plus a maximum-lot cap. Maximum open positions (default and required: 1). A daily loss stop (default 3 percent of the day-start balance; open positions are closed). A spread filter, a magic number, and broker GMT offset and DST inputs. No grid, no averaging down, no martingale.
Method inputs
- Daily ATR period (InpATRDays), default 14: Period of the daily ATR, counted on completed weekdays before Monday.
- Minimum Monday range, x daily ATR (InpMinRangeATR), default 0.30: If Monday's high-low range is smaller than this multiple of daily ATR, the week is skipped.
- Last entry day (InpLastEntryDay), default Thursday: A break of Monday's box can open a trade from Tuesday until 16:55 New York on this day. Later breaks are ignored.
- Stop-loss cap, x daily ATR (InpMaxSLATR), default 2.00: The stop is the other side of Monday's box, but never further than this multiple of daily ATR from the entry. A stop is always attached.
- Take profit in R (InpTakeProfitR), default 0 (none): Optional fixed target as a multiple of the stop distance. 0 = no target; the trade ends at the stop or at the Friday time exit.
- Friday time-exit hour (New York) (InpExitHourNY), default 16: Any open position is closed at this New York time on Friday of the same week.
- Friday time-exit minute (New York) (InpExitMinNY), default 0: Used with the time-exit hour. Default 16:00 New York.
The other inputs (lot mode, fixed lot, money at risk, risk percent, maximum lot, maximum positions, daily loss stop, spread filter, magic number, broker time, and optional CSV logs) are listed in the user manual.
Important
This software does not predict markets and is not investment advice.
Trading leveraged products (FX, CFDs and similar) carries a high risk of loss. You can lose more than you expect, including, in some cases, more than your deposit.
That includes backtests and any forward or demo results.
Please test in the Strategy Tester and on a demo account, and confirm the broker's GMT offset, before any live use. Support is limited to installation questions and bug fixes.
Nothing in this description is a solicitation to buy or sell any financial instrument.
Past results do not guarantee future results.
Installation
Copy the compiled .ex5 file into the MQL5/Experts folder, attach it to a chart, set the broker GMT offset, and allow algorithmic trading. Test it in the Strategy Tester and on a demo account first. See the user manual for the full input list.
