MethodKit Month End Window EA
- Experts
- Versione: 1.0
- Attivazioni: 5
MethodKit Month End Window EA
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.
Short description
On the last business day of the month, opens at a set London time in the direction of the prior 120-minute move and closes after a set holding time, or at the stop loss.
Time-based (last business day of the month, London window). Default stop and exit: Method's own level = ATR(H1, 14) x 1.5; no take-profit by default; exit after 45 minutes.
Designed for USDJPY, EURUSD and GBPUSD on the H1 or M15 chart. Because it only trades near month end, short test windows that do not include a month end will show no trades. Set the broker server GMT offset and DST rule. 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
The calendar filter is set, by default, to the last business day of the month (N = 1, adjustable; it can be switched to the first business days instead). Weekends are not counted. At 15:30 London time (adjustable), with a 15-minute entry window, the EA follows the price move of the previous 120 minutes (it can instead fade that move, or always buy, or always sell). London daylight saving time is applied. The stop is ATR(H1, 14) x 1.5 from the entry. There is no take-profit by default. The position is closed after 45 minutes (adjustable), or at the stop loss. Set InpServerGMT and InpServerDST to the broker's server time. A stop loss is always attached. There is no grid, averaging down, or martingale.
Shared risk controls
A stop loss is always attached. Lot size is a fixed lot or a percentage of equity at risk (hard cap 5 percent), plus a maximum-lot cap. Maximum open positions (default 1). A daily loss stop (default 3 percent of the day-start balance). A spread filter, a magic number, and broker GMT offset and DST inputs. No grid, no averaging down, no martingale.
Method inputs
- Time zone (InpTWZone), default London (UTC+0 / BST UTC+1): Times below are local to this zone (London DST or Tokyo with no DST, depending on the setting).
- Entry time, minutes after 00:00 (InpTWEntryMin), default 930 (15:30): Start of the entry window in the chosen zone.
- Entry window (minutes) (InpTWWindow), default 15: How long after the entry time a new trade may still be opened.
- Holding time (minutes) (InpTWDuration), default 45: The position is closed after this many minutes, or at the stop loss.
- Direction rule (InpTWMode), default Follow the move of the lookback period: Always buy, always sell, follow the lookback move, or fade it.
- Lookback for follow / fade (minutes) (InpTWLookback), default 120: Length of the move used when the direction rule is follow or fade.
- Calendar filter (InpTWCalendar), default Last N business days of the month: Any day, the last N business days of the month, or the first N business days. Weekends are skipped.
- N business days for the calendar filter (InpTWCalN), default 1: Used only when the calendar filter is month-end or month-start.
- Trade Monday (InpTWMon), default true: If true, Monday is included.
- Trade Tuesday (InpTWTue), default true: If true, Tuesday is included.
- Trade Wednesday (InpTWWed), default true: If true, Wednesday is included.
- Trade Thursday (InpTWThu), default true: If true, Thursday is included.
- Trade Friday (InpTWFri), default true: If true, Friday is included.
- SL = ATR(H1, 14) x this (InpTWSLATR), default 1.5: Stop distance in units of the H1 ATR(14), used when stop-loss mode is the method's own level.
The common inputs (lot mode, fixed lot, risk percent, maximum lot, stop-loss mode, maximum positions, daily loss stop, spread filters, magic number, broker time, and the others listed in the user manual) are the same as in the other MethodKit EAs.
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.
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.
