Glossary
Short, precise definitions of the terms used in algorithmic trading and on cTrader.
A
- Algorithmic trading
- Trading in which entries, exits and position sizes follow predefined rules executed by software rather than by manual decisions. Learn more about Algorithmic trading →
- ATR (Average True Range)
- A volatility measure: the average of the true range (the largest of high−low, |high−previous close| and |low−previous close|) over N bars. Often used to size stops, grid spacing and trailing distances.
B
- Backtest
- A simulation of a trading strategy on historical data to see how its rules would have performed. It shows behaviour under past conditions, not future results. Learn more about Backtest →
- Break of Structure (BOS)
- In market-structure analysis, a close beyond the last significant swing high (in an uptrend) or swing low (in a downtrend) that confirms the trend continues. Learn more about Break of Structure (BOS) →
- Breakout
- A move of price beyond a defined level or range - for example a session box, a triangle or a prior high - that traders use as an entry trigger. Learn more about Breakout →
C
- Carry trade
- A strategy that holds a higher-yielding currency against a lower-yielding one to earn the interest-rate differential (swap), while bearing exchange-rate risk. Learn more about Carry trade →
- cBot
- A trading robot for the cTrader platform, written in C# with the cTrader Algo API. It can open, manage and close positions automatically according to its rules. Learn more about cBot →
- Change of Character (CHoCH)
- In market-structure analysis, the first break against the prevailing swing structure - an early sign that the trend may be changing. Learn more about Change of Character (CHoCH) →
- Commission
- A fee charged by the broker per trade or per traded volume, in addition to or instead of the spread. It must be included in backtests to get realistic results.
- cTrader
- A multi-asset trading platform developed by Spotware and offered by many brokers, with desktop, web and mobile apps and built-in support for algorithmic trading. Learn more about cTrader →
- cTrader Algo
- The part of cTrader used to create, backtest, optimise and run cBots, custom indicators and plugins written in C#. Learn more about cTrader Algo →
- cTrader Store
- The official marketplace for cTrader cBots, indicators, plugins and copy strategies. Purchases are linked to the buyer’s cTrader ID, not to a single broker. Learn more about cTrader Store →
- Curve fitting
- Tuning a strategy so closely to historical data that it describes past noise instead of a repeatable edge. Also called overfitting. Learn more about Curve fitting →
- Custom indicator
- A user-built technical indicator for cTrader written in C#. Indicators analyse price data and draw on the chart; they do not place trades by themselves.
D
- Drawdown
- The decline of account equity from a peak to a subsequent low, usually shown in money or as a percentage. Maximum drawdown is the largest such decline in a test or live record. Learn more about Drawdown →
E
- Equity
- Account balance plus or minus the floating profit or loss of open positions.
- Equity stop
- A risk control that closes all positions (and often stops a bot) when equity falls by a defined amount or percentage. Learn more about Equity stop →
- Expectancy
- The average profit or loss per trade: (win rate × average win) − (loss rate × average loss). A positive expectancy is necessary but not sufficient for a robust strategy. Learn more about Expectancy →
F
- Forward testing
- Running a strategy on live market data - usually on a demo or small live account - after backtesting, to check that it behaves as expected on unseen data. Learn more about Forward testing →
G
- Genetic algorithm
- An optimisation method that evolves parameter sets by selection, crossover and mutation, testing far fewer combinations than an exhaustive grid search. cTrader offers it for cBot optimisation. Learn more about Genetic algorithm →
- Grid trading
- A strategy that places orders at predefined intervals above and below a reference price to profit from oscillations. Without strict exposure limits, grids can accumulate large losses in strong trends. Learn more about Grid trading →
H
- Hedging
- Holding offsetting positions to reduce risk, for example a long and a short position in correlated instruments or in the same instrument on accounts that allow it.
I
- In-sample / out-of-sample
- In-sample data is used to develop or optimise a strategy; out-of-sample data is held back to test it. Good out-of-sample results are stronger evidence than in-sample ones. Learn more about In-sample / out-of-sample →
L
- Leverage
- Borrowed exposure that lets a trader control a position larger than the deposit. It magnifies both gains and losses. Learn more about Leverage →
- Lot
- A standard unit of trade size. In forex one standard lot is usually 100,000 units of the base currency; brokers define contract sizes per symbol.
M
- Margin
- The deposit a broker requires to open and keep a leveraged position. If equity falls below the required margin, positions may be closed (margin call / stop-out). Learn more about Margin →
- Martingale
- A position-sizing method that increases size after losses to recover them with one win. It can grow exposure very quickly and is generally considered high-risk.
- Monte Carlo simulation
- Re-running a strategy’s trade sequence many times with random reordering, skipped trades or varied costs to estimate the range of possible outcomes and drawdowns. Learn more about Monte Carlo simulation →
O
- Optimisation
- Searching for parameter values that improve a strategy according to a chosen criterion. Useful when it finds stable parameter regions; harmful when it chases the single best result. Learn more about Optimisation →
P
- Parameter stability
- The property of a strategy whose results stay similar when parameters change slightly. Stable regions are more trustworthy than sharp, isolated peaks. Learn more about Parameter stability →
- Pip
- The standard unit of price change for a currency pair - usually 0.0001, or 0.01 for pairs quoted in Japanese yen.
- Pivot points
- Support and resistance levels calculated from the previous period’s high, low and close (P, R1–R3 or more, S1–S3 or more). Learn more about Pivot points →
- Profit factor
- Gross profit divided by gross loss. Values above 1 mean the strategy made more than it lost over the tested period. Learn more about Profit factor →
- Prop firm
- A proprietary trading firm that funds traders who pass an evaluation, subject to rules such as daily and maximum loss limits. Learn more about Prop firm →
R
- Range trading
- Buying near support and selling near resistance while price moves sideways between them. Learn more about Range trading →
- Recovery factor
- Net profit divided by maximum drawdown. It shows how efficiently a strategy recovers from its worst decline. Learn more about Recovery factor →
- Relative volume (RVOL)
- Current volume compared with the typical volume for the same time of day; values above 1 indicate above-normal activity. Learn more about Relative volume (RVOL) →
- Repainting
- When an indicator changes its past signals as new data arrives, making historical signals look better than they were in real time.
S
- Session box
- The high–low range of a defined trading session (for example the Asian session). Breakout systems trade a move beyond the box in a later session. Learn more about Session box →
- Sharpe ratio
- Average excess return divided by the standard deviation of returns - a measure of return per unit of volatility. Learn more about Sharpe ratio →
- Slippage
- The difference between the expected execution price and the actual fill price, common in fast markets and around news.
- Spread
- The difference between the bid and ask price. It is a trading cost and widens in illiquid periods.
- Stop-loss
- An order that closes a position at a predefined price to limit the loss.
- Swap
- The overnight financing charge or credit for holding a leveraged position past the daily rollover, based on interest-rate differentials and broker terms.
T
- Tick data
- Every individual price update (bid/ask) rather than aggregated bars. Backtests on tick data reproduce spreads and intrabar moves more accurately than bar data. Learn more about Tick data →
- Trailing stop
- A stop-loss that follows price at a set distance as the trade moves in your favour, locking in part of the gain. Learn more about Trailing stop →
W
- Walk-forward analysis
- Repeatedly optimising on one window of data and testing on the following unseen window, then rolling forward. It checks whether optimisation generalises. Learn more about Walk-forward analysis →
- Win rate
- The percentage of trades that close in profit. On its own it says little; it must be read together with average win and average loss. Learn more about Win rate →