# Learn trading, risk and strategy design

> A structured path from your first candlestick to testing and automating a strategy: 8 courses, 51 lessons, about 3.3 hours of reading.

Source: https://quantraider.com/learn

> Educational content, not financial advice. Trading involves risk of loss.

### Market basics and candlesticks

How prices form, how to read a candlestick chart and how to describe what the market is doing. Level: Beginner. Stage: Foundations. 6 lessons, about 23 minutes.

What you will learn:
- Read open, high, low and close from any candle
- Explain bid, ask and how a trade happens
- Describe a trend or range using swing points

Lessons:
- [What a market is and why prices move](https://quantraider.com/learn/market-basics/what-is-a-market.md): Buyers, sellers, quotes and the order book: what actually happens when a price changes.
- [Reading a candlestick](https://quantraider.com/learn/market-basics/candlestick-anatomy.md): Open, high, low and close in one shape, and what the body and wicks tell you about a period.
- [Timeframes and how candles combine](https://quantraider.com/learn/market-basics/timeframes.md): Why the same market looks different on the 5-minute and the daily chart, and how candles aggregate.
- [Trends, ranges and swing points](https://quantraider.com/learn/market-basics/trends-and-ranges.md): A simple, testable way to describe market structure with higher highs, lower lows and ranges.
- [Support, resistance and price zones](https://quantraider.com/learn/market-basics/support-resistance.md): Why some price areas attract reactions, and why they are better treated as zones than exact lines.
- [Quiz: market basics](https://quantraider.com/learn/market-basics/market-basics-quiz.md): Check your understanding of quotes, candlesticks, timeframes and market structure.

### Orders, spreads and costs

How orders are filled and what every trade really costs: spread, commission, slippage and leverage. Level: Beginner. Stage: Foundations. 6 lessons, about 23 minutes.

What you will learn:
- Choose between market, limit and stop orders
- Work out the cost of a trade in R
- Explain how leverage changes risk, not edge

Lessons:
- [Market, limit and stop orders](https://quantraider.com/learn/trading-costs/order-types.md): The three basic order types, when each one fills and what you give up with each.
- [Going long and going short](https://quantraider.com/learn/trading-costs/long-and-short.md): How a trade profits from rising or falling prices, and where the stop and target sit in each case.
- [Spread, commission and swap](https://quantraider.com/learn/trading-costs/spread-and-fees.md): The costs you pay on every trade, and how to express them as a fraction of your risk.
- [Slippage and fills](https://quantraider.com/learn/trading-costs/slippage.md): Why the price you get can differ from the price you wanted, and how to allow for it.
- [Leverage, margin and position size](https://quantraider.com/learn/trading-costs/leverage-and-margin.md): What leverage really does, why it is not the same as risk, and how margin calls happen.
- [Quiz: orders and costs](https://quantraider.com/learn/trading-costs/trading-costs-quiz.md): Check your understanding of order types, trading costs and leverage.

### Risk/reward and expectancy

Measure trades in R, compute expectancy and understand why streaks happen even with an edge. Level: Beginner. Stage: Risk. 6 lessons, about 21 minutes.

What you will learn:
- Express any trade result as an R-multiple
- Compute expectancy and break-even win rate
- Estimate how long losing streaks can get

Lessons:
- [What the risk/reward ratio is](https://quantraider.com/learn/risk-reward-ratio/what-is-rr.md): How to compute risk/reward from entry, stop and target, and why it is independent of account size.
- [Thinking in R-multiples](https://quantraider.com/learn/risk-reward-ratio/r-multiples.md): Express every result as a multiple of the amount you risked, so strategies can be compared fairly.
- [The expectancy formula](https://quantraider.com/learn/risk-reward-ratio/expectation-formula.md): Combine win rate and risk/reward into one number that says what a strategy earns per trade on average.
- [Break-even win rate](https://quantraider.com/learn/risk-reward-ratio/breakeven-win-rate.md): The minimum win rate a given risk/reward needs, and how costs move that line.
- [Variance and losing streaks](https://quantraider.com/learn/risk-reward-ratio/variance-and-streaks.md): Why a strategy with a positive expectancy still has long losing runs, and how to estimate them.
- [Quiz: risk/reward and expectancy](https://quantraider.com/learn/risk-reward-ratio/rr-test.md): Check your understanding of R-multiples, expectancy and break-even win rates.

### Risk management and position sizing

Protect your capital first: stop placement, sizing methods from fixed amounts to Kelly, and drawdown maths. Level: Intermediate. Stage: Risk. 10 lessons, about 36 minutes.

What you will learn:
- Size a position from account, risk percentage and stop distance
- Compare fixed, percentage, Kelly and martingale sizing
- Explain why deep drawdowns are hard to recover from

Lessons:
- [Why risk management comes first](https://quantraider.com/learn/risk-management/intro.md): The goal of risk management, the parts it is made of and the mistakes that end most trading accounts.
- [Placing a stop loss](https://quantraider.com/learn/risk-management/stop-loss-placement.md): Put the stop where the trade idea is wrong, not where the loss feels comfortable, and size from there.
- [Fixed amount sizing](https://quantraider.com/learn/risk-management/fixed.md): Risk the same amount of money on every trade: simple and predictable, but it does not scale.
- [Percentage risk sizing](https://quantraider.com/learn/risk-management/percentage.md): Risk a fixed share of current equity, and calculate the position size from the stop distance.
- [The Kelly criterion](https://quantraider.com/learn/risk-management/kelly.md): The sizing formula that maximises long-run growth in theory, and why traders use only a fraction of it.
- [Martingale and why it fails](https://quantraider.com/learn/risk-management/martingale.md): Doubling after losses looks safe on short samples, but the risk of ruin grows with every trade.
- [Adaptive sizing: the QuantRaider method](https://quantraider.com/learn/risk-management/quantraider.md): An example of an adaptive rule that changes risk with recent performance, and its trade-offs.
- [Drawdowns and the maths of recovery](https://quantraider.com/learn/risk-management/drawdown-math.md): Why a 50% loss needs a 100% gain, and how risk per trade drives the depth of drawdowns.
- [Comparing sizing methods](https://quantraider.com/learn/risk-management/comparison.md): Put the sizing methods side by side and choose one that fits your strategy and tolerance for drawdowns.
- [Quiz: risk management](https://quantraider.com/learn/risk-management/rm-test.md): Check your understanding of stops, position sizing and drawdowns.

### Technical indicators

The indicators of the QuantRaider graph editor: how SMA, EMA, RSI, MACD and ATR are calculated and used. Level: Intermediate. Stage: Strategy building. 6 lessons, about 26 minutes.

What you will learn:
- Calculate SMA, EMA and RSI by hand on a few candles
- Read the MACD line, signal and histogram
- Use ATR to set volatility-based stops

Lessons:
- [Moving averages: SMA and EMA](https://quantraider.com/learn/indicators/moving-averages.md): How simple and exponential moving averages are calculated, and the trade-off between smoothness and lag.
- [RSI: relative strength index](https://quantraider.com/learn/indicators/rsi.md): How RSI measures the balance of recent gains and losses, and why overbought does not mean about to fall.
- [MACD: line, signal and histogram](https://quantraider.com/learn/indicators/macd.md): How MACD is built from two EMAs, and what its three outputs in the graph editor mean.
- [ATR and volatility-based stops](https://quantraider.com/learn/indicators/atr.md): Measure how far price typically moves per candle, and use it to place stops that fit the market.
- [Combining indicators without fooling yourself](https://quantraider.com/learn/indicators/combining-indicators.md): Join conditions with And and Or, avoid counting the same information twice and keep rules few.
- [Quiz: technical indicators](https://quantraider.com/learn/indicators/indicators-quiz.md): Check your understanding of moving averages, RSI, MACD and ATR.

### Building strategies as node graphs

Turn trading rules into a QuantRaider node graph: data in, conditions in the middle, trade entries out. Level: Intermediate. Stage: Strategy building. 5 lessons, about 21 minutes.

What you will learn:
- Explain how data flows through a strategy graph
- Build a moving-average crossover with a stop and target
- Debug a graph by visualising its signals

Lessons:
- [How a strategy graph works](https://quantraider.com/learn/strategy-builder/graph-concepts.md): Nodes, sockets and connections: how a graph turns candles into trade decisions, one candle at a time.
- [Build a moving-average crossover](https://quantraider.com/learn/strategy-builder/first-strategy.md): A step-by-step build of a complete strategy graph, from the Data node to the Trade entry node.
- [Stops and targets in the graph](https://quantraider.com/learn/strategy-builder/exits-in-graph.md): Compute stop-loss and take-profit prices from swing points or ATR, and feed them into the trade entry.
- [Time filters and visual debugging](https://quantraider.com/learn/strategy-builder/time-and-visuals.md): Limit trading to chosen hours and draw lines, arrows and histograms to check what the graph does.
- [Quiz: building strategies](https://quantraider.com/learn/strategy-builder/strategy-builder-quiz.md): Check your understanding of nodes, crossovers, exits and time filters.

### Backtesting properly

Test ideas on history without fooling yourself: sample size, out-of-sample data, overfitting and bias. Level: Advanced. Stage: Testing and analysis. 6 lessons, about 25 minutes.

What you will learn:
- Judge whether a sample of trades is large enough
- Split data into in-sample and out-of-sample periods
- Spot overfitting and look-ahead bias

Lessons:
- [What a backtest can and cannot tell you](https://quantraider.com/learn/backtesting/what-a-backtest-tells-you.md): A backtest is a measurement of the past under assumptions; learn which questions it can answer.
- [Sample size and uncertainty](https://quantraider.com/learn/backtesting/sample-size.md): How many trades you need before a win rate or expectancy means something, with a simple error estimate.
- [In-sample and out-of-sample testing](https://quantraider.com/learn/backtesting/in-and-out-of-sample.md): Keep data the strategy has never seen, and use walk-forward testing to check that results hold up.
- [Overfitting and optimisation](https://quantraider.com/learn/backtesting/overfitting.md): Why the best parameters on past data are usually too good, and how to optimise without curve fitting.
- [Look-ahead bias and other traps](https://quantraider.com/learn/backtesting/look-ahead-bias.md): Using information you would not have had at the time, ignoring costs and other common backtest errors.
- [Quiz: backtesting](https://quantraider.com/learn/backtesting/backtesting-quiz.md): Check your understanding of sample size, out-of-sample testing, overfitting and bias.

### Analysis and going live safely

Read the analysis page, then move from backtest to demo to small live size with clear risk caps. Level: Advanced. Stage: Going live. 6 lessons, about 22 minutes.

What you will learn:
- Read win rate, expectancy, drawdown and edge probability
- Plan a demo period with a pass or fail rule
- Set risk caps before automating a strategy

Lessons:
- [Reading the key metrics](https://quantraider.com/learn/analysis-and-live/reading-key-metrics.md): Win rate, expectancy, observed and adjusted values, profit factor and recommended risk on the analysis page.
- [Equity curve, drawdown and streaks](https://quantraider.com/learn/analysis-and-live/equity-and-drawdown.md): Read the equity curve, measure drawdown in R and compare it with the expected range.
- [Demo first: forward testing](https://quantraider.com/learn/analysis-and-live/demo-first.md): Run the strategy on live data without real money and decide in advance what result counts as a pass.
- [Risk caps and kill switches](https://quantraider.com/learn/analysis-and-live/risk-caps.md): Daily loss limits, maximum open risk and the conditions under which an automated strategy is switched off.
- [A checklist for automated trading](https://quantraider.com/learn/analysis-and-live/automation-checklist.md): What to verify before and after you connect a broker and let a strategy trade on its own.
- [Quiz: analysis and going live](https://quantraider.com/learn/analysis-and-live/analysis-and-live-quiz.md): Check your understanding of the analysis metrics, forward testing and risk caps.
