Basics
Plain answers to the terms you meet when you test a strategy.
Testing
- What is backtesting?Backtesting runs your rules on past prices to see how they would have behaved. Learn what it shows, what it cannot show, and how to read the report.
- What is forward testing?Forward testing runs your rules on new prices as they arrive, with simulated funds only. Learn how it differs from a backtest and when to use it.
- What is overfitting?Overfitting is tuning rules so closely to past prices that they stop working on new ones. Learn why it fools people and how to check for it.
- What is paper trading? Practice with simulated fundsPaper trading is trading on live prices with simulated funds and no real order. Learn what it shows, what it cannot, and how Oalgo's forward test does it.
- What is lookahead bias? How a test uses the futureLookahead bias is when a test uses a value the rules could not have known yet. Learn the common ways it creeps in and how to check your rules for it.
- Out-of-sample testing: how to check a backtestOut-of-sample testing checks rules on prices they were not tuned on. Learn how to split past prices, how to read the two parts, and what Oalgo's report shows.
Risk
- What is drawdown? Maximum drawdown explainedDrawdown is the fall from your account's high point to a later low. See how it is measured, why recovering takes a bigger gain, and how to read it.
- What is win rate? Why it says little on its ownWin rate is the share of trades that ended in a gain. Learn how it is worked out, why a high win rate can still lose money, and what to read with it.
- What is a stop loss? How to set oneA stop loss closes a trade when price moves a set distance against it. Learn how a stop is set, what it cannot promise, and what a Live Strategy needs.
- What is the risk-reward ratio? How to work it outThe risk-reward ratio compares what a trade can gain with what it can lose. See how to work it out from entry, stop and target, and what it misses.
- What is position sizing? How to size a tradePosition sizing decides how much to put into each trade. Learn the fixed-risk method, a worked example, and how the position size calculator does the sum.
- What is expectancy? What one trade is worth on averageExpectancy is what one trade is worth on average, from the win rate and the size of wins and losses. Learn the formula, a worked example and its limits.
- Trailing stop explained: how it follows priceA trailing stop moves with price in the trade's favour and never back. Learn how it is calculated, a candle-by-candle example, and how to set it in Oalgo.
- What is the Sharpe ratio? How to read it, with an exampleThe Sharpe ratio divides the average daily change in account value by how much it varies. See the formula, how Oalgo works it out, and a worked example.
- What is CAGR? The formula, with a worked exampleCAGR is the steady yearly rate that takes a start value to an end value. See the formula, a worked example with made-up numbers and what CAGR hides.
- Compound interest formula: how to work it outThe compound interest formula is A = P(1 + r/n)^(nt). See what each part means, a worked example with made-up numbers and how it differs from a simple rate.
- Exit strategy: how a rule closes a tradeAn exit strategy sets when a trade closes: a stop, an exit target, a trailing stop or a Time Exit. See the builder's exit blocks and a worked example.
- Risk management in trading: limits set before a tradeRisk management sets limits before a trade: the stop, trades per day, daily loss and size. See the builder's limits, an example and what a test cannot show.
Market basics
- What is slippage? Why a fill differs from the chart priceSlippage is the gap between the price a trade was expected to fill at and the price it got. Learn why it happens and how a backtest counts it as a cost.
- What is a timeframe in trading? Candles explainedA timeframe (also written time frame) is the length of time one candle covers, such as 5 minutes or 1 day. Learn how it changes what a rule sees.
- Candlestick patterns explained: how to read candlesA candlestick pattern is a shape made by one to three candles. Learn the parts of a candle, four common patterns, exact definitions and their limits.
- What are support and resistance levels?Support is a price level where a fall has stopped before, resistance one where a rise has. Learn how to define a level so a rule can use it, and its limits.
- Market structure: highs, lows and trend explainedMarket structure is the pattern of a chart's swing highs and swing lows. Learn higher highs, lower lows, break of structure and how a rule can define them.
- Head and shoulders pattern explainedA head and shoulders is three swing highs with a higher one in the middle. Learn how to define it exactly, how the neckline is used, and its limits.
- Double top and double bottom patterns explainedA double top is two swing highs at about the same price, a double bottom two swing lows. Learn how to define them exactly and what they cannot tell you.
- Fibonacci retracement levels explainedFibonacci retracement draws lines at fixed fractions of a price move, such as 38.2% and 61.8%. Learn how they are calculated and what they cannot tell you.
- How to read volume on a price chartVolume is the amount that changed hands in each candle. Learn how to read volume bars, compare a candle with its average, and what volume cannot tell you.
- False breakout: what it is and how to define oneA false breakout is a move past a level that does not hold. Learn two exact definitions a rule can use, a worked example, and why it is only known afterwards.
- What is the bid-ask spread?The bid-ask spread is the gap between the highest price a buyer offers and the lowest a seller asks. Learn what it costs and how a test counts it.
- What is volatility? How it is measuredVolatility is how much and how fast price moves, not which way. Learn how ATR and standard deviation measure it, with a worked example.
- What is day trading? A definition with an exampleDay trading means opening and closing trades within one day. See what the term covers, what it leaves out, and a worked example with made-up times.
- Order flow trading: what the volume tools showOrder flow trading reads the buying and selling inside each candle. See the volume tools on Oalgo's live charts, a worked example and what they cannot show.
- Price action trading: candles and levels, no indicatorPrice action trading reads candles, swing points and levels with no indicator lines. See the builder blocks for price structure, a worked example and limits.
- Technical analysis: what it covers and how to test itTechnical analysis studies past prices and volume with tools from four families. See what each family answers, a worked example and what a test cannot show.
- Chart patterns: shapes that show only after they formChart patterns are shapes such as double tops and triangles. A shape counts only after a close confirms it. See how to set its edges, an example and limits.