NightFollow Gold: user guide and settings

22 November 2026, 02:17
Nurali Sulaymanov
0
5

NightFollow Gold — User Guide

This guide covers installation, the right chart and timeframe, broker time settings, risk profiles, how to check that the EA works, and how to reproduce the backtest.

1. REQUIREMENTS

  • MetaTrader 5, any broker with XAUUSD (gold). Netting and hedging accounts are both supported.
  • Recommended deposit: from $2,000 for the default profile (0.01 lot at $2,000).
  • Low gold spread: typical XAUUSD spread below 0.03% of price (about $1 at $3,500).
  • The terminal must stay online during the New York morning. A VPS is recommended.

2. CHART AND TIMEFRAME

  • Attach the EA to an XAUUSD chart. If your broker names gold differently (XAUUSDm, GOLD, XAUUSD.r), use that chart.
  • Any timeframe works the same. The EA works by New York clock time and reads M1 history internally, so the chart timeframe does not change its trades. We checked it: M5, M15 and H1 backtests gave identical results (+$20,940, 1262 trades). We recommend M15 simply because the chart is easy to read.
  • Use one chart = one copy. Running two copies on the same symbol with the same Magic number is not needed.

3. INSTALLATION — STEP BY STEP

  1. Buy or rent the EA in the Market. It appears in the Navigator: Expert Advisors → Market → NightFollow Gold.
  2. Open an XAUUSD chart and drag the EA onto it.
  3. On the "Common" tab enable Allow Algo Trading. Make sure the Algo Trading button on the terminal toolbar is green.
  4. On the "Inputs" tab press Load and choose one of the preset files (Conservative / Balanced / Aggressive), or set the values by hand (see section 5).
  5. Press OK. The EA name and its icon appear in the top-right corner of the chart.

4. BROKER TIME — THE ONE SETTING THAT MATTERS

The EA trades at 08:00 and 16:00 New York time, so it must know your broker's server time.

  • Live trading — nothing to do. With AutoUtcOffset = true (default) the EA measures the server offset itself and follows summer/winter changes. On start it writes to the Experts log: "Server time offset detected: UTC+N". Make sure your PC clock and time zone are set correctly.
  • Strategy Tester or manual mode uses ServerUtcOffset and ServerUsesUsDst:
    • Server on UTC all year (e.g. Exness): ServerUtcOffset = 0, ServerUsesUsDst = false.
    • Server GMT+2 in winter and GMT+3 in summer (very common): ServerUtcOffset = 2, ServerUsesUsDst = true.
    • Other fixed offset: ServerUtcOffset = that number, ServerUsesUsDst = false.
  • How to check your broker: compare the time in the Market Watch window with the current UTC time. The difference in hours is your offset.

5. RISK PROFILES

Position size follows your balance: LotPer1000 = lot per each $1,000. Backtest, real ticks, Exness XAUUSD, 2022–2026, start $10,000:

  • Conservative — LotPer1000 = 0.0025: net +$6,244, max equity drawdown 11.8%.
  • Balanced (default) — LotPer1000 = 0.005: net +$20,940, max equity drawdown 23.6%.
  • Aggressive — LotPer1000 = 0.01: net +$65,748, max equity drawdown 44.2%.

Rule of thumb: the drawdown roughly doubles when you double LotPer1000. Choose the drawdown you can live with, not the profit you want. Prefer a fixed lot? Set LotPer1000 = 0 and FixedLot to your lot. MaxLot caps the size in any mode.

6. A NORMAL TRADING DAY

  • 08:00–08:30 New York — one entry, BUY or SELL in the direction of the overnight move, with the stop-loss already attached. The Experts log shows a line like "BUY 0.05: overnight move +12.40000 from 3501.20000".
  • During the day — the EA does nothing else: no extra entries, no stop moving.
  • 16:00 New York — the position is closed.
  • No trade today? Normal reasons: weekend, spread too wide at entry time (MaxSpreadPct), overnight move smaller than MinMovePct, the terminal was offline at 08:00–08:30 NY, or not enough free margin (logged once).

New York 08:00 is 12:00 UTC in summer and 13:00 UTC in winter.

7. ALL SETTINGS

  • LotPer1000 (0.005) — lot per $1,000 of balance. 0 = FixedLot.
  • FixedLot (0.01) — fixed lot when LotPer1000 = 0.
  • MaxLot (0.50) — upper limit of the lot.
  • UseMinLot (true) — trade the broker's minimum lot if the calculated lot is smaller.
  • StopPct (1.0) — stop-loss distance in % of price. We do not recommend 0 (no stop).
  • MinMovePct (0) — minimal overnight move in % needed to enter.
  • EntryHour / ExitHour (8 / 16) — entry and exit hour, New York time.
  • AutoUtcOffset (true) — live: detect the server time offset automatically.
  • ServerUtcOffset (0) — manual offset (winter), hours; used in the tester or when AutoUtcOffset = false.
  • ServerUsesUsDst (false) — manual mode: the server adds +1 hour during US summer time.
  • MaxSpreadPct (0.03) — skip the entry if the spread is wider than this % of price.
  • Magic (20261122) — magic number of the EA's trades.

8. REPRODUCE THE BACKTEST

  1. Strategy Tester → Expert: NightFollow Gold, Symbol: XAUUSD, Timeframe: M15 (any).
  2. Modelling: Every tick based on real ticks. Dates: 2022.01.01 – today.
  3. Deposit 10,000 USD, leverage 1:200 or higher.
  4. Inputs: your profile + ServerUtcOffset / ServerUsesUsDst for your broker (section 4).
  5. Start. Results will differ a little between brokers because of different spreads and commissions.

9. TROUBLESHOOTING

  • No trades at all — check the green Algo Trading button, "Allow Algo Trading" in the EA properties, the symbol (XAUUSD chart), and the Experts log for messages.
  • Trades open at the wrong hour — the server offset is wrong: check "Server time offset detected" in the log and your PC clock; in manual mode check ServerUtcOffset / ServerUsesUsDst.
  • "Entry skipped: free margin is too low" — deposit too small for the minimum lot, or other positions use the margin.
  • Position not closed at 16:00 on a holiday — the market was closed; the EA retries every minute and closes at the first opportunity.

10. RISK REMINDER

Backtest results are not live results. The strategy depends on gold moving with direction; in flat markets it can have losing months. Use money you can afford to lose and the risk profile you are comfortable with.

Questions? Write to me in private messages on MQL5.