Skip to content
Research / Education / Discipline

TA · Professional · Part 15 of 16

Alerts and execution rules: what the machine watches and what the trader decides

A decision table is as good as the moment it is consulted. How to split its conditions into what an alert can watch and what needs the eye, fix the order by rule, and know what still runs when the screen is off.

InnoMP Research · Education Desk Published 26 Sept 2026 · Updated 26 Sept 2026 9 min read
InnoMP Research cover art — decided before it rang
In short

Conditions a machine can test — a price crossing a level, a time window — become alerts; conditions that need the eye stay with the trader, who consults the decision table when the alert fires. Execution rules fix the order: type, expiry, the stop and target attached at placement, size from the volatility stop, and the spread and staleness limits that turn an alert into a skip. In MetaTrader 5 the stop loss and take profit are held on the server; a trailing stop runs only while the platform is open.

Alerts and execution rules are the part of the system that runs without the trader’s attention. The alert watches the conditions a machine can test and brings the eye to the chart when they are met; the execution rules fix everything about the order that would otherwise be decided at the moment of placing it. Between them, the moment of the trade contains one decision — reading the table — and no others.

The previous part gave the setup a column for every state of the market. A column is only consulted if someone is looking, and the Intermediate level’s forward test already found what happens when they are not: triggers missed while away from the screen, entries taken late, spreads that were wider than the record assumed. This part is about making sure the table is read at the right moment and the order that follows is the one the record measured.

What a machine can watch

Split the table’s condition rows in two. Some conditions a machine can test without judgement; some need the eye.

Conditions a machine can test, and conditions that need the eye Two columns. Left, machine: price reaches a level, price crosses an average or a band, an indicator crosses a threshold, a time window opens, the spread is under a ceiling. Right, the eye: the pullback is a pullback and not a breakdown, the higher-timeframe trend is intact, the candle that closed is the trigger the table names, the context is not a news candle. Machineprice reaches a levelcrosses an averageindicator past a linea time window opensspread under a ceilingbecomes alertsThe eyepullback vs breakdownHTF trend still intactcandle is the triggernot a news candleread at the alert InnoMP Research
The left column becomes alerts. The right column is why the alert exists: to bring the trader to the chart at the one moment those conditions can be checked, rather than at the moment they happen to be looking.

An alert is a machine-tested condition that summons the eye. In MetaTrader 5 the platform’s alerts trigger when the Bid or Ask price exceeds a preset value or at a set time, and notify by sound, email or a push notification to a phone. The InnoMP Market Watcher does the same for price levels and for moving-average, band, MACD, KDJ and RSI conditions, with AND and OR logic between them, which lets two rows of the table become one alert. Which tool is used matters less than the rule that governs all of them: an alert is a condition, not an instruction. It says the table may now be worth reading. It does not say enter.

Where the alert sits

The alert’s job is to have the eye on the chart before the trigger candle closes, not after. For a pullback entry that means the alert sits short of the level, by a fraction of the current ATR; for a breakout it sits beyond the level, for the reason the Market Watcher article gives — price probes levels constantly, and an alert on the level itself fires on every probe.

The alert fires before the level, so the eye arrives before the trigger A price line descending toward a horizontal support level. A dashed alert line sits a little above the level. Price crosses the alert line, marked eye arrives, continues to the level, and the trigger candle that closes there is marked table read. A note says the alert sits a fraction of an ATR short of the level. pullback to a 4H levelalert: a fraction of an ATR short of the leveleye arrives · then the table is read InnoMP Research
The alert is placed where the setup's context starts to be true, not where its trigger is. By the time the trigger candle closes, the eye-only rows of the table have already been read.

The distance is part of the rule, not a preference: a quarter of an ATR on the entry timeframe is a common choice, and it scales with the regime for the reason the volatility group gave. Set it in pips and it is right in one regime.

Execution rules

When the table’s answer is enter, the order has to be placed, and every property of an order that is chosen at the moment of placing it is a decision the record did not measure. Execution rules fix those properties in advance, one set per entering column of the table.

An order fixed in advance, property by property A schematic order ticket with rows: order type, limit at the level; price, the level plus a small offset; expiry, end of session; stop loss, one and a half ATRs beyond the level, attached at placement; take profit, three R, attached at placement; size, from the stop by the calculator. Each row is labelled as set by the rule. Rule 1 · entertypelimit at the levelexpiryend of the sessionstop loss1.5 ATR beyond the level, attachedtake profit3R, attached at placementsizefrom the stop, by the calculatorevery row set by the rule, none at the ticket InnoMP Research
Nothing on this ticket is decided at the moment of placing it. The type, the price and the expiry follow from the table's column; the stop and target are attached with the order, not added afterwards; the size is the calculator's answer to the stop.

The rows draw on parts already written. The order type is Part 2’s choice — a limit at the level for a retest entry, a stop order beyond the trigger’s high for a confirmation entry, a market order only where the rule says the close itself is the entry — and each has a different fill and a different slippage, which is why the choice belongs in the rule. The expiry is what stops a pending order from becoming a trade in a state the table never approved: the level was valid in this session, so the order dies with the session. The stop and target are attached when the order is placed, at the distances the volatility stop sets, and the size follows from the stop through the calculator. Attached at placement is the operative phrase: a stop added after the fill is a decision made in the trade.

Gates: spread, staleness, news

Between the alert and the order there are conditions that can turn an enter into a skip, and they are rules too.

Three gates between the alert and the order A horizontal flow of three gates. Spread: is the spread under the ceiling? Staleness: is it still within the window after the alert? News: is there no scheduled release inside the window? Each gate has a pass arrow onward and a fail arrow down to a box labelled skip, logged. spreadunder cap?stalenessin window?newsno news?skip · loggedeach gate is a number, each fail is a record entry InnoMP Research
Each gate is a yes-or-no test with a number in it, and each fail is a skip that goes in the record. An alert that reached the table and was refused by a gate is a decision the rules made.

A spread filter is a ceiling on the spread at which the order may be placed, written as a fraction of the stop distance rather than in pips — a spread that is a tenth of the stop costs a tenth of an R on every trade, and the cost arithmetic of Foundations and the relative ordering of Part 3 both say the ceiling is crossed at the rollover, in the Asian hours and around news. A staleness rule is a window after the alert — one candle on the entry timeframe is common — beyond which the entry is treated as missed: the table’s conditions were true at the alert, and a quarter of an hour later some of them are not. A news gate is the calendar rule from Foundations written as a number of minutes. None of the three is exotic. What is new is that each is a rule with a number, tested in the order shown, and each fail is logged.

Key takeaway Give the machine the conditions it can test and set the alert where the context begins, not where the trigger is. Fix the order — type, expiry, attached stop and target, size — per column, before the alert exists. Put the spread, staleness and news gates between the alert and the ticket, and log every fail. The moment of the trade then contains one decision, and it is the table’s.

What still runs when the screen is off

Some of this system runs on the trader’s machine, some on the broker’s server, and the difference decides what survives a closed laptop.

Where each part of the system runs Three stacked bands. Server: pending orders, stop loss, take profit — work with the platform closed. Platform: the trailing stop, per the MetaTrader 5 help — needs the platform open, and only the last stop level it set remains. Trader: the table and the eye-only conditions — needs the trader. Serverplatform closed: workspending orders · stop loss · take profitPlatformclosed: last stop staystrailing stop (MT5 help)Traderneeds the traderthe table · the eye-only rows InnoMP Research
A pending order with its stop and target attached lives on the server and does its job with the platform closed. A trailing stop, in MetaTrader 5, does not: the help is explicit that it is executed in the platform, and if the platform is off only the stop loss level it last set remains.

The MetaTrader 5 help states it plainly: the trailing stop is executed in the trading platform rather than on the server, like stop loss or take profit; it will not work if the platform is off, and in that case only the stop loss level set by the trailing stop will trigger. So a rule that manages the open trade with the Chandelier trail has an unstated condition — the platform is running — and either the rule says so, or the trade is managed at review with the structural stop moved by hand, which is the Intermediate method and needs no platform at all.

The general point is the one this level has made about every mechanism: know which part of the system is doing the work, and test on a demo what actually fires with the platform closed rather than assuming it. Alerts that reach a phone are useful precisely because the phone is the part that is always on; whether a given alert is evaluated on the platform or elsewhere is a question for the platform’s own documentation, and the answer belongs in the rule.

The alert log

Every alert that fired is a row in the record whether or not it became a trade: entered under rule 1, waited under rule 2, refused by the eye, skipped at a gate, missed by the staleness window. The Intermediate level asked for the setups that fired and were not filled; this is the same list, kept by the system that fires them. It is the input to the last part, because a system is reviewed on what it decided, and most of what it decides is not a trade.

Next: Review cadence and kill criteria — when the system is examined, what each review may change, and the thresholds written in advance at which it stops.

Key facts
  • MetaTrader 5 alerts trigger on conditions such as the Bid or Ask price exceeding a preset value or a set time, and notify by sound, email or push notification.
  • In MetaTrader 5 the trailing stop is executed in the trading platform rather than on the server; if the platform is off it does not work, and only the stop loss level it last set remains.
  • Stop loss and take profit are attached to the position and held on the server, so they work with the platform closed.
  • An alert is a condition, not an instruction: when it fires the decision table is consulted and the eye-only conditions are checked.
  • Execution rules fix the order type, expiry, attached stop and target, size, a spread ceiling and a staleness limit before the alert is set.

Frequently asked questions

Which conditions of a setup can an alert watch?

The ones a machine can test without judgement: price reaching a level, price crossing a moving average or band, an indicator crossing a threshold, a time window opening, a spread ceiling. Whether a structure is a valid pullback, whether the higher-timeframe trend is intact, whether the candle that closed is the trigger the table names — those need the eye, and the alert's job is to bring the eye to the chart at the moment they can be checked.

What should an execution rule specify?

Everything about the order that could otherwise be decided at the moment of placing it: the order type for each rule in the table, the level and the expiry of a pending order, the stop and target attached at placement, the size derived from the stop, the maximum spread at which the order may be placed, and how long after the alert the entry is still valid. Written down, none of these is a decision at the time.

Does a trailing stop keep working if I close MetaTrader 5?

No. The MetaTrader 5 help states that the trailing stop is executed in the trading platform, not on the server, and does not work if the platform is off; only the stop loss level it last set remains in force. The stop loss and take profit themselves are attached to the position on the server and work with the platform closed. A rule that relies on trailing needs the platform running, or a structural stop moved by hand at review.

What is a staleness rule?

A limit on how long after the alert fired an entry is still allowed. The table's conditions were true at the alert; a quarter of an hour later some of them may not be, and an entry taken then is a different trade from the one the record measured. The rule names the window — one candle on the entry timeframe is a common choice — after which the alert is treated as missed and logged as a skip.

Why log the alerts that did not become trades?

Because the record has to measure the whole process, not the part that reached the order ticket. An alert that fired and was skipped by the spread filter, missed by the staleness rule or rejected by the eye-only conditions is a decision the rules made. Its count is what tells the review whether the system is being run, and the Intermediate level's test-by-hand asked for the same thing: setups that fired and were not filled.

Sources

  1. MetaTrader 5 Help — Basic Principles: Trailing Stop is executed in the trading platform rather than on the server, will not work if the platform is off, only the Stop Loss level it set remainsmetatrader5.com
  2. MetaTrader 5 — Alerts: conditions such as Bid and Ask prices exceeding preset values or a timer; notification by sound, email or pushmetatrader5.com
InnoMP Research · Education Desk

Trading education from first principles — position sizing, risk, market structure and the habits that keep accounts alive. Written for someone who has never opened a chart, with a diagram at every step.

Published 26 Sept 2026 · Updated 26 Sept 2026

Disclaimer: This content is provided for general informational purposes only and does not constitute investment advice, an offer, or a solicitation to buy or sell any financial instrument. It has been prepared without regard to your individual financial circumstances or objectives. Trading CFDs involves a high risk of loss.

Related notes

InnoMP Research cover art — a number and its doubt
Trading journal

Expectancy with error bars: how sure the record lets you be

A record says +0.25R per trade. The question is how far from that the truth could be. How to put a standard error and a confidence interval on expectancy, and how many trades it takes to tell an edge from zero.

9 min read