How to build your own trader workflow – from data to review
A sound workflow takes you from data and analysis through the decision, execution and review without reconstructing the plan from memory. Each stage has a purpose and a designated record, so you can compare the intention with what actually happened after a trade. This article shows how to connect the platform, calendar, alerts and journal into a single process, choose the tools you need and prepare an emergency procedure. It covers both manual trading and rules executed by code.

A changed chart is not a completed handover
A workflow becomes useful when it reveals a mismatch before somebody acts on it. Consider this hypothetical handover. At 08:00 UTC, a trader replaces plan M7 with plan M8. The observation threshold changes from 1.2480 to 1.2500. The chart shows the new setting, while an existing strategy alert still carries M7. At 08:05, that alert reports a price of 1.2482.
The message is consistent with the old threshold but does not establish that the new threshold has been reached. It is an observation under an obsolete configuration, not permission to enter under M8. The example gives no spread, executable quote or entry method, so it cannot establish a suitable trade.
This is a concrete platform boundary: TradingView’s strategy-alert documentation explains that the server runs a separate copy created with the alert. Changing the chart strategy does not update that copy. Verify the actual mechanism used by your service rather than extending this behaviour to every alert product.
Use the event identity, not the number of messages
Suppose the same alert event, E47, arrives in three deliveries. Each delivery is worth logging for a transport audit, but all three refer to one event. Record one review of E47 with the outcome “obsolete configuration; no entry approved.” A second notification cannot cure the configuration mismatch.
| Delivery | Event identity | Decision record |
|---|---|---|
| First | E47 | One review opened |
| Second | E47 | Linked to the existing review |
| Third | E47 | Linked to the existing review |
Define the identity at the source and retain the original payload. Similar prices or timestamps alone may belong to different events; blindly merging them can lose information. If the source provides no reliable identity, record that limitation and resolve the ambiguity. Deduplication here concerns notifications and reviews, not a claim that a broker will prevent duplicate order requests.
Reconcile a later order from its actual fills
Now examine a separate, later order that was independently authorised under the corrected process. Its requested quantity is 0.60 lot. The confirmed record contains two fills: 0.20 lot at 1.2498 and 0.30 lot at 1.2502. The order state confirms that the remaining 0.10 lot is still working. A journal row marked “completed, 0.60” would misstate both the filled quantity and the outstanding request.
Filled quantity is 0.20 + 0.30 = 0.50 lot. The quantity-weighted fill price is (0.20 × 1.2498 + 0.30 × 1.2502) / 0.50 = 1.25004. This calculation excludes commissions and says nothing about exit price, profit or current exposure elsewhere. It describes the stated fills only.
Link each fill to the order identity and retain its time and quantity. A request acknowledgement, a fill and a cancellation confirmation are different records. The unfilled balance requires a known current state; subtraction alone cannot tell you whether it remains working, was cancelled or was rejected.
Measure the gap that the records actually support
At 08:06, the trader flags the M7 alert. At 08:08, a replacement alert is checked against M8. The measured interval from flag to verified replacement is 2 minutes. From the chart change to that verification it is 8 minutes. State which interval you report; neither measures how long an alert service was technically unavailable.
Close the handover with evidence of the active configuration, then reconcile outstanding orders and journal entries separately. A checked alert does not establish that an order filled, and matching fills do not establish that the alert configuration is current. Each register answers its own question.
The review can now identify a specific improvement: the next configuration change needs a confirmed alert handover before the process is treated as ready. Later observations can test whether that step reduces similar mismatches. This small case demonstrates record consistency, not a profitable strategy. Continue below for the complete workflow, automation boundaries and emergency procedure.
Three exercises with worked answers
The exercise data are hypothetical. Choose an answer, then check the calculation.
From one checked handover to the complete working process
The detailed lesson retains the original process diagrams, architecture comparisons, journal framework and emergency procedure. Use them to connect observations, approvals, execution records and review without confusing their separate roles.
1. Two sources of truth – the typical workflow failure
A workflow is an agreed order of steps and – this is the part most often left out – an agreed place where the result of each step is recorded. The order alone is not enough. If the entry level exists only as a line on the chart, the position size only in a calculator window and the reason for entering only in your memory, then a week later you have the result of the trade and you do not have the process that led to it.
The failure begins the moment the same piece of information lives in two places and both can differ. It usually runs like this: a journalling service pulls the account history automatically while in parallel you keep a spreadsheet filled in every evening. The import knows the broker's server time and the actual execution parameters; the spreadsheet knows your version of events. After a month one place shows a different number of trades than the other, and nobody will reconstruct the difference, because partial closes and adjustments drift apart differently in each of those records. This is not a flaw in either application. It is the consequence of a process that never stated which source wins.
What a workflow is not. It is not a list of applications nor a count of open windows. Nor is it the declaration "every morning I check the market", because a declaration leaves no trace you could use later. A workflow is recognised by something simpler: you can point to an entry, a file or a record produced at every stage of your last trade.
It is worth taking off the tools a weight they cannot carry straight away. A tool does not create an edge by itself. A platform, a calendar and a journal can improve repeatability, working ergonomics and the credibility of your records – and that is a great deal. What they do not create is an edge: that comes from entry and exit rules, not from software (art. 8.2). A tool can influence the net result – through realised costs, the number of execution mistakes and the completeness of your records – and that is the entire scope of its action. Separating those two things has a practical consequence: the sentence "this configuration gives an edge" makes no sense in this section, because there is no way to check it, while the sentence "this configuration reduces the number of deviations from the plan" does make sense, because section 12 explains how to measure it.
2. The process map: eleven stages and what breaks at each one
The model presented here has eleven stages; monitoring and review can form feedback loops, while the decision record stays ordered:
calendar and data → watchlist → analysis → plan → alert → decision → execution → monitoring → journal → review → process change
The sequence shows dependencies in this model. Individual strategies can organise analysis and alerts differently, but a decision must use a plan recorded before execution, so skipping one does not shorten the process – it moves that stage's work onto a stage not built for it. A skipped plan does not disappear: it reconstitutes itself at the moment you place the order, only under time pressure and with nothing written down.
The table below is the actual substance of this article. For every stage it gives three things: what it is for, what breaks when it is missing, and how you will recognise that it is not working for you. The last column is written as a condition to be checked in your data: it names the artefact and the comparison you perform on it. The reason it takes precedence is simple – a stage for which you cannot state such a condition is in practice not controlled, because its failure can at best be felt, not counted.
| Stage | What it is for | What breaks without it | Signal that it is not working for you |
|---|---|---|---|
| Calendar and data | Establishes whether conditions change inside your working window: a release, a change of trading hours, the day triple financing is charged | You enter a window in which cost and liquidity differ from what the plan assumed | The events field in the plan entry for that day is empty – and an empty field does not distinguish a day without releases from a skipped step. A filled one contains the times together with the time zone in which you read them, any announced changes to trading hours and the day triple financing is charged, or the explicit value "no events in the working window" |
| Watchlist | Limits the set of instruments to those you can actually handle in the time you really have | Analysis spills over onto everything that happens to be moving | The attachment store contains no dated watchlists from the past week. If it does, you compare the difference in composition between consecutive days against the rotation rule written in the process register: a change consistent with the rule is not a signal, a change without a rule is |
| Analysis | Produces a thesis and the level that invalidates that thesis | There is nothing to write into the plan, so the decision arises only at the order ticket | In the plan entry the thesis-invalidation level field is empty – an entry without that field is not a plan, only a note |
| Plan | Turns the thesis into a record: instrument, entry condition, thesis-invalidation level, the intended protective-order level, the position size and its basis, abort condition | The review loses its denominator – there is no way to tell a deviation from an intention | The time the plan entry was written is later than the position's opening time in the account history – or there is no plan entry for that position at all |
| Alert | Moves the start of the procedure to the moment the condition is met and releases you from watching the chart without a reason | You go back to staring at the screen, and the number of chances to enter grows independently of the plan | The list of active alerts contains items whose message does not point to an entry in the plan register |
| Decision | Separates "the condition is met" from "I am entering" and checks whether the plan's assumptions still hold | The alert starts behaving as if it were an order | Two conditions at once. First: the account history contains an order for which no decision record – time, plan identifier and the verdict enter or abort – was added in the plan register. Second, for aborts: the number of decision records on a given day is lower than the number of triggered-alert notifications that reached your channel that day |
| Execution | Turns the plan into an order in one agreed place, after a short checklist | Order parameters differ from the plan and the difference is recorded nowhere | The position size or the protective order level in the account history differs from the value written in the plan, and the journal holds no corresponding deviation entry. The thesis-invalidation level is compared separately – against the journal entry, because if it was never sent as an order it does not appear in the account history |
| Monitoring | Establishes in advance what you watch while a position is open and at which moments | An open position is renegotiated continuously | You count directly the journal records in which your own "intervention timing" field has the value "outside the plan"; you fill that field in by hand when completing the record, because no platform export answers the question of whether something matched your schedule |
| Journal | Preserves execution and classification in a form that can be counted | What remains is an account statement, that is, a result without a process | A breakdown of results by setup type or time of day returns empty groups, because the classification fields were left blank in the records |
| Review | Compares the recorded plan with the recorded execution and names the difference | Conclusions are drawn from the memory of the last few trades | For a given review there is no entry in the process register carrying its date and identifier; without a marker for the event itself you cannot tell a review with no conclusions from a review that never happened |
| Process change | Introduces a correction with a date, a scope, an evaluation criterion and a period of validity | Rules change after every losing streak and the sample stops being comparable | The process register holds no entry with a date and version number for the rules in force in a given week |
All eleven items are activities. Places of record are of two kinds. Three registers – the plan register, the execution register (the journal) and the process register – are the source of structured data, that is, the data you can count. Beside them stands the attachment store: the authoritative repository of evidence, holding artefacts that will not fit in a column – a dated watchlist, a screenshot, a history export. Every file in the store is linked to a day, plan or incident record, so an activity leaves a trace in a register, in the store or in both – including the review, which is not a separate register but an activity that writes its result into the proper place: a completed record goes to the execution register, a change card to the process register. That distinction organises the rest of the article: first we set up the registers, only then the activities that feed them.
3. One source of truth: plan, journal and process versions
The principle fits in one sentence: for every piece of information there is one place that wins in case of a discrepancy. Everything that repeats the same information is a working copy. A copy may be lost and recreated from the source; the authoritative record is restored from a controlled backup with its history, rather than from an arbitrary working copy.
In practice there are three places of record and they differ by the moment they come into being:
- The plan register – created before the order is placed and not edited afterwards. It may be a separate spreadsheet or a section of the journal; the form is irrelevant, the moment of creation is not. An entry edited after the fact stops being a denominator for the review.
- The execution register – fed by an import of the account history wherever an import is available. The criterion is a single one, not a general superiority of imports: the import knows the broker's server time and the actual trade parameters, which you will not reconstruct from memory. Manually added fields are responsible for classification: setup type, exit reason, deviation from the plan, intervention timing. The structure of a record, the traps of importing and the definitions of the metrics are covered in art. 11.6.
- The process register – the set of rules in force in a given period, with a date and a version number. This register tends to be skipped, and without it there is no way to say later which rules you were trading by in March.
Beside those three registers stands the attachment store: screenshots, dated watchlists, history exports. It is not a fourth register, because it does not carry data you can count. It is, however, the authoritative repository of evidence: for the files lying in it there is no superior copy, and each of them is attached by identifier to a day, plan or incident entry. The working copies, by contrast, are: chart layouts, the live watchlist in the application, alert sets, notes on your phone. All of them are needed and none of them is a source. The decisive test takes a minute: if your chart profile disappeared today, could you reconstruct the plan for your last five trades? If not, the levels were the source rather than a copy – and the whole process rests on the configuration file of a single application.
Versioning instead of continuous correction. A rule changed mid-week is a rule that cannot be evaluated. The process change card has five fields, fits in a few lines and goes into the process register: date of effect, the observation that prompted the change, the exact scope of the change, the evaluation criterion and the minimum period of validity before which you do not return to the subject. Without those five fields a change is a reaction, not a decision.
For rule evaluation, results before and after a change do not form one homogeneous sample. Total financial results can be summed, but assess effectiveness separately by process version. They are two different sets, even if the account is the same. That same principle, carried over to historical testing, decides whether splitting data into a training and a validation sample makes any sense at all – covered in art. 11.7.
4. Entering the process: calendar, watchlist, alerts
These three elements are sometimes treated as three sources of signals. In the process they play the opposite role: they are filters that reduce the number of situations demanding your attention. Each answers a different question and none of them answers the question "should I enter".
The calendar answers only the question of whether conditions change inside your working window. Not the question of which way the market will go. How to read the fields of an entry, where the consensus comes from and why the "impact" label belongs to the data provider rather than to the market – art. 11.3. Interpreting the release itself and market behaviour around data is art. 6.4. What remains in the workflow is one activity: carry the release times into the plan together with the time zone in which you read them, because a conversion done in your head tends to be the source of an hour-long mistake.
The watchlist follows from the time you have, not from the number of available instruments. A sensible split is based on the instrument's role in your process: those you trade, those you watch for context, and those waiting for a condition to be met. Organising lists and chart layouts is covered in art. 11.2. Two things matter here. Daily changes without a recorded rotation rule make the watchlist difficult to audit: they may simply reflect what caught your eye. Changes consistent with an explicit rule are a legitimate part of the process. And for that to be checkable at all, the list has to leave a trace: you save the version closed for a given day with a date – as an export, a screenshot or a copy of the file – into the attachment store. The live list in the application shows only today's state and does not answer the question of what it looked like yesterday.
An alert is a condition whose fulfilment generates an event and a notification – not an order. Where that condition is evaluated depends on the tool and has to be checked for yours, rather than carrying a principle over from one program to another. TradingView's help describes alerts as created and triggered on the platform's servers, working even after the chart page is closed[1]. MetaTrader 4's help assigns that role to the running application: once alerts are created, the "client terminal" informs you about the event[2], meaning a closed terminal means no notification. MetaTrader 5's help says the same about its own platform and adds a decisive detail: the alert's time condition is set in the local computer's time[3]. This is the same dependency that section 11 tells you to check for protective conditions – for alerts it is resolved in exactly the same way, in the documentation of the specific tool's vendor. An alert does not place an order, does not reserve a price and does not confirm that at the moment of notification the trade is executable at the level that triggered the condition. The full chain from condition to order is taken apart in art. 11.2; in the workflow three ordering rules apply:
- One level, one alert – unless the redundancy is designed. The same level covered by an alert in the charting platform and in parallel in the terminal, with no agreed roles, produces two events with different timestamps and increases the number of states you have to track. Deliberate redundancy of independent channels can, however, be part of the emergency procedure, and then it requires four things decided in advance: which channel is primary, which is the backup, how you recognise that both notifications concern the same event, and how you check that the backup channel still works. Without those four items a duplicate is noise, not a safeguard – and in no variant may it trigger a second execution.
- The message text reconstructs the context. A level on its own says nothing after three weeks. In the message field write the scenario, the invalidation level and a reference to the entry in the plan register.
- An alert has an expiry date. A level marked out several weeks ago may no longer have the context in which it was created; treat six weeks as a proposed working period, not a measured threshold. Expiry or a periodic review of the alert list is cheaper than reacting to a notification whose reason you no longer remember.
It is also worth deciding in advance where the notification should land. An alert delivered to your phone starts a different procedure from an alert visible on your working screen – and that is a separate design decision, described from the device side in art. 11.4.
5. The trade plan and the execution checklist
The trade plan has one function: it supplies the denominator for the review. A calmer start to the session and order in your head are side effects, not the reason. If a week later the record does not let you read what was supposed to happen, there is also no way to say whether execution matched intention – and then the review judges memory, not process.
The minimum set of fields is seven items, all filled in before the order is placed:
- Instrument and entry condition written so that it can be settled in one word. "A break out of consolidation" is not a condition; "an hourly candle closing above level X" is.
- Thesis-invalidation level – the price or event after which the thesis stops holding regardless of the position's current result. That event may be a release, a candle closing on the other side of the level or the passage of time – and such a condition cannot be sent to the broker as an order.
- The intended protective-order level – recorded separately from the thesis-invalidation level. After execution, append the level actually confirmed by the server. These values can differ; only the confirmed order has a counterpart in the account history; confusing them means that at review time you compare the plan entry against a record that never existed in the history.
- Position size together with its basis. The number alone is not enough, because in a month you will not reconstruct where it came from. The method for determining position size and limits is covered in Section 9; in the workflow all that matters is that the number is produced before the order and recorded together with its assumptions.
- Abort condition – the situation in which you deliberately do not enter despite the entry condition being met: entry cost outside your norm, a release inside the window, no time to monitor the position.
- Time of writing, with the time zone – it lets you establish later the order of events when the plan, the alert and the execution carry different timestamps.
- Entry identifier – any format, as long as the same one goes into the screenshot file name, into the alert message and into the journal record. It will not reach the order itself automatically, and that is a separate activity, described below.
Point seven looks like bureaucracy and is a cheap piece of the process. It is what binds the registers and the attachment store into one trail along which you can walk from a journal entry back to the plan that preceded it. Without a shared identifier, matching plan to execution has to be reconstructed every time from time and instrument, which gets steadily harder as the number of trades grows.
The plan identifier is not the order identifier. The account history keeps its own numbering – separate for the order, the deal and the position – and knows nothing about your plan identifier. It is tempting to write it into the order comment, but the comment cannot be relied on unconditionally: it may be length-limited, and the broker's server may truncate it, overwrite it or append its own marker when a position is modified or partially closed. The durable solution is simpler: in the plan register you keep a separate map – the plan identifier alongside the order, deal and position identifiers copied from the account history at the moment you complete the journal. It is that map, not the order comment, that links the plan to the artefact used in the record-completeness measurement in section 12.
The decision record appended to the plan entry. The seven fields above are created before the order. The decision stage adds one line to that same entry, written at the moment the alert fires: time with time zone, the plan identifier and the verdict – enter or abort, and for an abort which condition triggered it. One line is enough, because its job is to separate "the condition is met" from "I entered" in a way that can be checked later. Without that record, an entry and a deliberate abort leave the same trace, namely none, and the review sees only the trades that actually happened.
The execution checklist is not the same thing as the plan. The plan describes the trade, the checklist watches the activities. It has to be binary, short and executed in the same window in which you place the order – if it requires switching to another application, it will stop being executed precisely on the days it was meant to help. Four items are usually enough: whether the order parameters match the plan, whether the position size is the one you calculated, whether there is a release from your list inside the trading window, and whether you already have an open position with the same exposure. Ready-made templates – before the session, before the trade, at the end of the day and at the end of the week – are in the set of checklists in the toolkit, so we do not repeat them here.
The failure signal for this stage is characteristic: you tick the checklist after the position is open, or you stop ticking it on days when there is "no time". Both cases mean the same thing – the list is not part of the order-placing procedure, only an addition to it.
6. Monitoring, the journal and the attachment store
An open position is a special place in the process, because this is the only point where the result changes in front of the person who is supposed not to comment on it. The safeguard is procedural and comes down to writing down three things in advance: what you watch, at which moments and what exactly may change the state of the position. The rule may read "review the position at the hourly candle close and on a release from the list", it may read otherwise – what matters is that it was created before the session. Which rules for managing an open position make substantive sense is settled in a separate article on position management; the workflow is only responsible for their being written down beforehand and for making it possible to check later whether they were carried out.
A journal starts working only once it separates the result from the quality of execution. A record from which only profit and loss can be read is an account statement under another name. The division of labour is simple: the history import supplies the execution parameters, because it knows the broker's server time and the actual prices, while the manually filled fields supply the classification – setup type, exit reason, the presence and direction of a deviation from the plan, and the intervention timing, that is, the answer to whether interventions in the open position, including closing it, fell at the recorded review moments or outside them. That last field has to be created by you and has no substitute in a platform export. Where an export does carry a reason-for-operation field at all, it records the source of the order or the technical reason for the deal – not conformity with your schedule. The MQL5 documentation describes the DEAL_REASON property with the sentence "A deal can be executed as a result of triggering of an order placed from a mobile application or an MQL5 program, as well as as a result of the StopOut event, variation margin calculation, etc.", and lists its values in turn as "activation of an order placed from a desktop terminal", "… from a mobile application", "… from the web platform", "… from an MQL5 program, i.e. an Expert Advisor or a script", then Stop Loss activation, Take Profit activation, the Stop Out event, rollover, variation margin calculation, split and a corporate action[7]. That is a list of sources and technical causes, not an answer to the question of whether the close happened at a review moment you had recorded. This is why you fill the "intervention timing" field in by hand when completing the record, and it has three values: "no intervention" for a position that ran according to plan, "at a planned moment" and "outside the plan" – you write the last one when even a single intervention fell outside the schedule. The full structure of a record, the traps of importing (time zone, partial closes, adjustments, deposits and withdrawals) and the definitions of the metrics are covered in art. 11.6.
The attachment store is not a fourth register – it is the place holding material attached to entries in the three registers: screenshots, dated watchlists and history exports. You remember it exists when it is already too late. A screenshot has value only if the context can be reconstructed from it: the visible instrument, the timeframe, the time marking and the scale. A screenshot of the chart alone, without those elements, is decoration on the entry. Three rules are enough to make the store searchable later:
- The file name starts with the identifier from the plan register. A folder sorted by date is a collection of pictures; a folder sorted by identifier is an index.
- Two screenshots per trade – when the plan is written and after the position is closed. You take a third when you deliberately deviate from the plan, because from the trade data alone you will not reconstruct what you saw on the screen at the moment of the deviation.
- Periodic export of the account history. The range of history available in the terminal and in the client panel depends on the broker and the account type – check that once in your account specification and set up the export with a margin, before it turns out that data from two years ago is already out of reach.
7. Review and changing the process after a documented decision
The review breaks down into three loops with different periods and, more importantly, different subjects. Mixing them is the reason "I review every week" can be true and at the same time produce no effect at all.
| Loop | When | Which question it answers | What it leaves behind |
|---|---|---|---|
| After the session | The same day | Whether the record is complete – record, screenshots, classification | A completed record in the journal |
| Weekly | A fixed time, regardless of the week's result | Whether execution matched the recorded plans and where the difference lies | A list of deviations together with their direction, added to the process register |
| Quarterly | End of the quarter | Whether the process as a whole works and what can be removed from it | A process change card or a "no changes" record – in both cases in the process register |
Every loop leaves an entry marked with a date and an identifier for the review itself – the convention is up to you, as long as it is constant, for example REV-2026-W34 for a weekly review. Without that marker the review's result is an entry of unknown origin, and a review with no conclusions looks in the register exactly like a review that never happened.
In the weekly loop one distinction matters and is easy to miss: a favourable deviation is still a deviation. A position closed earlier than the plan foresaw and ending in profit is an event of the same class as moving the invalidation level. If your deviation tally includes only those that ended in a loss, you are measuring the result, not the conformity of execution.
The quarterly loop concerns the process, not the results – and that is a boundary worth guarding. Strategy results, metric definitions and how to read the equity curve belong to art. 11.6. The process review answers different questions: which steps you perform, which you skip, how long they take and what has stopped being necessary.
Why a change requires a record, not just a decision. The more variants you try against the same history, the greater the chance that the best-looking variant looks that way by accident. The phenomenon is described in the literature on the ground of strategy testing[5] and the footnote covers that ground only; an analogous selection problem may nevertheless arise with process rules: the tenth amendment to a procedure evaluated on the same thirty trades is not a tenth conclusion but a tenth draw. The process change card acts here as a cheap counter – it shows how many times you changed the rules and on what basis.
8. Manual and systematic workflow – two architectures
The same track from section 2 looks different when a human makes the decision and different when code makes it. The difference does not come down to the number of tools. It comes down to where the characteristic failure point lies and how you recognise it.
The manual variant rests on five functions – not on five brands. The place where the order is placed is a terminal connected to the broker's server (art. 11.1). The place for analysis and alerts is a charting environment (art. 11.2). The calendar source and the position size calculator are covered by art. 11.3, and ready-made calculators are in the tools section. The fifth function is the place where the plan and the result are recorded, that is, the registers from section 3.

Preparation before the session is not a time of day but a list of artefacts. Before you open the execution window, four records must exist: the release times carried into the plan together with the time zone in which you read them; a watchlist closed for that day and saved with a date; a full set of alerts whose messages point to an entry in the plan register; and a plan entry with the seven fields from section 5 for every setup you intend to trade. The check is binary: either those four things are recorded or there was no preparation – regardless of how much time you spent at the chart. In the execution window one record per alert is added: a decision record appended to the plan entry, including – in fact especially – when the decision was to abort. The post-session block has one artefact: a completed journal record for every closed position.
Ready-made daily and weekly schedules – separately for working a full-time job and for working within a session window – are prepared in the toolkit item with checklists and a weekly workflow. Copying them here would duplicate the material, and besides it would miss the point: a schedule should follow from your calendar, not from someone else's.
The systematic variant has nine elements and a different distribution of risk: data → code repository → runtime environment → historical test → forward test or demo account → deployment → monitoring → logs → review. The decision stage does not move to the moment you change the code: changing the code is stage eleven, that is, a process change. The trading decision still happens in real time, only a rule makes it, and its trace takes the form of the chain signal → algorithm decision → limit validator → request sent to the broker → server response, every link of which is recorded separately – because only then can you say later at which link the process came apart. Versioning, by contrast, concerns stage eleven, and there it stops being good practice and becomes the condition for reconstructing which rules the automation was working by in a given week. A reproducible environment is covered in art. 11.8, the test procedure and the separate forward period – for example in the MetaTrader 5 tester – in art. 11.7[6], and deployment, logs, identifying your own positions and continuity of operation in art. 11.5.
| Dimension | Manual workflow | Systematic workflow |
|---|---|---|
| Source of truth for the plan | A plan register filled in before the order | A code version with a number and a deployment date |
| Source of truth for execution | An account history import plus classification fields | The application log matched against the account history |
| What you version | Rules described in words | The deployment manifest: code commit, configuration, dependency lock file, data set version and a snapshot of the symbol specification |
| What stopping looks like | You do not place the order | Turning off the trading permission, a kill switch, stopping the process |
| Failure point characteristic of the variant | A step skipped under time pressure | A silent change of conditions: package version, symbol specification, reconnection after a dropped session |
| How you recognise it | No entry in the plan register while a trade exists | A divergence between the application log and the account history detects an execution error but not a silent change of conditions – that is detected only by comparing the current deployment manifest with the previous one |
9. The minimal stack and the redundant-tool test
A stack is described by functions, not by brands. There are five functions: the place where the order is placed, the place for analysis and alerts, the calendar source, the place where position size is calculated and the place where the plan and the result are recorded. One application may cover two of them, and then the stack has four items instead of five. The number of icons on the taskbar is not a measure of anything – the measure is whether each of the five functions has a designated place and whether that place is a single one.
Four example configurations. The stacks below are not recommendations or a ranking. Each was built from one explicitly stated criterion – we show how a criterion translates into the composition of a stack and what it costs along the way. The sentence "the best tool" without a stated criterion is empty, because there is no way to check it.
| Selection criterion | Composition of the stack | What that criterion costs |
|---|---|---|
| Zero fixed cost | The broker's terminal doubles as the charting environment; the data provider's calendar; a spreadsheet with a formula as the calculator; the same spreadsheet as the plan and execution register | Analysis and execution share one window, so the separation has to come from procedure: the plan is created in the spreadsheet before you open the order ticket. You complete the execution register by hand |
| Analysis separated from execution | A separate charting environment with alerts; the terminal used only to place orders; a calendar; a calculator; a journalling service pulling the account history | The fixed subscription cost and a second place that has to be kept in order. The service's access to the account read-only, on the investor password |
| Working away from one computer | A terminal on the computer; a mobile app used only to confirm state and close in an emergency; alerts delivered to the phone; the calendar and the position size calculator opened in a browser on both devices; the registers in a service reachable from both devices | The set of functions on the mobile app side is often narrower than on the computer, so you have to decide in advance what may be done from the phone (art. 11.4) |
| Rules written in code | A code repository; a runtime environment; a tester; hosting that maintains continuity of operation; the calendar and position size calculation on the code side, on the same parameters as the rules; logs matched against the account history | The number of elements that can change without your knowledge grows. Without deterministic limits, a kill switch and monitoring the stack is not fit for work on a live account (art. 11.5) |
The redundant-tool test. Turn it off for a month – a conventional period, a proposed starting point chosen so that it covers several weekly review loops – and write down which step of the process cannot be performed without it. If none – the tool stands beside the process, not inside it. The test's advantage over the question "is it useful to me" rests on one criterion: the test's result is a list of steps you can show a quarter from now, while the answer to the question is a declaration with no artefact. The decision to add works the other way round: a new tool enters the stack when you can point to a step you perform worse today and to the way that step will change. "Because other people use it" is not pointing to a step.
What the test does not cover. Turning things off does not apply to monitoring open positions, the emergency channel from section 11, backups of the registers or anything that maintains deterministic limits and the kill switch. Safeguards are tested on a copy of the process or on a demo account – never by switching them off on a live account with open positions. The redundancy test is meant to show which tools stand beside the process, not to check how long you can last without a safeguard.
10. Automating repetitive, low-risk tasks
There is one criterion, but it has four conditions met at the same time: the activity is repetitive, deterministic, its error is detectable and the consequence of the error is reversible. An activity that fails any one of them is not a candidate for automation – no matter how long it takes by hand.
On the "yes" side sit things that are boring and valuable precisely because of it: delivering notifications, importing the account history into the journal, backing up the registers, configurations and screenshots, calculations following a formula you can repeat by hand, and a periodic report with metrics computed from recorded definitions. Their common feature is that the error can be detected automatically – provided the check is part of the automation and not a good intention: the number of imported records compared against the number in the source, a checksum of the backup file, an alarm when a file is missing at the expected time. One case breaks the rule "the error shows immediately": a damaged or incomplete backup looks correct right up to the moment of restoring it, which is why, alongside the automatic checks, a periodic restore test described in section 11 remains.
On the "no" side – at least at this stage – three things remain. The entry and exit decision, until the rule has passed the testing procedure described in art. 11.7. The classification of your own deviations, because its value comes precisely from the fact that it requires judgement, not from the fact that it fills a column. And every activity you cannot perform by hand – not because automation is bad, but because you will not recognise the moment at which the automation starts performing it badly.
Automation scales the process in both directions. If a rule is faulty, the automation repeats its consequences faster and without hesitation, so deterministic limits, a kill switch and monitoring must exist before deployment, not after the first failure – covered in art. 11.5, and from the side of the executing code in art. 11.8.
11. Emergency procedure and configuration backup
A failure is not an exceptional event – it is a rare event, which means that when it happens you will be out of practice. That is why the procedure has to be written down and short. In the tooling layer it has five steps, and their order is part of the procedure:
- Confirm the account state through a channel other than the one that failed. The mobile app, the client panel in a browser, a phone call to the broker – any path that does not use the same element. Configuring the backup channel and its limitations is covered in art. 11.4.
- Stop the automation before you start repairing anything. Turning off the trading permission or stopping the process is faster than a diagnosis and does not require understanding the cause. Diagnosing with the automation running means the conditions change while you are looking at them.
- Verify open positions and pending orders on the broker's side, not in the local copy. After a dropped connection the terminal shows the last known state, and the last known state need not be the current one.
- Record the incident while it happens, not afterwards. Time with the time zone, what failed, what you saw, what you did, the account state before and after. An hour later all that remains is an impression, and an impression cannot be matched against a log or against the account history.
- Resume work only after confirming that the state on the broker's side agrees with your record. Restarting the automation before the state is reconciled is a straight road to a duplicated position.
A full emergency plan – a case router, a contact card, an incident form and a quarterly test log – is prepared in the emergency plan in the toolkit. Here we stop at the tooling layer, because that is the only part belonging to this section.
One thing is worth checking once, outside an emergency: which of your protective conditions are held on the broker's server and which require a running application. That determines what happens to a position after you switch off the computer or lose the connection. The answer depends on the platform, the mode and the broker – it is settled by art. 11.4 and art. 11.5 for specific configurations.
Configuration backup is the second half of the same procedure and answers the question: how long will it take to rebuild the workshop after losing the computer. The list of things that have to be rebuilt is shorter than it seems – watchlists, chart templates, the set of active alerts together with the text of their messages, the three registers from section 3, the attachment store and the access credentials kept in a password manager, never in a text file. Where those things actually live depends on the environment, and that is not a detail: in one, the place of record is a file you can copy, in another there is no file at all. The matrix below gives the state checked in the vendors' documentation on 22 August 2026; for your own stack, confirm it again before you consider the backup complete.
| Product and variant | Where the setting lives | How to export it | How to restore it |
|---|---|---|---|
| MetaTrader 5 desktop terminal – templates and profiles | In files inside the platform's data folder. Vendor help: "Templates are saved as TPL-files in folder [\MQL5\Profiles\Templates]" and "All profiles are stored in a folder [\MQL5\Profiles\Charts]"[8] | A copy of those folders. The vendor also describes synchronisation: "To share and synchronize templates and profiles between your platforms, use the MQL5 Algo Forge, which is integrated into MetaEditor"[8] | Placing the files into the data folder of a new installation, or downloading them from the synchronisation |
| Browser charting environment (TradingView) – chart layout | On the account side, not in a file on your disk. Vendor help: "A layout contains charts, their settings, drawing tools, and indicators. It is identified by a unique URL"[9] | The vendor's documentation does not describe saving a layout to a file on the user's side | Logging into the account and opening the layout from the saved list – account access restores saved settings, but is not an independent backup and does not protect against their deletion |
| TradingView – watchlists | Outside the layout. Vendor help: "It is worth noting that watchlists and alerts are not stored in layouts"[9] | Export to a text file – "Download list as TXT"; on import "The input file must be in the .txt format and symbols should have the exchange prefix and comma separated"[10] | Uploading the TXT file using the function indicated in the vendor's help |
| TradingView – alerts | Outside the layout[9] and outside your computer: the vendor describes alerts as created and triggered on the platform's servers[1] | The vendor's documentation does not describe exporting alerts to a file | You recreate them by hand, which is why the message text and the link to the plan should live in the plan register and not only in the tool |
| The three registers and the attachment store | Wherever you set them up: a local file, a network drive or a service | Depends on the medium; the copy has to be yours, not only the service provider's | Restoring the copy and comparing the number of records and the checksums against the original |
There is one practical conclusion: the backup procedure cannot be described as "copy the configuration files", because for part of the workshop no such files exist. For an environment that keeps its settings in the account model, the recovery procedure includes secured account access and an independent record of what the account will not restore by itself – above all the text of the alerts and their link to the plan.
12. Workflow audit: four measurements instead of an impression
A quarterly process review makes sense only if it ends in numbers. "It feels better to me" is not an audit result, because it cannot be compared with the previous quarter. The four measurements below are a proposed minimum set, not a closed list. Each has a stated definition of the quantity measured, a scope and a data source, plus a denominator and a conventional threshold – where those make sense. Two of the four have the complete set of five elements: for process time there is no absolute threshold, for tool redundancy there is no denominator, and the table says so plainly in both rows. Without the definition of the quantity, the scope and the source, the result cannot be compared with the previous quarter. The first two are computed directly from registers you already keep. The other two each require one additional record – a dated time log and a dated redundancy-test result – and both of those records fit in the process register. The thresholds given below are conventional values: a starting point for comparison with yourself, not a measured standard.
| Measurement | Numerator and denominator | Unit and scope | Data source | Conventional threshold and response below it |
|---|---|---|---|---|
| Record completeness | Numerator: trades for which the plan register entry was created before the position was opened. Denominator: all trades closed in the period | % of trades, quarter | The plan register matched against the account history through the map of plan, order, deal and position identifiers from section 5 | Conventional threshold 95 %. Below it, move the moment the plan is written or reduce the number of watched instruments – with a process change card. Shortening the plan itself is out of the question: the seven fields from section 5 are already a minimum set |
| Execution conformity | Numerator: trades with no deviation from the recorded plan, using a definition of deviation written down beforehand. Denominator: trades that have a plan entry from before the opening | % of trades, quarter | The classification fields in the journal: deviation from the plan and intervention timing | Conventional threshold 90 %. Below it, check whether the deviations cluster in particular conditions; if they do, add those conditions as an abort condition in the plan – with a process change card from section 3, not an on-the-fly correction |
| Process time | The median preparation time and, separately, the median review time, one value per trading day of the control week | Minutes, a control week in the quarter | A dated record of the start and end of preparation and of the review, kept during the control week in the process register – not a declaration from memory | There is no absolute threshold; you compare against your own result from a quarter ago. If it rises, shorten the procedure with a change card before you start abandoning it – an abandoned procedure has no lighter version |
| Tool redundancy | Numerator: tools whose being switched off blocked no step of the process. There is no denominator – this is an absolute number computed on the stack described by the functions from section 9 | Items, quarter | The result of the redundant-tool test from section 9, recorded with a date in the process register | Conventional threshold zero. With a result greater than zero, remove the tool or assign it a specific step – in both cases with an entry in the change card – and check the result next quarter |
All four measurements describe the process, not the results, and that is deliberate – tool redundancy measures the process just as the other three do. A result can be good with a bad process – over a quarter, with a small number of trades, that is entirely possible. The reverse is also true: a diligently executed process does not protect you from a losing quarter. Only separating the two judgements lets you change, after a weak period, what actually failed instead of swapping out the tools that happened to be at hand.
Before you move on, perform one checking activity. Take your last five trades and count for how many of them the plan register entry was created before the position was opened. The share of those trades as a percentage – using exactly the same definition as the record-completeness measurement, only on a sample of five instead of a quarter – is your starting result and the first number you will compare against a quarter from now. Check the screenshot and the record with its classification in passing, but write them down separately: those are different measures, in different units, and they do not add up with this one.
The process described here operates under conditions set by somebody else. Execution prices, the range of account history available, which platforms you can use and what happens to an order after it is sent are the broker's decisions – and that is where the next section of the course begins.
FAQ – trader workflow
Where do I start if I have no process at all today?
Do analysis and execution have to be in two separate applications?
How often may I change the workflow?
How many tools is too many?
Can an AI model run part of the workflow?
What should I do when the platform stops responding with a position open?
Do I need a separate workflow for a week with major releases?
Sources and references
Product facts were verified on 22 August 2026 in the vendors' documentation. The reference layer – function names, plan limits, integration availability and price lists – changes with versions and is not fixed in this article; the durable layer, that is the description of the mechanism, stays valid longer. Before deciding, check the current state in the primary sources listed below.
- TradingView Help Center, "Alerts are server-side" – tradingview.com/support/solutions/43000548327. Vendor documentation: alerts are created and triggered on the platform's servers, independently of the state of the user's browser. Checked 2026-08-22.
- MetaQuotes Software Corp., "Alerts" – MetaTrader 4 help: metatrader4.com/en/trading-platform/help/overview/terminal/terminal_alerts. Vendor documentation: "The alerts are intended for signaling about events in the market" and "Having created alerts, one may leave the monitor as the client terminal will automatically inform about the server event" – the condition is watched by the running client terminal. Checked 2026-08-22.
- MetaQuotes Software Corp., "Executing Trades" – MetaTrader 5 help, Alerts section: metatrader5.com/en/terminal/help/trading/performing_deals. Vendor documentation: "The alerts are used to notify of market events. Having created alerts, you may leave the monitor, and the trading platform will automatically notify of the specified event"; the vendor instructs that the alert's time condition be given in local computer time, and one of the alert actions is running an executable file. Checked 2026-08-22.
- TradingView Help Center, "Strategy alerts" – tradingview.com/support/solutions/43000481368. Source for the principle that an alert works on a server-side copy of the configuration created at the moment the alert is set up, so later changes on the chart do not modify it. Checked 2026-08-22.
- Bailey, D.H., Borwein, J.M., López de Prado, M., Zhu, Q.J. (2014). "Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance". Notices of the American Mathematical Society, 61(5), 458–471. A methodological paper on how the number of variants tried affects the interpretation of the best result; used in this article solely as justification for recording process changes, not as a source of claims about strategies.
- MetaQuotes Software Corp., "Strategy Tester" – MetaTrader 5 help: metatrader5.com/en/terminal/help/algotrading/testing. A separate forward period and tick generation modes as documented elements of the testing procedure referenced by the systematic variant. Checked 2026-08-22.
- MetaQuotes Software Corp., "Deal Properties" – MQL5 Reference documentation: mql5.com/en/docs/constants/tradingconstants/dealproperties. Source for the list of values of the ENUM_DEAL_REASON enumeration – DEAL_REASON_CLIENT, MOBILE, WEB, EXPERT, SL, TP, SO, ROLLOVER, VMARGIN, SPLIT, CORPORATE_ACTION – that is, evidence that the reason-for-operation field records the source of the order or the technical cause of the deal. Checked 2026-08-22.
- MetaQuotes Software Corp., "Templates and Profiles" – MetaTrader 5 help: metatrader5.com/en/terminal/help/charts_advanced/templates_profiles. Vendor documentation: "Templates are saved as TPL-files in folder [\MQL5\Profiles\Templates]", "All profiles are stored in a folder [\MQL5\Profiles\Charts]" and "To share and synchronize templates and profiles between your platforms, use the MQL5 Algo Forge, which is integrated into MetaEditor". Checked 2026-08-22.
- TradingView Help Center, "Layouts, charts, drawings, indicators, and their interaction" – tradingview.com/support/solutions/43000692404. Vendor documentation: "A layout contains charts, their settings, drawing tools, and indicators. It is identified by a unique URL" and "It is worth noting that watchlists and alerts are not stored in layouts". Checked 2026-08-22.
- TradingView Help Center, "How to import and export watchlists" – tradingview.com/support/solutions/43000487233. Vendor documentation: export via "Download list as TXT", and on import "The input file must be in the .txt format and symbols should have the exchange prefix and comma separated". Checked 2026-08-22.
- BIS: FX Global Code standards on pre-trade controls, execution records and settlement workflow.
- FCA: Operational resilience and retail trading risk controls overview.