Decision scienceIntermediate

Decision Trees

A decision tree is a diagram that lays out a trading choice as a branching sequence of actions, uncertain outcomes and their probabilities and payoffs, letting you evaluate each path by its expected value instead of by how it feels.

Quick Answer

A decision tree is a diagram that lays out a trading choice as a branching sequence of actions, uncertain outcomes and their probabilities and payoffs, letting you evaluate each path by its expected value instead of by how it feels.

Definition of Decision Trees

Decision Trees is a diagram that lays out a trading choice as a branching sequence of actions, uncertain outcomes and their probabilities and payoffs, evaluated by expected value.

Key takeaways on Decision Trees

  • A decision tree maps a choice as branching actions, chance outcomes and payoffs
  • Solve it by folding back: weight chance nodes by probability, pick the best at decision nodes
  • Its value is exposing assumptions, not producing a precise number
  • Run sensitivity analysis to find the estimate your whole trade depends on

Decision Trees in simple words

A decision tree draws a choice as branches: the actions you can take, the things the market might do in response, and the money that results at the end of each branch. You put a probability on each uncertain branch and a rupee value on each ending, then work backwards to see which first move gives the best average result. It is like a map of every road a trade could take, so you decide with the whole picture in front of you rather than reacting one step at a time.

Why Decision Trees matters

Decision trees exist because trading choices are sequential and uncertain, and the human mind quietly drops branches it does not want to see; drawing the tree forces every action, outcome and probability into the open so the choice is judged on its full structure.

Visual explanation

Decision Trees

A Rule-Based Decision TreeSetup meets plan?NoStand asideYesRisk defined & size ok?NoFix or skipYesExecute to planJournal & reviewThe rules decide — not the mood of the moment
A trade drawn as branches: a decision node splits into actions, each action leads to chance nodes for possible market outcomes, and every path ends in a payoff.

Decision Trees — professional explanation

What a decision tree actually is

A decision tree has three kinds of node. A decision node, drawn as a square, is a point where you choose, such as enter or stay flat, or hold or exit. A chance node, drawn as a circle, is a point where the market decides, such as the index rising or falling, each branch carrying a probability. A terminal node is an ending with a payoff, the rupee profit or loss of that path. You build the tree left to right in the order events happen, then evaluate it right to left, replacing each chance node with its expected value and each decision node with its best branch. The result is a single recommended first action and its expected value.

Folding back: how the tree is solved

Solving a tree is called folding back or backward induction. You start at the terminal payoffs on the right and move leftward. At each chance node you compute the probability-weighted average of the branches beyond it, its expected value. At each decision node you assume you will later pick the branch with the highest value, so the node takes that best value. Repeating this back to the root yields both the optimal first decision and the expected value of the whole tree. The discipline of folding back stops you from being seduced by one attractive terminal payoff far out on a low-probability branch, because that branch is automatically weighted by how unlikely it is.

Why sequential choices need a tree

Many trading decisions are not one-shot bets but sequences: you enter, then the market moves, then you decide to add, hold or exit, then it moves again. A flat list of scenarios cannot capture this because your later choices depend on earlier outcomes. A tree encodes that structure explicitly, showing that the value of entering today includes the value of the good decisions you can make tomorrow. This is why a position with an early, cheap exit can be worth more than a superficially similar one without it: the tree prices in the option to change your mind, which a single expected-value number computed on the entry alone would miss.

Probabilities and payoffs: garbage in, garbage out

A decision tree is only as good as the numbers you feed it. The probabilities on chance branches are estimates, usually drawn from the historical frequency of similar setups, and they are noisy and regime-dependent. The payoffs assume your stop and target fill at their levels, which gaps can break. A tree therefore does not manufacture certainty; it makes your assumptions explicit and checkable. Its real value is often not the final number but the act of writing down what you believe must be true for a trade to be worthwhile, which exposes wishful probabilities and ignored downside branches that intuition had quietly deleted.

Sensitivity: testing the branches that matter

Because the inputs are uncertain, a single tree can mislead if you treat its output as precise. The professional move is sensitivity analysis: vary the key probability or payoff and watch whether the recommended decision flips. If a trade only looks good when you assume a 70 percent win rate and turns negative at 55 percent, the decision is fragile and hostage to an estimate you cannot trust. If it stays positive across a wide range of plausible inputs, it is robust. Sensitivity analysis turns a decision tree from a false-precision machine into a tool for finding which assumption your entire trade secretly depends on.

Limits: trees simplify a messy world

A tree is a model, and every model omits detail. Real markets offer a continuum of price outcomes, not two or three clean branches; correlations link positions the tree treats as separate; and rare tail events sit on branches you may not have drawn at all. Trees also grow explosively: a few sequential decisions with several outcomes each produce hundreds of paths, which is why practical trees are pruned to the branches that move the decision. Used well, a tree clarifies the structure of a choice and disciplines the arithmetic; used naively, it can lend spurious authority to guessed probabilities. Judge the decision by the process, not by the tidy number it produces.

How professionals apply Decision Trees

Analysts and quant desks use decision trees and their cousins, real-options and scenario models, to structure choices whose value depends on future decisions, not just the first move. They insist on explicit probabilities so assumptions can be challenged, run sensitivity analysis to find the fragile input, and treat the tree as a communication and discipline tool rather than an oracle. The professional attitude is that the tree's job is to make reasoning visible and force honesty about downside branches, while accepting that the probabilities remain estimates and the world can still deliver a branch nobody drew.

Practical example: Decision Trees

Illustrative example (Indian market)

A trader eyeing a Nifty long draws a tree. Decision node: enter one lot or stay flat. If they enter, a chance node splits into target hit, +Rs 15,000, estimated 45 percent; stop hit, -Rs 7,500, estimated 50 percent; and a gap through the stop, -Rs 12,000, estimated 5 percent. Folding back the chance node: 0.45 x 15,000 minus 0.50 x 7,500 minus 0.05 x 12,000 = 6,750 - 3,750 - 600 = +Rs 2,400 expected value for entering, versus zero for staying flat. The tree says enter, but sensitivity analysis shows that if the target probability is really 38 percent rather than 45, the expected value turns slightly negative, so the whole case rests on that one estimate being right.

On a Nifty weekly-expiry day the branches shift: an intraday tree must add a chance node for a sharp expiry-day move, because realised volatility clusters near expiry. A short-option trade that looks positive on an ordinary tree can turn negative once a fat-tail branch for a 2 percent index swing is drawn in with even a 10 percent probability, which is exactly the branch complacent traders leave off the page.

Advantages

  • Forces every action, outcome and probability into the open, exposing branches intuition drops
  • Prices in the value of future decisions like early exits, which a one-shot EV misses
  • Lets you compare very different choices on one common measure, expected value
  • Sensitivity analysis reveals which single assumption a trade secretly depends on
  • Separates the structure of a decision from the emotion of the moment

Limitations

  • Only as reliable as the estimated probabilities and payoffs fed in
  • Reduces a continuum of price outcomes to a few clean branches, losing detail
  • Trees explode combinatorially, so they must be pruned and thus simplified
  • Can lend false precision to numbers that are really guesses
  • Ignores correlation between positions unless deliberately modelled

Why Decision Trees matters in practice

  • Turns a vague gut call into a checkable set of assumptions anyone can challenge
  • Reveals when a tempting payoff sits on a branch too unlikely to matter

Common misconceptions about Decision Trees

  • Misconception: A decision tree can guarantee a good trade.

    Reality: No. A tree structures reasoning and computes an expected value from your assumptions; it cannot make the future certain. Probabilities are estimates and payoffs assume fills at your levels. Its value is exposing and checking assumptions, not eliminating uncertainty or promising any single outcome.

  • Misconception: Professional traders never bother with decision trees.

    Reality: Analysts, structurers and quants use decision-tree and real-options thinking to value choices that hinge on future decisions. Discretionary traders more often use the logic informally, but the discipline, listing actions, outcomes, probabilities and payoffs, is what separates structured reasoning from reacting one step at a time.

Common mistakes with Decision Trees

  • Treating the final expected-value number as precise rather than an estimate
  • Leaving off the low-probability tail branch because it is unpleasant to draw
  • Using wishful probabilities that make the trade look good by construction
  • Skipping sensitivity analysis and betting on a single fragile estimate
  • Confusing a good tree with a good outcome, then blaming the tree when a low-odds branch hits
  • Building a tree so detailed it becomes unusable instead of pruning to the decisive branches

Frequently asked questions about Decision Trees

How do you solve a decision tree?

By folding back, also called backward induction. Start at the terminal payoffs on the right and move left; at each chance node compute the probability-weighted average, and at each decision node pick the branch with the highest value. The value that reaches the root is the expected value of the best first decision.

What are the three types of nodes?

A decision node, drawn as a square, is where you choose. A chance node, drawn as a circle, is where the market decides, with a probability on each branch. A terminal node is an ending with a rupee payoff. Trees are built left to right in event order and solved right to left.

Why use a decision tree instead of just deciding?

Because trading choices are sequential and uncertain, and the mind quietly drops branches it dislikes. Drawing the tree forces every action, outcome and probability into the open, so the decision is judged on its full structure rather than on the one path you were hoping for.

How do I get the probabilities for the branches?

Usually from the historical frequency of similar setups reaching target before stop, adjusted for current conditions. These estimates are noisy and change with market regime, so treat them as approximate and test how sensitive the decision is to them rather than trusting a single figure.

Why do decision trees handle sequential decisions well?

Because later choices depend on earlier outcomes, and a flat list of scenarios cannot capture that. A tree encodes the sequence explicitly, so the value of entering today includes the value of the good decisions, like an early exit, you can make tomorrow, which a one-shot calculation would miss.

How detailed should a decision tree be?

Detailed enough to capture the branches that change the decision, and no more. Trees grow explosively as you add outcomes, so practical ones are pruned to the decisive paths. A tree so complex it is unusable is as unhelpful as one so simple it omits the tail branch that matters.

Why might a good decision tree still lose money?

Because outcomes are probabilistic: the tree recommends the branch with the best expected value, but any single trade can land on a losing branch that the tree correctly showed was possible. A good decision and a good outcome are different things, and one loss does not invalidate a sound tree.

People also ask

Related questions answered in dedicated explainers.

Sources & references

Published 14 July 2026. Educational content only — not investment advice. Markets and rules change; verify current conventions with SEBI, NSE/BSE and your broker.

Educational content only — not investment advice. Examples use illustrative numbers and simplified models. Risk-management techniques reduce but never remove risk, and trading derivatives involves substantial risk of loss. See our Risk Disclosure and SEBI Disclaimer.