Swing high / swing low
On every closed bar of the configured timeframe (sw_custom_tf, default M15), the EA checks whether a swing point has just confirmed using a "bars-each-side" window (sw_strength, default 2).
NextTrade Gold EA decides to enter a trade in three stages. First, the swing engine detects a confirmed swing high or swing low on the closed bar of the configured timeframe (M15 default). Second, the signal must pass every enabled filter — session, Monday-gap, news, and optional candle-pattern confirmation. Third, once approved, the EA places a market order at the configured fixed lot with stop-loss and take-profit set in pips. Below: the exact decision flow, every gate, every filter — no black box.
For the input-by-input list, see all features documented. For the backtest workflow, see backtesting.
A single swing engine. One job: spot a confirmed swing high or swing low on the closed bar of the configured timeframe.
On every closed bar of the configured timeframe (sw_custom_tf, default M15), the EA checks whether a swing point has just confirmed using a "bars-each-side" window (sw_strength, default 2).
Classic (default): Swing low → BUY, swing high → SELL. Reverse: swing low → SELL, swing high → BUY. Pick the regime that fits your edge.
The moment a signal passes the filter stack and an order is queued, the EA fires the same structured alert to every channel you've enabled. You stay informed without watching the chart.
Configure your bot token once in EA inputs — alerts deliver to any chat or channel.
MT5 app's built-in push delivery — arrives within seconds, works in your pocket.
Native popup + audio cue + Journal log — MT5's built-in notification system.
The swing engine waits for a completed swing low (or high) on the configured timeframe (M15 default), confirmed by a "bars-each-side" window. On confirmation, the order opens at the configured fixed lot, with SL/TP set in pips.
The engine watches every closed bar against a configurable "bars-each-side" window (sw_strength, default 2). A swing low is the lowest low in that window; a swing high is the highest high — pure arithmetic, zero interpretation.
Illustrative sequence. The EA only evaluates closed bars — signals never fire on the forming candle.
Hammer — all thresholds configurable in the EA inputs.
Every pattern and swing is math, not interpretation. The same bar input produces the same decision every time — no discretion, no mood.
A detected signal isn't a trade — yet. It has to pass every enabled filter in this order:
Is the current time inside one of your enabled sessions (Sydney / Tokyo / London / NY)? If not, signal is blocked.
Is the current time inside the Monday-gap avoidance window? If yes, signal is blocked.
Any high-impact news release within your configured before/after window? If yes, signal is blocked.
If use_pattern_filter is on, the EA requires a recognised pattern (Hammer / Shooting Star / Morning Star / Evening Star) on the trigger bar — otherwise the signal is blocked.
Max daily orders reached? Daily loss limit hit? Max-drawdown halt active? If any, no new trade opens.
If the signal survives every filter, the order opens at the configured fixed lot with SL/TP in pips, and trailing logic (optional) armed.
fixlot input (default 0.01)trail_start pips of favourable moveTotal time from download to first demo trade: under 10 minutes.
Copy the .ex5 into MT5's Experts folder. Restart MT5. Drag onto an XAUUSD chart.
Open inputs panel → Load → select the included .set. Enable AutoTrading.
Run demo for at least a week. Validate. Move to a VPS for 24/5 live operation.
Pick a license, download instantly, and follow the setup guide that's in your inbox.
See Pricing