NightAnchor
- Experts
- Versão: 1.0
- Ativações: 10
NightAnchor
NightAnchor trades one clear edge: the quiet drift and snap-back that appears across major and cross currency pairs in the hours around the New York close. It is a night-session mean-reversion system that works a basket of up to twenty forex pairs from a single chart. Wins are frequent and small, and every position is bounded by a wide stop loss. Most trades close the same night, though a minority are held longer while the exit ladder works; see the honest notes below.
Live signal
NightAnchor runs on a real, live account. You can follow or copy every trade on the public signal: https://www.mql5.com/en/signals/2380654
Strategy
About one hour before the New York close, NightAnchor places a pair of pending limit orders around each enabled pair, one buy limit below price and one sell limit above. When the thin overnight session stretches one side too far, that limit fills and the system harvests the mean-reversion move back toward the anchor with a small target of roughly eight to eleven pips, assisted by a time-decay exit ladder that gradually lowers the target the longer a position is held. The opposite, unfilled order is cancelled when the night window closes. The whole cycle is driven off server time, so the system reads the price data it needs internally and does not depend on the chart timeframe or the chart symbol.
Before any pending order is allowed to fill, the system re-checks the market regime and cancels orders that sit in a toxic condition, such as a deep trend-following extension or a sudden volatility expansion. Because the trade is never opened in those conditions, the system neither chases a false reversion nor holds through the run. In testing, this entry filter raised the profit factor and lowered the drawdown in every real-tick window tested; it trades a little less, so raw net profit is similar, but the risk-adjusted result is better.
Built-in protection
Risk is limited by structure rather than hidden. The night window is short and most positions close the same night: the fast take-profit closes many within the first hour, and a time-decay ladder gradually lowers the target on the rest. A position that is still underwater when the ladder reaches its last rung is held until it recovers to a small loss or reaches its stop, so in testing a minority of positions were held up to about half a day and a few carried into the next day, each one bounded by its stop. Each pair carries a wide stop loss of forty to eighty pips that acts as a catastrophe backstop, and the system warns you if you set a stop too tight, because nightly rollover spread spikes can otherwise trigger it. A configurable equity stop halts new orders on a large account drawdown; it does not close open positions, which run to their stops. The system refuses to start on a netting account, because the two-sided straddle logic requires hedging. Position sizing, the equity stop, and every internal threshold adapt automatically to the account currency, so the system runs the same on a yen, dollar, or euro account. Broker symbol prefixes and suffixes are resolved automatically, and the server time-zone and daylight-saving offset are measured live rather than assumed.
On-chart dashboard
A compact status panel on the chart shows the trading-window countdown, the broker environment (account mode, GMT offset, order limits), each pair's current spread compared with its own limit, tonight's orders and fills, weekly statistics, and the reason whenever the system is idle, such as weekend, holiday break or spread too wide. You always know what the EA is doing and why. The panel can be switched off with a single input.
Backtest results
Tested in the MetaTrader 5 tester on USDCHF, M5 chart, 1:100 leverage, fixed 0.01 lot, starting balance 320,000 JPY, all 20 pairs enabled (the default configuration). Every figure below comes from real-tick testing over the full 18 months of tick history available from the broker (2025.01-2026.07). We deliberately publish no one-minute OHLC results: that model is too optimistic for a limit-fill strategy, and real ticks are the honest expectation. The table doubles as the tuning guide for the Trade pace setting - each row is one selectable pace step, and the default is 1.60, the step with the best profit factor.
Trade pace | Trades | Win rate | Profit factor | Net profit | Max equity DD
1.70 | 247 | 92.3% | 4.75 | +16,720 JPY | 1%
1.60 (default) | 281 | 92.5% | 4.82 | +18,278 JPY | 1%
1.50 | 331 | 92.7% | 4.37 | +20,042 JPY | 1%
1.40 | 375 | 91.5% | 4.31 | +21,566 JPY | 1%
1.30 | 439 | 90.2% | 3.71 | +22,011 JPY | 1%
1.20 | 499 | 89.6% | 3.39 | +23,091 JPY | 1%
1.10 | 583 | 89.0% | 2.97 | +23,967 JPY | 1%
1.00 | 697 | 87.4% | 2.67 | +24,778 JPY | 1%
Faster pace steps place the entry orders closer to the market: more orders fill, so trades and absolute net profit increase, but each additional trade carries a thinner edge, so the profit factor and win rate decline. Pick the row whose trade-off you want. The results above use the most conservative sizing of 0.01 lot per 320,000 JPY; net profit scales with lot size when you keep the lot proportional to your balance. The news filter is inactive in the tester because MetaTrader has no calendar there, and it is active in live trading, so a live account trades slightly fewer nights than any backtest shows. Past performance does not guarantee future results.
Quick start
Copy the file into the Experts folder and refresh the Navigator. Attach NightAnchor to one chart; USDCHF on the M5 timeframe is recommended, and the system is chart-independent. Allow algorithmic trading. The EA is ready to run with its default settings (all 20 pairs enabled); a matching set file is provided in the Comments section. Check the journal, where the system prints a startup report that must show a hedging account, your server GMT offset, tonight's trading window in server time, and the list of resolved symbols. If a symbol does not resolve, set the symbol prefix or suffix manually. Deploy and restart during the server daytime, not inside the night window.
Requirements
A hedging account is required, because netting accounts are refused. A tight-spread or raw-spread broker is recommended, since the calibration was tuned on a raw-spread feed and wider-spread brokers simply trade less. Leverage of 1:100 or higher is recommended. Any account currency is supported. Funding of about 150,000 to 320,000 JPY or the equivalent per 0.01 lot is recommended, and this funding floor is important to the safety of the system. A VPS is recommended, because the trading window occurs every night around server time 23:50 to 00:50 and the terminal must be running then.
Settings
All strategy logic is built in and pre-tuned, and most users simply attach the EA and leave everything at default. All 20 pairs are enabled by default, and each pair has its own on/off switch, so you can run a reduced basket if you prefer. You control position sizing with one-click levels: fixed 0.01 lot, the default, risk 1, 2, or 3 percent per leg, or fully manual settings. Risk levels above 1 percent size beyond the recommended funding floor of about 150,000 JPY, or roughly 1,000 USD, per 0.01 lot. To be concrete about the magnitude: the worst case measured in the safety audit, every CHF-correlated position stopped out simultaneously, is about 7 percent of the account at the default Fixed 0.01 on a 320,000 JPY account, but corresponds to about 14 percent at Risk 1, about 29 percent at Risk 2, and about 43 percent at Risk 3. These levels exist for buyers who understand those numbers and explicitly want that trade-off, and the EA prints a journal warning when one is selected. You also control the equity stop percentage, the maximum spread multiplier, and the trading days, with Friday night off by default to avoid weekend gaps. The per-pair stop losses are exposed but should not be lowered below the recommended floor. The Trade pace setting selects how close to the market the entry orders are placed, in eight steps from 1.00 to 1.70 (default 1.60). Broker feeds differ widely in spread and tick density, so the same pace fills very differently from broker to broker; watch a few weeks of forward trading on your feed, then move one step faster if you want more trades or one step slower if you want fewer. The real-tick results for every step are in the table above.
Honest notes
This is a hold-to-recovery strategy, which means the momentary floating loss on an open position can be deeper than the realized drawdown shown in a report, so size accordingly and keep the lot proportional to your balance. Keeping the funding floor of at least 150,000 JPY per 0.01 lot is part of what keeps the worst case small. The wide per-pair stops are load-bearing and should not be tightened. Positions are not always closed quickly: a trade that is still underwater when the exit ladder runs out is held until it recovers or hits its stop, which can extend into the next day and, in an extreme case, across a weekend. A discontinuous gap while a position is open is therefore a real tail risk that a stop cannot fully neutralize, and because the basket is concentrated in Swiss-franc pairs several positions can face the same shock at once. This is why the window is kept short, Friday nights are off by default, sizing must stay conservative, and the equity stop is in place. The edge is night mean-reversion, which is regime dependent and can decay, so please test on a demo account first and start with the default settings at conservative sizing. Also note that trade frequency naturally varies with the broker feed and the market regime; anywhere from zero to a few trades per week is normal, and the long-run average on the validated feed is about three trades per week at the default pace, and the Trade pace setting adjusts the frequency itself. The EA initializes its volatility reference from price history on attach, so it trades at its normal pace from the first night.
More from this developer
Expert Advisors:
KairosGold, XAUUSD gold: https://www.mql5.com/en/market/product/183200
BullionForge, XAUUSD gold: https://www.mql5.com/en/market/product/182722
WeekAnchor Eight, eight JPY and CHF crosses: https://www.mql5.com/en/market/product/180321
YenAnchor GBPJPY, free: https://www.mql5.com/en/market/product/182789
PhaseFlow Fusion, XAUUSD and BTCUSD, free: https://www.mql5.com/en/market/product/183202
Live signals:
KairosGold: https://www.mql5.com/en/signals/2380655
BullionForge: https://www.mql5.com/en/signals/2379035
WeekAnchor Eight: https://www.mql5.com/en/signals/2378669
Seller page: https://www.mql5.com/en/users/masa999/seller
If anything is unclear, please leave a message in the Comments; I answer personally and I am glad to help. Honest feedback of any kind is genuinely welcome, whether your review is positive or critical, because it helps me improve the product. Thank you for your interest in NightAnchor.
