← View Product & Pricing

User Guide – Month-End EA MT4

Installing, activating and configuring the EA on MetaTrader 4.

1. Installation and activation

  1. Open MetaTrader → File → Open Data Folder.
  2. Copy the source/compiled EA into MQL4/Experts; refresh Navigator or restart.
  3. Attach the EA to the index chart you want to trade and enable algorithmic trading.
  4. Under Tools → Options → Expert Advisors allow WebRequest for https://market-trader.de.
  5. Your license is checked against the registered MetaTrader account number and account type. Product slug: monatsultimo. Set AcceptTerms=true when using a REAL account.

2. Trading calendar

An enabled month schedules a BUY on or after the 26th (at the next configured trading day). The exit falls on the 5th of the following month or the preceding configured trading day. July–September are disabled for new entries by default; a June position may therefore be closed in July.

The built-in optional holiday rule covers standard NYSE full-day holidays, not all broker or exchange interruptions. For non-US indices disable EnableUSHolidays and add appropriate dates under ExtraHolidays. Executions depend on available ticks/trading connectivity; sessions that differ from the calendar can cause a missed entry or delayed exit.

3. Inputs

InputDefaultWhat it does
EntryDay26Calendar entry day (1–28)
ExitDay5Exit day of next month (1–28)
EntryTime09:00Entry in broker server time (HH:MM)
ExitTime21:55Exit in broker server time (HH:MM)
EnableUSHolidaystrueUse standard NYSE full-day holiday calendar
ExtraHolidaysblankExtra closures, e.g. 2026.12.31,2027.01.01
TradeJanuary … TradeDecemberJan–Jun/Oct–Dec trueSwitch each entry month on or off
Lots0.10Fixed order size
StopLossPoints0Stop-loss in broker points; 0 disables
TakeProfitPoints0Take-profit in broker points; 0 disables
MagicNumber52953Strategy identifier
SlippagePoints20Max deviation in points
TradeCommentMonatsultimoTrade comment
AcceptTermsfalseAccept terms; required for REAL accounts
ShowInfoBoxtrueShow the chart information panel
InfoBoxCorner10 top left, 1 top right, 2 bottom left, 3 bottom right
InfoBoxX / InfoBoxY18 / 30Distance from chart edge in pixels
InfoBoxFontSize / InfoBoxLineHeight10 / 17Font size and line spacing
InfoBoxFont / InfoBoxColorVerdana / automaticFont name and optional text color

4. Performance display

The chart panel groups realized net results by opening month, Jan–Dec and Total. Results cover only the current symbol and magic number within available account history. MT4 uses closed orders including swap and commission. MT5 adds profits, swaps, commissions and fees from associated deals. Figures use the account currency.

5. Restart and license handling

The EA checks existing trades and history to avoid repeat entries after terminal restarts. Invalid licenses block new entries, while the planned exit management continues for existing EA positions. The terminal/VPS must remain connected for automatic exits; license is refreshed about every six hours.

Important: No guarantee of return; no default stop-loss. Trading hours, slippage, margin, broker outages and exceptional holidays are not guaranteed to be handled. Test in Strategy Tester and on demo before live trading. Default times are configurable examples, not certified exchange closing times.
Get Turn Of The Month EA MT4