Learn

Automated trading, from the ground up.

A plain-English course in what you are actually trading, what it really costs, how risk decides everything, and how automated systems are built, tested and judged. Ninety-five pages, in order, each with a worked example and a note on what it means once an Expert Advisor is doing the trading. No jargon left unexplained.

A 95-page course, and more

Find your way in.

Search the whole library, or filter by part. Foundations covers what you are trading and the tools; Risk, the numbers that keep an account alive; Systems, how EAs are built and tested; Portfolio, judging a record like a professional; In practice, the brokers, platforms, regulators and prop firms you deal with in the real world. Beyond the course, Otto in depth explains each of Otto's features in plain terms, and the essays are longer reads on how trading actually works. Looking up a term? Try the glossary.

Foundations

Foundations

The building blocks: what you are actually trading, what it costs, and the machinery an EA runs on. 22 articles.

01

What forex is and how a currency pair is quoted

Forex is the market for exchanging one currency for another. This page explains how a currency pair is quoted, what the two prices mean, and what an EA does with them.

Read →
02

What a CFD is

Most retail trading in indices, gold and currencies on MetaTrader 5 is done through CFDs. This page explains what a contract for difference is, how it settles, and why the contract specification matters to an EA.

Read →
03

What a pip is and how to value one

A pip is the standard unit of price movement in a currency pair. This page explains how pips work, how to value one, why MetaTrader counts in points, and why the difference matters to an EA.

Read →
04

Lots, mini lots and micro lots

Position size in forex and CFDs is measured in lots. This page explains standard, mini and micro lots, what they mean across different markets, and why an EA should treat lot size as an output rather than a setting.

Read →
05

Leverage and margin

Leverage lets a trader control a large position with a small deposit, and margin is the deposit the broker holds against it.

Read →
06

Spread

The spread is the difference between the buying and selling price, and it is the first cost of every trade. This page explains how spreads work, when they widen, and why a spread filter belongs in any EA.

Read →
07

Commission and the total cost of a trade

Commission is the second cost of a trade after the spread. This page explains how it is charged, how to compare account types, and how to measure cost per trade against what a strategy actually earns.

Read →
08

Swap and overnight charges

Holding a position overnight incurs a swap, a small daily credit or charge based on interest rates. This page explains how swap works, why some days charge three times, and when it matters to an automated strategy.

Read →
09

Bid, ask, and which price triggers your orders

Every trade opens at one price and is valued at another. This page explains which price fills each type of order, why a stop can trigger before the chart appears to reach it, and what that means for an EA.

Read →
10

Market, limit and stop orders

MetaTrader 5 offers market orders and several kinds of pending order. This page explains what each does, how they are filled, and which an EA should use.

Read →
11

Stop loss

A stop loss is the order that closes a losing trade at a level chosen in advance. This page explains where stops are placed, why they are not guaranteed, and why a hard stop held at the broker matters for an EA.

Read →
12

Take profit and exits

A take profit closes a winning trade at a chosen level, but it is only one way to exit.

Read →
13

Trading stock indices as CFDs

Stock indices such as the US 500, the FTSE 100 and the DAX can be traded as CFDs from a MetaTrader 5 account.

Read →
14

Trading gold

Gold is the most traded commodity among retail traders and behaves differently from currencies. This page explains how gold is quoted and sized, what drives it, its costs, and what an EA trading it needs to allow for.

Read →
15

Candlesticks and timeframes

A candlestick summarises price over a set period, and the timeframe sets that period.

Read →
16

Reading a price chart when an EA is running

A chart is the main tool for understanding what the market did and what an EA did about it. This page covers the basics of reading price, and how to see and check an EA's trades on the chart.

Read →
17

What MetaTrader 5 is

MetaTrader 5 is the platform most retail brokers offer and the one Expert Advisors run on. This page explains what it is, how it is laid out, and the settings that matter when running an EA.

Read →
18

Demo accounts against live accounts

A demo account simulates trading with virtual money. This page explains how demo differs from live, what a demo can and cannot tell you, and how to use one to test an EA properly.

Read →
19

What an Expert Advisor is

An Expert Advisor is a program that trades a MetaTrader account automatically according to fixed rules. This page explains what an EA does and does not do, the main kinds, and what a well-built one looks like.

Read →
20

What a VPS is and why an EA needs one

A VPS is a remote computer that runs MetaTrader 5 continuously. This page explains what it is, what it costs, how to set one up, and which EAs depend on it most.

Read →
21

Choosing a broker and what regulation means

The broker holds your money and fills your trades. This page explains what UK regulation provides, how brokers differ, and what to check before running an EA at one.

Read →
22

Netting and hedging account types

A MetaTrader 5 account is either netting or hedging, and the choice affects how positions are held. This page explains the difference and why it matters for a multi-strategy EA.

Read →
Risk

Risk

The numbers that decide whether a system survives: sizing, drawdown, expectancy, and how to read a record. 20 articles.

23

Position sizing

Position sizing turns a stop loss and a risk amount into a lot size. This page gives the arithmetic for currencies, gold and indices, explains why fixed lots are wrong, and shows what risk-based sizing means in an EA.

Read →
24

Risk per trade

How much to risk on each trade is the setting that decides whether a losing run is survivable.

Read →
25

Risk to reward

Risk to reward compares what a trade can lose with what it can win. This page explains R multiples, the link between reward size and the win rate needed, and why the ratio is measured rather than chosen.

Read →
26

Win rate, and why it means nothing on its own

A high win rate is the most persuasive and least meaningful number in trading. This page explains why, how losing streaks follow from the win rate, and how grid and martingale systems manufacture a high one.

Read →
27

Expectancy: working it out from a trade history

Expectancy is the average result per trade, and it is the number that decides whether a strategy makes money.

Read →
28

Drawdown

Drawdown is the fall from an account's peak to its subsequent low. This page explains how it is measured, why the equity figure matters more than the balance figure, and how to read drawdown on an EA's record.

Read →
29

Maximum drawdown against typical drawdown

The maximum drawdown is one number from one bad period. This page explains why the typical drawdown, and the range of drawdowns a strategy produces, tell you more about what to expect.

Read →
30

Balance, equity and floating profit or loss

Balance and equity are different numbers and the gap between them is where risk hides. This page explains what each means, how floating losses distort a record, and what to check on an EA's account.

Read →
31

Margin call and stop out

A margin call is a warning and a stop out is the broker closing your positions. This page explains the thresholds, what happens in each, and why an EA should never rely on either.

Read →
32

Correlation between markets

Markets move together to varying degrees. This page explains correlation, gives the common relationships in currencies, indices and gold, and shows why correlated positions multiply risk.

Read →
33

Diversification

Diversification reduces drawdown without reducing return, but only if the parts are actually different. This page explains what diversifies and what only looks like it does.

Read →
34

Volatility and ATR

Volatility is how much a market moves, and average true range is the standard way to measure it. This page explains both, and why stops, targets and position sizes should be set in units of volatility.

Read →
35

Trending and ranging markets

Markets alternate between trending and ranging, and most strategies work in one and not the other. This page explains the difference, how it is measured, and why it decides which strategy is right.

Read →
36

Scheduled news and what it does to spreads

Economic releases move markets in seconds and widen spreads for minutes. This page explains which events matter, what happens to prices and costs around them, and how an EA should handle them.

Read →
37

Slippage and requotes

Slippage is the difference between the price you asked for and the price you got. This page explains why it happens, how MetaTrader 5 handles it, and how much of it a strategy can afford.

Read →
38

Writing a trading plan for an automated system

An EA removes discretion from trading but not from its owner. This page sets out what a written plan for running an automated system should contain, and why the rule for switching it off matters most.

Read →
39

Reading a trade history

A trade history is the raw evidence of what a strategy did. This page explains what to extract from one, how to do it in MetaTrader 5, and what patterns to look for.

Read →
40

What a verified record means, and what it doesn't

Third-party verification proves that trades happened. It does not prove they will happen again. This page explains what a verification service checks, what it cannot, and how to read a verified record.

Read →
41

Prop firm challenges explained

Proprietary trading firms sell evaluations that lead to a funded account. This page explains how a challenge works, the rules that catch people out, and what an EA needs to survive one.

Read →
42

Taxes and record keeping in the UK

Trading profits are taxable and the records you keep decide how painful that is. This page gives the general position for UK individuals trading CFDs and forex, and what to keep. It is not tax advice.

Read →
Systems

Systems

How automated systems are built, tested and chosen, and the trap waiting in every step. 16 articles.

43

How an Expert Advisor works

An EA is a program that reacts to price and sends orders. This page explains, in plain terms, what happens inside one from the arrival of a price to the placing of a trade.

Read →
44

Inputs and settings, and why defaults exist

Every EA exposes settings that the owner can change. This page explains which settings are meant to be changed, which are not, and how to tell when a vendor has left the strategy for you to finish.

Read →
45

What a backtest is

A backtest runs a strategy over historical data to see what it would have done. This page explains how MetaTrader 5's strategy tester works, what it reports, and what a backtest is actually good for.

Read →
46

What a backtest can't tell you

A backtest is a description of the past under assumptions. This page lists what it leaves out, why live results are almost always worse, and how to read a backtest with the right amount of scepticism.

Read →
47

Forward testing

A forward test runs a strategy on live prices from a fixed start date, before the results are known. This page explains why it is the fair test, how to run one, and what a good one looks like.

Read →
48

Curve fitting and overfitting

Overfitting is tuning a strategy to the past until it fits the noise. This page explains how it happens, why it is the default outcome of optimisation, how to recognise it, and what protects against it.

Read →
49

Walk-forward testing

Walk-forward testing checks whether a strategy's parameters would have been chosen in advance. This page gives the general idea, what it shows and does not show, and how to read a walk-forward result.

Read →
50

Monte Carlo and drawdown ranges

Monte Carlo analysis reshuffles a strategy's trades to show the range of drawdowns it could produce. This page explains the method, how to read a DD95 figure, and its limits.

Read →
51

Latency, execution and the VPS

Latency is the delay between sending an order and its execution. This page explains what it is, which strategies it affects, what a VPS does about it, and how to measure execution quality.

Read →
52

Why the same EA gets different results at different brokers

Two accounts running the same EA rarely show the same trades. This page lists the reasons, from symbol names to server time, and explains what to do about it.

Read →
53

Multi-strategy systems

A multi-strategy EA runs several independent strategies in one program. This page explains why they exist, what separates a real one from a relabelled single strategy, and how to assess one.

Read →
54

Running one EA on several accounts

Running the same EA on more than one account is common and mostly simple. This page covers licensing, identical trades, resources and record keeping, and where trouble comes from.

Read →
55

How to choose an EA

Choosing an Expert Advisor is an exercise in evidence. This page sets out the order of questions to ask, what a satisfactory answer looks like, and what rules a candidate out.

Read →
56

Red flags in EA marketing

EA marketing follows patterns, and the patterns that signal trouble are consistent. This page lists them, with the reason each one matters.

Read →
57

Grid and martingale, explained for buyers

Grid and martingale are the two methods behind most smooth-looking EA records and most account blow-ups. This page explains how each works, why the record looks the way it does, and how to spot them under other names.

Read →
58

Reading an MQL5 signal page

MQL5 signals are the most common form of published EA record. This page explains what the page shows, which figures matter, and how a signal page can mislead.

Read →
Portfolio

Portfolio

Combining strategies and judging a track record the way a professional would. 14 articles.

59

Sharpe, Sortino and Calmar

Three ratios summarise return against risk. This page explains what each measures, what values mean for a retail strategy, and how each can be gamed.

Read →
60

Sample size, and why 30 trades prove nothing

A strategy's average result is an estimate, and its reliability depends on how many trades it rests on. This page gives the arithmetic and shows how many trades a claim needs.

Read →
61

Survivorship bias

The strategies, signals and EAs you can see are the ones that survived. This page explains how survivorship bias inflates everything visible, and how to correct for it.

Read →
62

Regime dependence

Most strategies work in some market conditions and not others, and most records cover only one. This page explains what a regime is, why a record from a single regime misleads, and how to test across them.

Read →
63

Risk parity

Risk parity sizes each part of a portfolio so that each contributes equal risk. This page explains the idea at trade level and portfolio level, and why it is the sensible default for a multi-strategy system.

Read →
64

Volatility targeting

Volatility targeting adjusts position size so that a strategy's risk stays constant as market volatility changes. This page explains the method, its benefits, and the ways it can go wrong.

Read →
65

Kelly and fractional Kelly

The Kelly criterion gives the position size that maximises long-run growth. This page shows the calculation, why full Kelly is unusable in practice, and why a fraction of it is the sensible use.

Read →
66

Tail risk and fat tails

Markets produce extreme moves far more often than a normal distribution predicts. This page explains fat tails, why stops do not fully protect against them, and how sizing has to allow for the day that is not in the record.

Read →
67

Serial correlation in returns

When wins follow wins and losses follow losses more than chance would produce, drawdowns are deeper than the reshuffled estimates suggest. This page explains serial correlation and what it does to risk.

Read →
68

Portfolio-level drawdown control

Controlling drawdown at the level of the whole account, not the individual trade, is what keeps a strategy survivable. This page explains the common mechanisms and their trade-offs.

Read →
69

DD95 and drawdown distributions

A drawdown distribution replaces one maximum with a range of outcomes and their likelihood. This page explains how to read one, what DD95 and time-under-water figures mean, and how to use them to set risk.

Read →
70

Evaluating a track record properly

A track record is read in a fixed order, and most of what it says is in the parts that are not the return. This page sets out that order in one place.

Read →
71

Evaluating a verification service

Third-party verification is only as good as the service doing it. This page explains what a verification service must do to be trusted, and the questions to ask of one.

Read →
72

Backtest against live: reading the gap

The difference between a strategy's backtest and its live results is the most useful figure in trading. This page explains what size of gap to expect, what a widening gap means, and how to use the comparison.

Read →
In practice

In practice

Brokers, platforms, regulation, prop firms and the practical realities of running or buying an EA. 23 articles.

73

Market sessions and the hours an EA trades

The forex day is three overlapping sessions with different volume, spreads and behaviour. This page explains them in UK time, what the overlaps mean, and how an EA decides which hours to trade.

Read →
74

Liquidity and why it decides your fills

Liquidity is the amount that can be traded at a price without moving it. This page explains what it is, when it disappears, and why it decides the spread and the fill on every order.

Read →
75

Copy trading, signals and trade copiers against running your own EA

Copying another trader's positions and running your own automated system look similar and are not. This page explains how copying works, where its results diverge from the provider's, and when each approach makes sense.

Read →
76

Managed accounts, PAMM and MAM, and the scams around them

Handing an account to a manager is a regulated activity in the UK and a common route to losing money.

Read →
77

Holding periods: scalping, day, swing and position systems

How long a strategy holds a trade decides what it needs from a broker and how sensitive it is to costs. This page defines the four classes and what each requires.

Read →
78

Compounding, withdrawals, CAGR and time-weighted return

Percentage-based sizing compounds gains, withdrawals interrupt it, and the way returns are measured decides whether a record is comparable. This page covers all three.

Read →
79

The psychology of leaving it alone

The most common cause of an EA losing money is its owner. This page names the patterns of interference, what each one costs, and how to stop.

Read →
80

What an EA can't see: central banks, rates, inflation and the calendar

An EA reads price and nothing else. This page explains the forces that move markets outside the chart, central banks, interest rates, inflation, growth and employment data, and what that limit means for an automated system.

Read →
81

Is running or selling an EA a regulated activity?

Trading your own account with software is not regulated; trading someone else's is. This page sets out the UK position, the FCA perimeter, MiFID II, and where the line falls for buyers and sellers of EAs.

Read →
82

KYC and opening a broker account

Every regulated broker verifies who you are before you can trade or withdraw. This page explains what is asked, why, and what to have ready so that an EA can go live without delay.

Read →
83

MT4 against MT5 for EAs, and why new EAs are MT5 only

MetaTrader 4 and 5 look alike and are not compatible. This page explains the differences that matter for automated trading, why new EAs are written for MT5, and how to choose.

Read →
84

Automation outside MetaTrader: cTrader, TradingView and the rest

Automated trading exists on platforms other than MetaTrader. This page explains what cTrader, TradingView and others offer, why most retail automation still lives on MT5, and what is portable between them.

Read →
85

Reading a Myfxbook or FX Blue record

Myfxbook and FX Blue are the two most common third-party services for publishing a trading record. This page explains what each verifies, what each shows, and the ways a page on either can mislead.

Read →
86

Choosing a prop firm for an EA, and the rules that matter

Prop firms differ in what they allow, how they measure loss and how they pay. This page sets out the rules that matter for an automated strategy and how to compare firms on them.

Read →
87

The MQL5 Market: licences, activations, rentals and reviews

The MQL5 Market is the built-in store where most EAs are sold. This page explains how buying, renting and activating work, what the reviews mean, and what to check before purchasing.

Read →
88

Chart patterns: double tops, head and shoulders, flags and triangles

Classical chart patterns are the oldest form of technical analysis and among the hardest to test. This page explains the common ones, the problem with defining them, and what that means for using them in a system.

Read →
89

Broker regulators compared: FCA, ASIC, CySEC, ESMA and offshore

Which regulator a broker answers to decides how your money is protected. This page compares the main ones, explains the multi-entity trick, and shows how to check which entity you are actually signing with.

Read →
90

MetaTrader 5 in practice: indicators, templates, DLLs and updates

A handful of MetaTrader 5 features come up whenever an EA is installed or maintained. This page covers indicators and custom indicators, templates, DLL permissions, updating an EA, and running more than one account.

Read →
91

Running an EA on a Mac

MetaTrader 5 runs on macOS, with limits that matter for automation. This page sets out the options for a Mac user and why a Windows VPS is usually the answer regardless.

Read →
92

Cent accounts and deposit bonuses

Cent accounts let a strategy be tested live with very little money. Deposit bonuses are banned for UK retail clients and are a warning sign elsewhere. This page explains both.

Read →
93

Types of EA: trade managers, money managers and drawdown controllers

Not every Expert Advisor is a trading strategy. This page describes the utility EAs, trade managers, money-management tools, drawdown controllers and news filters, and the problems of running several on one account.

Read →
94

Arbitrage and latency arbitrage, and why brokers ban it

Arbitrage EAs promise risk-free profit from price differences. This page explains what they actually do, why the profit is real only briefly, and why brokers close the accounts that use them.

Read →
95

Profit factor, recovery factor, SQN and the other summary statistics

Backtests and records come with a table of statistics. This page explains what each one measures, what a good value looks like, and how each can be gamed.

Read →
Otto in depth

Otto in depth

How Otto sizes positions, protects an account and verifies its record, each feature explained in plain terms. 8 articles.

Essays

Essays

Longer reads on how trading actually works, written for a trader, with no reference to Otto's own results. 6 articles.

From theory to live

See it put to work.

The concepts on these pages are what Otto is built on. Watch it trade them live, on real accounts.