Pullback Sniper X: a user guide and walkthrough

Pullback Sniper X: a user guide and walkthrough

24 November 2026, 20:47
Abdullah Uygar Tuna
0
7

Pullback Sniper X is an Expert Advisor for MetaTrader 5. It is built for gold: a trend-pullback core, plus three optional session strategies, all under the same account guards, on one chart.

This guide is the practical walkthrough. It covers installation, the Recommended set, the on-chart dashboard, the inputs that actually change how the Expert Advisor sizes and protects trades, and what to check when something looks wrong.

The tests, the files, and why this set was chosen are in a separate post: Pullback Sniper X on Gold (2021–2026): One Recommended Set, How I Tested It, and Why the Optimiser Lost. Earlier presets live in the Earlier Sets Archive. The product page is Pullback Sniper X on the MQL5 Market.

Quick start

  1. Download Pullback Sniper X from the MQL5 Market into MetaTrader 5.
  2. For the current setup, open an H1 chart of your broker’s gold symbol (often XAUUSD; some brokers use a suffix such as XAUUSD.m or the name GOLD).
  3. Attach the Expert Advisor to that chart and allow algo trading.
  4. Turn Algo Trading on in the terminal toolbar.
  5. Load the current Recommended set from the Recommended-set post (the file is attached at the bottom of that post).
  6. On the dashboard, confirm the status pill reads ACTIVE and that four strategies show as on.

What it does

On one chart, Pullback Sniper X can run four strategies. Each has its own on/off switch, risk percent, and magic number. Every trade is sent with a hard stop loss. There is no martingale, no grid, and no averaging down.

Pullback core. This is the main strategy. It reads the trend from a 200-period EMA and the slope of that EMA over 15 bars, with RSI and the daily VWAP also having to agree. The entry is a pullback to the 40-period EMA that also touches a price level (the EMA value band or a daily VWAP anchor), between 08:00 and 14:00 server time. The stop is 3 ATR and the target is 2.25 times that stop distance. At 1R of open profit the stop is moved to break-even plus 0.1R. Up to five pullback trades can be open; added trades use half the risk. Lot size is scaled by volatility.

Range breakout. At most one trade a day, in the direction of the daily trend (the daily close against a 20-day EMA). The entry is when price crosses the day’s open plus or minus 0.9 times the previous day’s range, between 14:00 and 22:00 server time. The stop is 1 times the previous day’s range and the target is 1.5R, with a time exit at 22:59.

Weekly-open gap. Five minutes after the weekly reopen, it trades in the direction of the weekend gap. The stop is 3 ATR, with a time exit at 20:00 server time the same day.

Evening drift. It buys at 19:15 server time, Monday to Thursday, and only if the daily close is above the 50-day EMA. The stop is 3 ATR, with a time exit at 03:00 the next day. This strategy is long only.

Account guards sit over all four: a spread cap, a daily loss limit, caps on open risk, a block on new entries around server midnight, and an optional drawdown stop. The dashboard is display only. It does not place, change, or close a trade.

Note. Session times, the midnight block, and the dashboard clocks are all in server time, not your local time. Check the clock in the Market Watch or on the dashboard header before you judge a missed window.

Install it, step by step

  1. In MetaTrader 5, open the Market tab, open Pullback Sniper X, and install or update it. The terminal must be logged in to the MQL5 community account that purchased it.

  2. For the current product, open an H1 chart of your broker’s gold symbol (often XAUUSD; some brokers use a suffix such as XAUUSD.m, or the name GOLD). If you are not sure of the name, right-click Market Watch, choose Symbols, and look under the metals or spot-gold group. If the product page names a different chart, use that one.

  3. In the Navigator, under Expert Advisors / Market, drag Pullback Sniper X onto that chart.

  4. In the common tab of the dialog that appears, tick Allow Algo Trading. Leave Allow modification of Signals settings as you prefer; this Expert Advisor does not depend on trading signals.

  5. Before you click OK, switch to the Inputs tab and load the Recommended set (the next section). Then click OK.

  6. In the toolbar, click Algo Trading so it is on (green). The dashboard status should change from ALGO OFF to ACTIVE, unless a guard is already pausing entries.

  7. Leave the terminal running, or run it on a VPS, if you want the weekly-open gap and the evening drift to be able to fire at their set times.

Tip. The stated minimum for the Recommended set is 3,000 in account currency terms as tested (3,000 USD in the published tests). Attaching the Expert Advisor with no set file still uses the product defaults, which are not the full Recommended set: the drawdown stop is off, and the trailing stop is off. Load the file from the Recommended-set post if you want those on.

Load the Recommended set

The current Recommended set is attached at the bottom of the Recommended-set and backtest post. The file name is PSX - Recommended (RC Standard Conservative, trailing).set .

To load it:

  1. Download the .set file from that post and save it somewhere easy to find, or copy it into the terminal’s MQL5\Profiles\Tester or Presets folder (File → Open Data Folder).
  2. On the chart, right-click, choose Expert List, select Pullback Sniper X, and click Inputs — or open the Inputs tab when you first attach it.
  3. Click Load, choose the file, and confirm the inputs have updated.
  4. Click OK.

That file is the previous Recommended set with one change on the pullback core only: a trailing stop is on, at 2.25 ATR, starting once the trade is 1.5R in open profit. Break-even is unchanged (plus 0.1R at 1R). The stop remains 3 ATR and the target 2.25R. The range breakout, weekly-open gap, and evening drift are unchanged. The 20% drawdown stop is on in this file.

This is not a claim of higher profit, and it is not a claim that the set is more robust. The reason for the trailing stop is slightly lower drawdown.

Earlier presets, and the tests that produced them, stay in the Earlier Sets Archive.

The dashboard, part by part

The panel is display only. The line at the bottom says so: entries follow the rules, limits are applied by the Expert Advisor. There are no trade buttons.

Header. The product name is on the left, with the tagline “Gold trend pullbacks · session strategies”. On the right you will see equity, balance, any credit, and floating profit or loss, in the account currency, plus a status pill and two small icons.

The status pill is the first thing to read:

Status Meaning
ACTIVE Algo trading is on and no account guard is blocking new entries.
ALGO OFF Algo Trading is off in the terminal, or algo trading is not allowed on this chart.
ENTRIES PAUSED A guard has paused new entries (the reason is also shown in the risk-guard line). Open trades keep their stops.
DD STOP The drawdown stop has been hit. No new entries until you reset it (or, if you chose that mode, until the cooldown ends). Open trades keep their stops.
HALF RISK A profit-factor switch or similar rule is running the pullback core at half risk.

The half-circle icon in the header switches the Dark and Light themes. That choice is remembered on this symbol and magic number. The minus icon minimises the panel to the header; a second control at the bottom, Minimise panel, does the same.

Just under the header, a meta line shows whether this is a backtest, a demo account or a live account, the symbol, the chart timeframe, the pullback magic number, and the server time.

Strategies (left). A ring shows how many of the pullback checks are currently passed (Trend, RSI, VWAP, Pullback, Level, Session), next to the trend bias: Uptrend, Downtrend, or No clear trend. A “4 / 4 ON” pill counts how many of the four strategies are enabled.

Each strategy then has its own row: Pullback, Range breakout, Weekly-open gap, and Evening drift. You will see its state (OFF, WAITING, ARMED, IN TRADE, or PAUSED), a short reason, the last trade time, and today’s result for that strategy. At the bottom of the left column are closed-trade counts for this Expert Advisor on this chart: closed trades, win rate, profit factor, and net P/L.

Positions and risk guard (right). If nothing is open, the positions block reads “Flat”. If trades are open, each line shows the strategy name, buy or sell, lot size, entry price, and floating result, with a total.

Under Risk guard · entry limits there are four meters: drawdown stop, daily loss, open risk, and spread. If the midnight block is enabled, a rollover pill appears here as well. These guards block new entries only. They do not close open trades.

Controls. This block is also display only. Next entry windows shows the next server-time window for each strategy, and the rollover window. Trade levels toggles the stop and target lines on the chart. Minimise panel collapses the dashboard.

Times on the dashboard are server time. All values are read from this terminal.

The inputs that actually matter

You do not need to edit the strategy rules to run the Recommended set. Load the file, then leave the pullback, breakout, gap, and drift rule inputs as they are unless you have a specific reason to change them.

These are the inputs that most often need a plain-language explanation. The values in the “Recommended” column are those in the current Recommended set file.

Input (as labelled) Recommended What it does
Pullback risk per trade, % of equity (0 = fixed lot) 1.6 Risk for one pullback trade, as a percent of account equity. As equity rises or falls, the lot size rises or falls with it. Set this to 0 if you want a fixed lot instead.
Fixed lot (used only when risk % is 0) 0.01 Used only when the pullback risk percent is 0. It is not a fallback for a normal, risk-based trade.
Range breakout risk per trade, % 2.0 Risk for a range-breakout trade, as a percent of equity.
Weekly-open gap risk per trade, % 1.0 Risk for a weekly-gap trade, as a percent of equity.
Evening drift risk per trade, % 1.0 Risk for an evening-drift trade, as a percent of equity.
Open risk cap for all strategies, % of equity 6.0 If the open risk of this Expert Advisor’s trades, including the new one, would exceed this, the new trade is skipped (unless you turn on “shrink the lot”). 0 turns the cap off.
Pullback: open risk cap incl. the new trade, % of equity 4.0 The same idea, applied only to pullback trades. 0 turns it off.
No new entries while the spread is above this, in price units 1.0 No new entries while the current spread is above this. On gold, 1.0 is one price unit (one dollar on a typical gold quote). 0 turns it off.
No new entries for the rest of the day after this loss, % 4.0 After a 4% day, no new entries until the next server day. Open trades are left alone. 0 turns it off.
Drawdown stop: no new entries at this % below the peak 20 When equity (the default basis) is 20% below its peak, no new entries. Open trades keep their stops. The product default, if you attach the Expert Advisor with no set file, is 0 — off. Reset is manual in the Recommended set (set the manual-reset input to true once, then back to false).
Trailing stop true On in the Recommended set, for the pullback core only.
Trailing stop distance, x ATR 2.25 Once trailing has started, the stop follows at 2.25 ATR.
Start trailing at N R open profit 1.5 Trailing starts only after the trade is already 1.5R in open profit. 0 would mean immediately.

A few related inputs are worth knowing, even if you leave them as they are in the set:

  • If the risk-based lot would be below the broker’s minimum, the Recommended set trades the minimum lot rather than skipping. You can turn that off so the trade is skipped instead.
  • If a risk cap would be crossed, the Recommended set skips the trade rather than shrinking the lot.
  • No new entries are placed within 15 minutes of server midnight.
  • A CSV journal of entries and exits can be written to the terminal’s MQL5\Files folder. That is on in the Recommended set.

When a lot size cannot be calculated

Lot size is worked out from the stop distance and the dollar (or account-currency) risk of that stop. Sometimes that calculation is not possible: just after a restart or a reconnect, before prices have loaded, or when the currency conversion the terminal needs is not available yet.

In that situation the Expert Advisor now skips the trade and writes a clear line in the Experts log, saying the entry was skipped and why. It does not fall back to the fixed-lot input.

The line looks like this:

PSX: trade skipped, lot size could not be calculated (XAUUSD, PSX weekly gap, OrderCalcProfit failed or returned 0, equity 3000.00, SL distance 28.28). No order sent.

The fixed-lot input is still used in one case only: when you set the pullback risk percent to 0, on purpose.

If a signal appears to have been missed, open the Experts tab and look for a skip line around that time. The next valid signal can still be taken once prices and conversion values are available.

Account and broker checklist

Go through this once on a new broker or a new account, before you leave the Expert Advisor running.

Check What to confirm
Symbol and timeframe The chart matches the current setup in the install steps (the symbol and timeframe the product page recommends).
Specification In Market Watch, right-click the symbol → Specification. Note the minimum lot, the lot step, the contract size, and the filling mode.
Account currency Lot size is converted into your account currency. If that conversion is missing, the trade is skipped and logged (see above).
Algo Trading On in the toolbar, and allowed on the chart. The status pill should not read ALGO OFF.
One Expert Advisor per chart Run this Expert Advisor on its own chart.
Magic numbers Do not run another Expert Advisor, a trade copier, or a manual script that reuses these magic numbers on the same account.
VPS or a running terminal The weekly-open gap and the evening drift fire at fixed server times. They can only be taken if the terminal is connected then.
Set file The current Recommended set is loaded, not an older archive file, unless you chose that deliberately.
Minimum The Recommended set is tested from a 3,000 USD deposit. Smaller accounts can hit the minimum lot and the drawdown stop much sooner.

Magic numbers and order comments

These are the defaults in the Recommended set. Use them to tell the four strategies apart in History, and when you ask for help.

Strategy Magic number Order comment
Pullback core 260113 Pullback Sniper X
Evening drift 260201 PSX evening drift
Range breakout 260202 PSX range breakout
Weekly-open gap 260203 PSX weekly gap

The other three strategies share a magic base of 260200: +1 for drift, +2 for breakout, +3 for the gap. Time exits on those strategies use the comment PSX time exit .

If you change the pullback magic or the magic base, change them on every chart this Expert Advisor runs on, and keep them unique on the account.

Troubleshooting

Nothing is trading. First check the status pill. If it says ALGO OFF, enable Algo Trading and allow algo trading on the chart. If it says DD STOP or ENTRIES PAUSED, read the risk-guard line: the drawdown stop, the daily loss limit, the open-risk cap, the spread cap, or the midnight block may be holding new entries. Then check that the symbol and timeframe match the current setup in the install steps, that the Recommended set is loaded, and that the relevant strategy is on. The pullback core only enters inside its session, and only when the checklist (Trend, RSI, VWAP, Pullback, Level, Session) agrees. A quiet day is not, by itself, a fault.

The spread looks too high, or entries keep being skipped around news or the daily close. The Recommended set does not enter while the spread is above 1.0 in price units, or within 15 minutes of server midnight. That is intentional. The Experts log and the spread meter on the dashboard will show this.

Algo Trading keeps turning off. Some terminals turn it off after a restart, a VPS reboot, or a disconnect. Turn it back on and confirm the chart still has algo trading allowed. The dashboard should leave ALGO OFF once that is done.

A lot size looks wrong (for example one trade at a very different size from the others). Before changing anything, gather the evidence: from History, the lot, stop, take profit, comment, and magic of the unusual trade and of one or two normal ones; a screenshot or the .set file of the Inputs tab; and the Experts and Journal logs from that day, around the time the unusual order was sent. Also say whether any other Expert Advisor, copier, or manual order is running on the account. The comment and magic number show which part of Pullback Sniper X opened the trade, or whether it came from somewhere else.

If every pullback trade is a fixed size, check that the pullback risk percent is not 0. If it is 0, the Expert Advisor is using the fixed-lot input on purpose. Load the current Recommended set if you meant to use risk-based sizing (1.6% of equity, with a fixed lot of 0.01 only when risk is set to 0).

If a single trade was skipped or looks absent, read the Experts log for a skip line. When the lot size cannot be calculated, the trade is skipped and logged, not sent at a fallback size.

The dashboard theme jumped, or the panel is minimised after a restart. The theme and the minimised state are remembered per symbol and magic number. Use the header icons to switch theme or to expand the panel again.

Further reading

If something on your account still does not match this guide, the most useful things to send are the History rows (with comment and magic), the Inputs, and the Experts and Journal logs from that day. I will look at those before changing any recommendation.

Trading involves risk. Backtests are simulated and do not guarantee future results.