Loading...
Loading...
Browse all reviews, rankings, guides, strategies, and trust documents.
134+ essential trading terms explained in plain language. From basic concepts like pips and lots to advanced topics like algorithmic strategies and risk metrics.
Fundamental forex trading concepts
The ask price (also called the offer price) is the lowest price at which a seller is willing to sell a currency pair. It is the price at which you buy the base currency. The ask is always higher than the bid price.
The base currency is the first currency listed in a forex pair. In EUR/USD, the euro (EUR) is the base currency. When you buy a currency pair, you are buying the base currency and selling the quote currency. The exchange rate shows how much of the quote currency is needed to buy one unit of the base currency.
The bid price is the highest price a buyer is willing to pay for a currency pair. It is the price at which you can sell the base currency. The bid is always lower than the ask price, and the difference between them is the spread.
Cross pairs (or crosses) are currency pairs that do not include the US dollar. Popular crosses include EUR/GBP, EUR/JPY, GBP/JPY, and AUD/NZD. They typically have wider spreads than major pairs but can offer good trading opportunities.
A currency pair is the quotation of two different currencies, with the value of one currency being quoted against the other. The first currency is the base currency and the second is the quote currency. Major pairs include EUR/USD, GBP/USD, USD/JPY. Cross pairs don't include USD, such as EUR/GBP or AUD/JPY.
Exotic pairs consist of one major currency paired with a currency from a developing economy (e.g., USD/TRY, EUR/ZAR, GBP/SGD). They have wider spreads, lower liquidity, and higher volatility compared to majors and crosses.
A lot is a standardized unit of measurement for a forex transaction. A standard lot equals 100,000 units of the base currency. A mini lot is 10,000 units, a micro lot is 1,000 units, and a nano lot is 100 units. Lot size directly affects the pip value and therefore the potential profit or loss of a trade.
Major currency pairs are the most traded forex pairs in the world, all containing the US dollar. The seven majors are: EUR/USD, USD/JPY, GBP/USD, USD/CHF, AUD/USD, USD/CAD, and NZD/USD. They offer the highest liquidity, tightest spreads, and most trading volume.
A pip (Percentage in Point) is the smallest price move in a forex quote. For most currency pairs, a pip equals 0.0001 (the fourth decimal place). For JPY pairs, a pip is 0.01 (the second decimal place). Pips are the standard unit for measuring price changes and calculating profit or loss in forex trading. For example, if EUR/USD moves from 1.1050 to 1.1055, that's a 5-pip move.
A pipette is one-tenth of a pip, representing the fifth decimal place in most currency pairs (0.00001) or the third decimal place for JPY pairs (0.001). Many modern brokers quote prices in pipettes for more precise pricing. Also known as a fractional pip or point.
The quote currency (or counter currency) is the second currency in a forex pair. In EUR/USD, the US dollar (USD) is the quote currency. It represents the amount of that currency needed to purchase one unit of the base currency.
The spread is the difference between the bid price (sell) and the ask price (buy) of a currency pair. It represents the broker's fee and is measured in pips. Tighter spreads mean lower trading costs. Spreads can be fixed or variable depending on the broker and market conditions. Major pairs like EUR/USD typically have the tightest spreads.
Core trading terminology
A carry trade involves borrowing a currency with a low interest rate and investing in a currency with a higher interest rate, profiting from the interest rate differential (swap). It is a long-term strategy that works best in stable market conditions.
Leverage allows traders to control a large position with a relatively small amount of capital. Expressed as a ratio (e.g., 1:100, 1:500), it means that for every $1 of margin, you can control $100 or $500 worth of currency. While leverage amplifies potential profits, it equally magnifies potential losses. Brokers set maximum leverage limits, and regulations vary by jurisdiction.
Liquidity refers to how easily a currency pair can be bought or sold without causing a significant price change. Major pairs like EUR/USD are highly liquid with tight spreads. Higher liquidity generally means faster execution and less slippage. Liquidity varies throughout the day based on market sessions.
Going long means buying a currency pair, expecting the base currency to appreciate against the quote currency. If EUR/USD is at 1.1000 and you go long, you profit when the price rises above 1.1000.
Margin is the amount of money required to open and maintain a leveraged trading position. It is not a fee but a portion of your account equity set aside as collateral. Free margin is the available equity that can be used to open new positions. Used margin is the amount locked in open positions.
A margin call occurs when your account equity falls below the required margin level, typically at 100% or 50% depending on the broker. The broker will notify you to either deposit more funds or close positions to restore the margin level. If the equity continues to drop, the broker may automatically close positions (stop-out).
Going short means selling a currency pair, expecting the base currency to depreciate against the quote currency. If EUR/USD is at 1.1000 and you go short, you profit when the price falls below 1.1000.
Slippage occurs when a trade is executed at a different price than expected. It happens during periods of high volatility or low liquidity, especially during news events. Slippage can be positive (better price) or negative (worse price). Using limit orders instead of market orders can help reduce slippage.
The stop-out level is the margin level at which the broker automatically begins closing your open positions to prevent further losses. Typically set at 20-50% margin level. Positions are closed starting from the one with the largest loss.
A swap or rollover is the interest rate differential between the two currencies in a pair, charged or credited to your account when you hold a position overnight. Swap can be positive (you earn) or negative (you pay). Swap-free accounts (Islamic accounts) are available for traders who cannot receive or pay interest.
Volatility measures the degree of price fluctuation over a given period. High volatility means larger price swings and potentially more profit opportunities but also higher risk. Volatility is often measured using indicators like ATR (Average True Range) or Bollinger Bands. News events, economic releases, and session overlaps increase volatility.
Chart patterns, indicators, and analysis methods
ATR is a volatility indicator that shows the average range of price movement over a specified period (typically 14). It doesn't indicate direction, only the degree of price volatility. ATR is commonly used to set stop-loss levels, position sizing, and identifying volatility breakouts.
Bollinger Bands consist of a middle band (SMA 20) and two outer bands placed 2 standard deviations above and below. They measure volatility -- bands widen during high volatility and narrow during low volatility (squeeze). Price touching the upper band may indicate overbought conditions; touching the lower band may indicate oversold.
A breaker block in ICT methodology is a previously-valid order block that has been violated by price (closed beyond it) but whose role then reverses — a former bullish order block that's broken downward becomes a bearish breaker, expected to act as resistance on subsequent revisits. The concept models how 'failed support becomes resistance' in classical technical analysis but with stricter ICT-specific rules around what qualifies. Breaker block detection requires tracking order block invalidation events and is moderately codable in EAs, though the reliability of breaker reactions is more debated than original order blocks.
A breakout occurs when price moves above resistance or below support with increased volume. Breakout trading involves entering a position when price breaks a key level, expecting the momentum to continue. False breakouts (fakeouts) occur when price briefly breaks a level but quickly reverses.
A candlestick chart displays price data using candle-shaped bars showing open, high, low, and close prices for a time period. A bullish (green/white) candle closes higher than it opens; a bearish (red/black) candle closes lower. Candlestick patterns like Doji, Hammer, and Engulfing are used to predict reversals.
A death cross is a bearish signal that occurs when a short-term moving average (typically SMA 50) crosses below a long-term moving average (typically SMA 200). It suggests the beginning of a major downtrend.
Displacement in ICT methodology is a fast, momentum-driven price move (typically 3+ consecutive same-direction candles with above-average range) that signals strong institutional intent. Displacement is what creates order blocks (the last opposite-direction candle before the displacement) and fair value gaps (the imbalance candles within the displacement). ICT practitioners use displacement as confirmation that the trading direction has institutional backing. Displacement detection in EAs is straightforward: measure candle-range deviation from rolling average, confirm directional consistency across N consecutive candles. The challenge is configuring the threshold parameters without overfitting to backtest noise.
Divergence occurs when price moves in the opposite direction of a technical indicator (e.g., RSI, MACD). Bullish divergence: price makes lower lows while the indicator makes higher lows (potential upward reversal). Bearish divergence: price makes higher highs while the indicator makes lower highs (potential downward reversal).
A Doji is a candlestick pattern where the opening and closing prices are virtually equal, creating a cross or plus sign shape. It signals market indecision and potential reversal. Types include Standard Doji, Dragonfly Doji, Gravestone Doji, and Long-Legged Doji.
The EMA is a type of moving average that places more weight on recent prices, making it more responsive to new information than the SMA. Commonly used periods include EMA 9, 21, 50, and 200. EMAs are popular for short-term trading signals and trend identification.
A Fair Value Gap (FVG), also called an imbalance or inefficiency, is a three-candle price-action pattern where the second candle's range produces a gap between the first candle's wick and the third candle's wick. The unfilled portion represents 'inefficient delivery' in ICT terminology — price moved through an area without producing two-sided transactions. ICT methodology anticipates that price will return to fill the FVG as institutional traders provide liquidity to the unfilled zone. FVG detection is mechanically codable; EAs commonly use FVGs as entry triggers with a multi-timeframe confluence filter.
Fibonacci retracement uses horizontal lines at key Fibonacci levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) to identify potential support and resistance areas. These levels are drawn between a significant high and low point on a chart. The 61.8% level (golden ratio) is considered the most significant.
Fundamental analysis evaluates a currency's value by examining economic, financial, and geopolitical factors. Key data includes GDP, interest rates, inflation, employment figures, and central bank policies. Fundamental traders focus on economic news releases and macroeconomic trends.
A golden cross is a bullish signal that occurs when a short-term moving average (typically SMA 50) crosses above a long-term moving average (typically SMA 200). It suggests the beginning of a major uptrend and is widely followed by traders.
Imbalance in ICT terminology refers to an inefficient price move — a sequence of candles where one side of the order flow dominates so completely that price moves through levels without producing matched bid-ask transactions on the way through. Imbalances overlap conceptually with Fair Value Gaps (FVG) and are sometimes used interchangeably; technically an imbalance is the broader concept and FVG is the specific three-candle visualisation. ICT methodology anticipates imbalances will be rebalanced — price will return to fill the inefficient zone as part of normal order-flow rebalancing. Many ICT EAs use imbalance detection as a primary entry signal.
A liquidity sweep (also called a 'stop hunt' or 'liquidity grab') is a price-action move that pushes briefly past a notable swing high or swing low to trigger stop-loss orders clustered above/below those levels, then reverses sharply in the opposite direction. ICT methodology interprets liquidity sweeps as deliberate institutional behaviour to harvest retail stop-loss liquidity before initiating the larger directional move. Detection requires identifying significant liquidity pools and confirming the reversal velocity; the EA implementation depends on configurable thresholds for what counts as a 'sweep' vs a genuine breakout.
MACD is a trend-following momentum indicator showing the relationship between two EMAs (typically 12 and 26 periods). The MACD line minus the signal line (9 EMA of MACD) generates buy/sell signals. When MACD crosses above the signal line, it's bullish; below is bearish. The histogram visualizes the difference between the two lines.
A moving average smooths out price data by calculating the average price over a specified period. The Simple Moving Average (SMA) gives equal weight to all prices; the Exponential Moving Average (EMA) gives more weight to recent prices. Common periods are 20, 50, 100, and 200. MAs are used to identify trends, support/resistance, and crossover signals.
An order block is a specific candle (typically the last bullish candle before a strong bearish impulse, or vice versa) interpreted in ICT / Smart Money Concepts methodology as the price zone where institutional traders accumulated positions before driving price aggressively in the opposite direction. ICT practitioners use order blocks as anticipated reversal zones — if price returns to the order block after the impulse, they expect resumption of the impulse direction. Detection is rules-based (specific candle structure + impulse threshold), making order blocks one of the more codable ICT concepts for EA automation.
An oscillator is a technical indicator that moves between fixed boundaries (e.g., 0-100), helping identify overbought and oversold conditions. Common oscillators include RSI, Stochastic, and CCI. They are most effective in ranging markets.
A market condition where a security has risen significantly and rapidly, potentially beyond its fair value. Indicators like RSI above 70 or Stochastic above 80 suggest overbought conditions. It may signal an upcoming pullback or reversal, though strong trends can remain overbought for extended periods.
A market condition where a security has fallen significantly and rapidly, potentially below its fair value. Indicators like RSI below 30 or Stochastic below 20 suggest oversold conditions. It may signal an upcoming bounce or reversal.
RSI is a momentum oscillator that measures the speed and magnitude of price changes on a scale of 0 to 100. RSI above 70 suggests overbought conditions (potential reversal down); below 30 suggests oversold (potential reversal up). The standard period is 14. RSI divergence with price can signal trend weakness.
The SMA calculates the average price over a specific number of periods, giving equal weight to each price point. SMA 200 is widely watched as a long-term trend indicator. When price crosses above the SMA, it may signal an uptrend; below signals a downtrend.
The Stochastic oscillator compares a closing price to its price range over a given period. It produces two lines (%K and %D) ranging from 0-100. Readings above 80 indicate overbought, below 20 indicate oversold. Crossovers between %K and %D generate trading signals.
Support is a price level where buying pressure is strong enough to prevent further decline. Resistance is where selling pressure prevents further rise. These levels are identified using historical price data, trend lines, moving averages, and Fibonacci retracements. When price breaks through support or resistance, it often signals a trend continuation.
Technical analysis is a method of evaluating markets by analyzing price charts, patterns, and statistical indicators. It assumes that price movements follow trends and that history tends to repeat itself. Common tools include moving averages, RSI, MACD, and support/resistance levels.
A trend is the general direction of a market or asset's price over time. An uptrend (bullish) has higher highs and higher lows. A downtrend (bearish) has lower highs and lower lows. A sideways trend (range) shows no clear direction. 'The trend is your friend' is a fundamental trading principle.
A trend line is a straight line drawn on a chart connecting two or more price points, used to identify the direction and strength of a trend. An uptrend line connects higher lows; a downtrend line connects lower highs. The more times price touches a trend line without breaking it, the stronger it is.
Volume represents the total number of shares or contracts traded during a given period. In forex, tick volume (number of price changes) is used as a proxy since there's no centralized exchange. High volume during a price move confirms the strength of the move.
MetaTrader and trading software terms
Backtesting is the process of testing a trading strategy using historical market data to evaluate its performance. In MetaTrader, the Strategy Tester simulates trades based on past data. Key metrics include profit factor, max drawdown, win rate, and total profit. Backtesting helps validate strategies before risking real money, though past results don't guarantee future performance.
A demo account is a simulated trading account funded with virtual money, allowing traders to practice without financial risk. It uses real-time market data and replicates live trading conditions. Ideal for testing strategies, learning platforms, and evaluating Expert Advisors before live trading.
An Expert Advisor is an automated trading program written in MQL4 or MQL5 that runs on the MetaTrader platform. EAs can analyze markets, place trades, manage positions, and execute complete trading strategies without manual intervention. They follow predefined rules and algorithms, eliminating emotional trading decisions.
A forex indicator is a mathematical calculation based on price, volume, or open interest data that generates visual signals on charts. Indicators help traders identify trends, momentum, volatility, and potential entry/exit points. They can be leading (predictive) or lagging (confirming). Custom indicators can be created in MQL for MetaTrader.
Forward testing (or paper trading) runs a strategy on a demo account with live market data in real-time to validate backtesting results. It accounts for real-world factors like slippage, spread variations, and execution delays that backtesting may miss.
MetaTrader 4 is the most widely used forex trading platform, developed by MetaQuotes Software. It supports Expert Advisors written in MQL4, custom indicators, scripts, and backtesting via the Strategy Tester. MT4 offers charting tools, multiple order types, and a built-in marketplace for trading tools.
MetaTrader 5 is the successor to MT4, supporting more asset classes (stocks, futures, options alongside forex), more timeframes, a built-in economic calendar, DOM (Depth of Market), and improved backtesting with multi-currency strategy testing. It uses MQL5 programming language.
MQL is the programming language used to create Expert Advisors, custom indicators, scripts, and libraries for MetaTrader platforms. MQL4 is used for MT4 and MQL5 for MT5. It is a C++-like language specifically designed for developing trading algorithms and technical analysis tools.
A script is a program that runs once to perform a specific task in MetaTrader, unlike an EA which runs continuously. Scripts can close all open orders, place pending orders, calculate lot sizes, or perform other one-time operations. They are written in MQL4/MQL5.
The Strategy Tester is MetaTrader's built-in backtesting tool. It simulates an EA's performance using historical data with different modeling modes: every tick (most accurate), 1-minute OHLC, and open prices only (fastest). MT5's tester supports multi-currency and multi-timeframe testing.
A timeframe defines the period each candlestick or bar represents on a chart. Common timeframes include M1 (1 minute), M5, M15, M30, H1 (1 hour), H4, D1 (daily), W1 (weekly), and MN (monthly). Scalpers use lower timeframes (M1-M15); swing traders use H4-D1; position traders use D1-MN.
A VPS is a remote server that runs your MetaTrader platform 24/7 without interruption. Essential for Expert Advisors that need continuous operation. Benefits include low latency to broker servers, uninterrupted power and internet, and no need to keep your computer running. Popular VPS providers offer MetaTrader-optimized plans.
Risk assessment and money management
Account balance is the total amount of money in your trading account after all closed trades but not accounting for open positions. It changes only when positions are closed. Equity = Balance + Floating P/L.
Drawdown is the peak-to-trough decline in account equity, expressed as a percentage. Maximum drawdown is the largest percentage drop from a peak before a new peak is reached. It is a critical risk metric for evaluating trading strategies and Expert Advisors. A 50% drawdown requires a 100% gain to recover, making low-drawdown strategies preferable.
Equity is the current value of your trading account, calculated as Balance + Unrealized Profit/Loss. It fluctuates with open positions. Equity determines your available margin and margin level. When equity drops below the required margin, a margin call occurs.
Free margin is the amount of money in your account that is available to open new positions. Calculated as Equity minus Used Margin. If free margin drops to zero, no new positions can be opened.
Position sizing determines how much capital to allocate to a single trade, usually based on risk percentage per trade (e.g., risking 1-2% of account balance). Proper position sizing protects against large losses and is fundamental to money management. The Kelly Criterion and fixed fractional methods are common sizing approaches.
Profit factor is the ratio of gross profit to gross loss. A profit factor above 1.0 means the strategy is profitable. Values above 1.5 are considered good; above 2.0 is excellent. It is one of the most important metrics for evaluating trading system performance. Profit Factor = Total Winning Trades / Total Losing Trades.
The risk-reward ratio compares the potential loss (risk) to the potential profit (reward) of a trade. A 1:2 ratio means risking $1 to potentially gain $2. Professional traders typically aim for at least 1:1.5 or 1:2. Combined with a win rate above 50%, favorable risk-reward ratios lead to long-term profitability.
The Sharpe ratio measures risk-adjusted return by dividing the excess return of an investment over the risk-free rate by its standard deviation. A higher Sharpe ratio indicates better risk-adjusted performance. Values above 1.0 are acceptable; above 2.0 is very good; above 3.0 is excellent.
Win rate is the percentage of trades that are profitable. A 60% win rate means 6 out of 10 trades are winners. However, win rate alone doesn't determine profitability -- it must be considered alongside the risk-reward ratio. A strategy with 40% win rate but 1:3 risk-reward can be more profitable than 70% win rate with 1:0.5.
Types of trading orders
A breakeven stop is a stop-loss adjustment rule that moves the original stop to the entry price (or slightly beyond, accounting for spread/commission) once the trade has reached a configurable profit threshold. The threshold is typically a multiple of risk (e.g. when price reaches +1R, move stop to entry +0.1R). After breakeven activates, the trade cannot become a loss — but small price retracement can stop out trades that would have continued favourably. Standard feature in trend-following EAs.
A limit order is set to buy below or sell above the current market price. A buy limit is placed below the current price (expecting a bounce); a sell limit is placed above (expecting a reversal). Limit orders guarantee the execution price but not execution itself.
A market order is an instruction to buy or sell immediately at the current market price. It guarantees execution but not the exact price, as slippage may occur during volatile markets. Market orders are the simplest and most common order type.
Market-on-open (MOO) is technically a stock-market order type that executes at the day's opening auction. Forex markets trade continuously without exchange-style opening auctions, so MOO in forex context means a market order timed to session opens — London open (08:00 GMT), NY open (14:00 GMT), or Asian open (Tokyo open). EAs implementing 'open-of-session' entries typically check exact timing against session-specific UTC offsets and place market orders within a precise window (e.g. first 60 seconds after London open).
OCO (One-Cancels-Other) is a pair of pending orders linked such that the execution of either order automatically cancels the other. The most common form is the stop-loss + take-profit pair attached to an open position — when either is hit, the position closes and the other is cancelled. Standalone OCO setups can also be used for entry: pending buy-stop + pending sell-stop (cancellation on first fill) is a common breakout-entry pattern.
A partial close reduces the size of an open position without closing it entirely. For example, a position of 1.0 lot can be partially closed by 0.5 lots, leaving 0.5 lots open. This is a common trade-management technique: close half the position at a profit target to lock in gains, leaving the remainder to run for larger profit potential. Often combined with moving the stop to breakeven on the remaining position — creating a 'free trade' that can only win or break even.
A pending order is an instruction to open a position when the price reaches a specified level. Types include buy limit, sell limit, buy stop, and sell stop. MT5 also supports buy stop limit and sell stop limit. Pending orders allow you to enter the market at precise price levels without monitoring charts constantly.
A stop loss is an order placed to automatically close a position at a predetermined loss level, limiting potential losses. It is the most important risk management tool. Trailing stop losses move automatically with favorable price action to lock in profits. Every trade should have a stop loss.
A stop order (or stop entry order) is placed above or below the current price. A buy stop is above the current price (expecting a breakout); a sell stop is below (expecting a breakdown). Once the price reaches the stop level, it becomes a market order.
A stop-limit order combines two parameters: a stop price (the trigger level) and a limit price (the worst acceptable execution price). When the market reaches the stop, a limit order is placed at the limit price. This caps adverse slippage on entry/exit at the cost of potentially missing fills if price moves through the limit without filling. Used in scenarios where execution-quality matters more than guaranteed fill, e.g. breakout entries during news where slippage can be extreme.
A take profit order automatically closes a position when it reaches a specified profit level. It removes the emotional aspect of deciding when to exit a winning trade. Combined with stop loss, it defines the complete risk-reward profile of a trade.
Time-in-force (TIF) is an order parameter specifying the lifetime and fill-policy of a pending order. Common values: GTC (Good Till Cancelled — stays active indefinitely until filled or manually cancelled), GTD (Good Till Date — active until a specified expiration), FOK (Fill or Kill — must fill the entire order immediately or be cancelled), IOC (Immediate or Cancel — fill what is immediately available and cancel the unfilled remainder), DAY (active only for the current trading day). Different TIF values produce different fill behaviour and slippage characteristics.
A trailing stop is a dynamic stop loss that moves with the price in your favor, maintaining a fixed distance. If the price reverses by the trailing amount, the position is closed. It allows you to lock in profits while letting winners run. Available as a built-in MetaTrader feature or coded in EAs.
Algorithmic and manual strategy types
Algorithmic trading uses computer programs to execute trades based on predefined rules and mathematical models. It eliminates emotional decisions, enables faster execution, and can process multiple markets simultaneously. Expert Advisors on MetaTrader are a form of algorithmic trading accessible to retail traders.
A breakout strategy enters trades when price breaks through established support or resistance levels with increased momentum. Traders look for consolidation patterns (triangles, channels, rectangles) and enter when the price breaks out. Volume confirmation and false breakout filters improve success rates.
Copy trading (or social trading) allows traders to automatically replicate the trades of experienced traders. Platforms like MQL5 Signals, ZuluTrade, and eToro offer copy trading services. Followers select signal providers based on their track record, risk profile, and trading style.
Currency correlation measures how two currency pairs move in relation to each other. Positive correlation (e.g., EUR/USD and GBP/USD) means they tend to move in the same direction. Negative correlation (e.g., EUR/USD and USD/CHF) means opposite directions. Understanding correlation helps diversify risk and avoid doubling exposure.
Day trading involves opening and closing all positions within the same trading day, avoiding overnight risk and swap charges. Day traders analyze intraday charts (M5-H1) and make multiple trades daily. It requires active monitoring and disciplined risk management.
Grid trading places multiple buy and sell orders at regular intervals above and below a set price, creating a grid. It profits from market oscillation within a range. Grid EAs automatically manage the grid of orders. Risk: in strongly trending markets, one side of the grid accumulates large losses requiring careful money management.
Hedging involves opening opposing positions to reduce risk exposure. In forex, you might go long EUR/USD and long USD/CHF (since they're negatively correlated). Direct hedging opens buy and sell on the same pair simultaneously (supported on MT5 hedge accounts). It limits both losses and profits.
HFT is a subset of algorithmic trading that executes a very large number of orders at extremely high speeds (milliseconds). It requires specialized hardware, co-located servers, and direct market access. HFT is primarily used by institutional traders and is not practical for retail traders on MetaTrader.
Martingale is a position-sizing strategy that doubles the lot size after every losing trade to recover all previous losses with one winning trade. While mathematically sound in theory, it carries extreme risk of account blow-up during extended losing streaks. Anti-martingale (reverse) increases size after wins instead.
Mean reversion assumes that prices tend to return to their average over time. When price deviates significantly from its mean (measured by Bollinger Bands, RSI, etc.), traders enter positions expecting a return to the mean. It works best in ranging markets and for pairs with established trading ranges.
News trading involves taking positions based on economic news releases and events (NFP, interest rate decisions, GDP). Traders either straddle before news (placing pending orders in both directions) or react quickly after the release. High volatility and slippage are common during news events.
Price action trading analyzes raw price movements without relying on indicators. Traders use candlestick patterns, chart formations, support/resistance, and trend lines to make decisions. It emphasizes reading the 'story' of the chart and understanding market psychology through price behavior alone.
Range trading identifies support and resistance levels in a sideways market and buys at support while selling at resistance. It works best when markets are not trending. Oscillators like RSI and Stochastic help confirm range-bound conditions.
Scalping is a high-frequency trading strategy that aims to profit from very small price movements. Scalpers open and close many trades within minutes, targeting 5-20 pips per trade. It requires fast execution, tight spreads, and high concentration. Scalping EAs automate this process with precise entry/exit rules.
Swing trading aims to capture medium-term price moves over days to weeks. Swing traders use H4 and D1 timeframes, focusing on trend changes, pullbacks, and breakouts. It requires less screen time than scalping or day trading but involves overnight and weekend risk.
Trend following is a strategy that enters trades in the direction of the prevailing trend and exits when the trend reverses. It uses indicators like moving averages, MACD, and ADX to identify and confirm trends. Trend-following EAs are popular for their simplicity and effectiveness in trending markets.
Statistics, ratios, and equity-curve metrics used to evaluate trading systems
The Calmar ratio is annualised compound return divided by maximum peak-to-trough drawdown over the measurement window (typically 3 years). It is one of the most intuitive risk-adjusted metrics because both numerator and denominator are quantities traders care about directly: 'how much I made' and 'how bad the worst run was'. A Calmar ratio of 2.0 means the strategy delivered 2× its worst drawdown in annual returns. Retail forex EAs typically run Calmar 1-3; above 5 is rare and should prompt scrutiny.
Expectancy is the mathematically expected profit (or loss) per trade for a given strategy. Formula: E = (P_win × avgWin) − (P_loss × avgLoss), where P denotes probability and avg denotes average amounts. Positive expectancy means the strategy mathematically expects to make money over a sufficient sample size. The expected R-multiple version expresses expectancy in units of initial risk: E_R = (P_win × avgWinR) − (P_loss × 1). Expectancy is the single most important metric for evaluating whether a strategy has an edge; everything else is execution detail.
The Kelly Criterion (John L. Kelly Jr., 1956) is a formula for optimal bet sizing that maximises the long-term geometric growth rate of capital. For a binary outcome: f* = (bp − q) / b, where f* is the optimal fraction of capital to risk, b is the win/loss payoff ratio, p is the win probability, and q = 1 − p is the loss probability. Full Kelly maximises geometric return but produces very high variance — most practitioners use fractional Kelly (typically 25% or 50% Kelly) to balance growth and drawdown.
Maximum Adverse Excursion (MAE) is the largest unrealised loss a trade reached at any point between entry and exit. Introduced by John Sweeney in the 1990s, MAE analysis is a diagnostic tool for stop-loss optimisation: by plotting MAE distributions for winning vs losing trades, traders can identify whether stops are too tight (cutting winners short) or too wide (giving back too much on losers). MAE is measured per trade and analysed in aggregate across the strategy's trade sample.
Maximum Favourable Excursion (MFE) is the largest unrealised profit a trade reached at any point during its life, before closing at the actual exit price. The counterpart to MAE, MFE measures how much profit was 'available' at the trade's peak vs how much was actually realised. The ratio realised_profit / MFE reveals exit-strategy efficiency: trades that realise close to their MFE have well-tuned take-profits or trailing logic; large gaps between MFE and realised indicate exit logic that gives back too much.
An R-multiple (introduced by Van K. Tharp) expresses the outcome of any trade as a multiple of its initial risk. The 'R' is the distance from entry to initial stop-loss in dollars; if entry is 1.1000 with stop at 1.0950 on 0.1 lots, R = $50. A trade that hits target at 1.1100 yields $100 profit, which equals +2R. R-multiples are essential for comparing trades across different position sizes and account sizes, and they normalise expectancy calculations.
Recovery factor is a common backtest metric defined as total net profit ÷ maximum drawdown (both absolute amounts). It answers how completely a strategy has compensated for its worst-case loss with cumulative gains. Recovery factor above 5 on a multi-year track is strong; above 10 is excellent. The metric is particularly useful for evaluating long-running EAs because it scales with track length and rewards strategies that continue producing profit beyond their worst drawdown.
The Sharpe ratio is a risk-adjusted return metric defined as (mean return − risk-free rate) ÷ standard deviation of returns. It quantifies how much excess return a strategy generates per unit of volatility. Annualised Sharpe ratios above 1.0 are typically considered acceptable for retail forex EAs, above 2.0 strong, and above 3.0 exceptional but rare in real live operation. The ratio is most informative when comparing strategies of similar style on the same data sample.
The Sortino ratio (Frank Sortino, 1980s) is a risk-adjusted return metric similar to Sharpe but using downside deviation — the standard deviation of negative returns only — in the denominator. The intuition is that upside volatility is desirable and should not be penalised. Sortino ratios above 1.5 are typically considered good for retail EAs, above 2.5 excellent. Sortino is preferred over Sharpe for asymmetric strategies such as trend-following or breakout systems where large upside moves are part of the edge.
The win/loss ratio (also called the reward-to-risk ratio at the trade level) compares the average size of winning trades to the average size of losing trades. Mathematically: |avg winning trade $ amount| ÷ |avg losing trade $ amount|. A ratio of 2.0 means typical winners are twice the size of typical losers. This metric combined with win rate determines expectancy and is essential for evaluating any trading system. Scalpers often run win/loss < 1 (small wins, larger losses) but compensate with high win rate; trend-followers often run win/loss > 2 with lower win rates.
Order routing, slippage mechanics, broker models, and execution-quality concepts
A-book and B-book describe the two fundamental ways brokers handle client orders. A-book brokers (also called STP or ECN) pass orders through to external liquidity providers and earn from spreads/commissions regardless of client P&L. B-book brokers (market makers) take the opposite side of client trades internally — when the client loses, the broker profits; when the client wins, the broker loses. Most retail brokers use a hybrid model, B-booking small/unprofitable clients and A-booking large/profitable ones.
FIX (Financial Information eXchange) is a messaging protocol used across financial markets for real-time order entry, trade execution, and market data delivery. Originally developed in 1992 by Fidelity Investments and Salomon Brothers, FIX is now the industry standard for institutional electronic trading. Forex-specific use includes connecting to ECNs (Currenex, Hotspot, Integral) and prime broker connections. Retail traders typically don't use FIX directly; the equivalent for retail is MT4/MT5 native APIs.
Last-look execution is a controversial market-making practice where the liquidity provider (LP) or broker can reject an incoming order after a brief 'last look' window (typically 50-200ms). During this window, the LP sees the order, can compare it against current market conditions, and can decline to fill if the trade would be unprofitable. Last-look advantages the broker but disadvantages the trader, especially for time-sensitive strategies. ECN brokers without last-look (no-LP rejection) are preferred for serious algo trading.
Latency arbitrage exploits price feed delays between brokers — a faster trader sees the new market price before slower brokers' quotes update, allowing them to trade at the slower broker's stale (now mispriced) quote. The strategy was profitable in the early 2000s with substantial speed advantage; today, brokers actively detect and combat it (rejecting orders, widening spreads for fast traders, banning accounts). Almost impossible at retail scale; institutional latency arb requires co-location and proprietary infrastructure.
Off-quote (MetaTrader error 136, `ERR_OFF_QUOTES`) occurs when the broker rejects an order because the requested price is no longer at the current market quote — typically because the price has moved significantly since the EA captured it. Common during fast markets, after weekend rollovers, and when EA logic uses cached prices that have become stale. Resolution is to refresh the symbol's quote with `SymbolInfoTick` and resubmit, or adjust the slippage tolerance to permit a wider acceptable range.
A partial fill is the execution of less than the requested order volume at the requested price. For example, an order for 10 lots may be filled as 6 lots at the original price, with the remaining 4 lots either filled at a different price (slippage) or rejected. Partial fills are common in fast markets, low-liquidity windows, and large-volume orders. EAs that don't explicitly handle partial fills can end up with inconsistent position state — a stop-loss attached to 'the trade' may only protect the filled portion.
A requote happens when the broker rejects the original order price and presents a new price for the trader (or EA) to accept or decline. The cause is usually fast price movement during the order's transit: by the time the order reaches the dealer, the original quote is no longer available. Requotes are frequent at retail market-maker brokers (dealing desk model) and during high-volatility events. They are operationally damaging for scalping EAs because the delay between request and confirmation breaks the original entry rationale.
A spread spike is a sudden widening of the bid-ask spread, typically during low-liquidity periods (rollover at 22:00-23:00 GMT for many brokers), around major news releases, or during illiquid Asian sessions. EURUSD might normally trade at 0.1-0.3 pips spread but briefly see 3-8 pips during a spike. The danger for EAs: stop-loss orders execute at the bid (for longs) or ask (for shorts), and a spread spike can trigger stops that wouldn't otherwise be hit by 'real' price action.
STP (Straight-Through Processing) and NDD (No Dealing Desk) are functionally similar broker-model descriptions: orders pass directly to liquidity providers (LPs) without internal market-making or human intervention. The broker earns from spread markup or per-lot commission rather than from being on the opposite side of client trades. STP/NDD overlaps substantially with ECN (Electronic Communication Network) brokers; the terms are often used interchangeably though technically distinct.
A Virtual Private Server (VPS) is a remote server (essentially a Windows machine running in a data centre) that runs MetaTrader 4/5 and EAs continuously without dependency on the trader's home PC or internet connection. VPS provides three benefits: 24/7 uptime (no power outages or PC reboots), low latency to broker servers (especially when co-located in the same data centre), and isolation from local network issues. Typical retail VPS cost: $15-$40/month for a basic forex VPS.
Machine learning, optimization, and AI concepts applied to algorithmic trading
An ensemble model combines predictions from multiple base models (called 'weak learners') to produce a final prediction that is typically more accurate and robust than any single base model. Common ensemble patterns: bagging (parallel training on bootstrap samples, e.g. Random Forest), boosting (sequential training with each model focusing on previous errors, e.g. XGBoost), and stacking (a meta-model learns to combine base-model outputs). Widely used in algorithmic trading because variance reduction and overfitting resistance are critical.
Overfitting (in trading often called curve-fitting) is the failure mode where a model or strategy is so tightly tuned to historical data that it captures noise rather than genuine signal. The strategy looks excellent on the data used to develop it but fails on new data — because the patterns it 'learned' were random rather than recurring. Overfitting is the single most common failure mode of retail-developed EAs and the reason walk-forward validation is essential for credible strategy development.
Pattern recognition in algorithmic trading is the automated identification of recurring price-action or indicator structures that historically preceded specific market behaviour. Implementations range from rules-based detection (e.g. 'engulfing candle = 2nd candle's body fully contains 1st candle's body') to machine learning models (CNNs trained on chart images, LSTMs on price sequences). Pattern recognition is a foundational AI/ML application in trading, used in scalping, breakout, reversal, and structure-based strategies.
Regime detection identifies the current 'market state' — a discrete or continuous characterisation of how the market is behaving. Common regime distinctions: trending vs ranging, high-volatility vs low-volatility, risk-on vs risk-off, mean-reverting vs momentum. Implementation methods range from simple indicator thresholds (ADX > 25 = trending) to statistical models (Hidden Markov Models) to ML classifiers. Strategies use regime detection to switch parameters, activate/deactivate, or rebalance across multiple sub-strategies.
Reinforcement learning (RL) is the machine learning paradigm where an agent learns optimal behaviour through trial and error in an environment, guided by a reward signal. In trading applications: the agent observes market state, takes actions (open long, open short, close, hold), and receives rewards (profits) or penalties (losses). RL frameworks include Q-learning, policy gradient methods, and actor-critic models. While theoretically attractive for trading, RL has produced limited live success vs supervised learning due to data inefficiency, non-stationarity, and reward signal noise.
Supervised learning is the machine learning paradigm where models learn a mapping from input features (X) to output targets (y) by training on labelled examples. In trading: features X might include recent returns, volatility, volume, technical indicators, time-of-day; target y might be the binary outcome 'price up or down 30 minutes from now' or the continuous outcome 'return over next 30 minutes'. Common algorithms: gradient-boosted trees (XGBoost, LightGBM), neural networks, support vector machines, logistic regression.
Walk-forward optimisation (WFO) is a backtesting methodology that simulates real-time strategy adaptation. The process: (1) optimise parameters on data from window T1, (2) test on out-of-sample window T2, (3) advance both windows forward, (4) optimise again on data from T1+step, test on T2+step, etc. The result is a series of out-of-sample test results that approximate how the strategy would have performed in live trading if parameters were periodically reoptimised. Far more reliable than single in-sample optimisation.
MetaTrader file formats, config artifacts, and operational glossary
A .set file is a plain-text MetaTrader preset file that stores EA input parameter values. The file is loaded via the EA's input dialog using the 'Load' button, applying all saved parameter values at once. Vendors typically distribute recommended .set files alongside their EAs (e.g. 'EURUSD_M5.set', 'XAUUSD_aggressive.set'), and traders create their own .set files after parameter optimisation. Files are human-readable text with `parameter_name=value` lines.
A .tpl file is a MetaTrader template that stores a complete chart configuration: applied indicators with their parameters, EA attachment, colour scheme, time scale, drawing objects, and chart-window properties. Save a setup via 'Charts → Template → Save Template'; apply via 'Template → Load'. Vendors distribute .tpl files alongside EAs to recreate the recommended chart layout (indicators, colours, EA settings). Different from .set files, which store only EA input parameters.
A magic number is an integer (typically 4-8 digits) attached to every order placed by an EA via the MQL5 `magic` parameter in trade requests. The EA filters its own positions by magic number, ignoring trades from other EAs or manual trades. This is the standard mechanism for multi-EA coexistence on a single account: each EA uses a unique magic number, and each EA manages only positions with its own magic number. Conflicts between EAs sharing magic numbers cause one EA to modify or close another's positions.
MQL5 symbol mapping is the practice of resolving instrument names across brokers that use different naming conventions. The same instrument (EUR/USD) may be called 'EURUSD' at one broker, 'EURUSD.r' at another, 'EURUSDpro' at a third, and 'EURUSD-T2' at an ECN broker offering tiered liquidity. EAs that hardcode symbol names break when run on different brokers; robust EAs detect and adapt to the broker's naming convention either via input parameter or pattern-matching against `SymbolsTotal()`.
VPS, APIs, and trader-side infrastructure