14 — Position Sizing

Pyramiding#

Scale InHeuristic1 min read
◆ The PatternAdd to winning positions in decreasing tiers

Pyramiding builds a full position across multiple entries as a trade moves favorably. Each additional tier is typically smaller than the last so average cost stays well inside the profit zone.

Risktotal = Σ tieri × (entryi − stop)
Common patterns: 4-3-2-1 units, or three equal tiers at predefined price milestones. The stop is usually tightened with each add so that risk on older entries is locked to breakeven.
// Interactive — pyramid tiers and position build-up
Tiers
Trend following. Pyramiding is a hallmark of trend-following systems — it maximizes exposure to strong moves.
Pattern bridge: Adding to winners is a bet that the trend continues, so it needs a trend gauge such as ADX and a volatility yardstick such as ATR to size each new tier.
Worked example

Buy 100 shares at 100, add 50 at 105 and 25 at 110. The average cost is 102.86. With the stop raised to 103, under the second add, the whole position stopped out still makes about +25. Had the same 175 shares been bought at 110, the same stop would lose 1,225. Adding smaller as the trade works keeps the average cost behind the price.

Where it misleads
  • Each add raises the average cost; adding equal or larger amounts can turn a winner into a loser on a small pullback.
  • It only pays in trends. In a range, every add is bought near the top of it.
  • Raising the stop is what makes it safe; without that, pyramiding is just a bigger bet.
In code
tiers = pd.DataFrame({'price': [100, 105, 110], 'shares': [100, 50, 25]})   # each add half the last
avg = (tiers.price * tiers.shares).sum() / tiers.shares.sum()
stop = 103                                                 # stop raised under the second add
at_stop = (stop - avg) * tiers.shares.sum()
flat = (stop - 110) * 175                                  # the same 175 shares bought all at 110
Python, in your browser — edit the code and run it again

Assumes import numpy as np and import pandas as pd. Each snippet carries its own example numbers; the comments say which are made up or simulated.

Sources
  • Way of the Turtle, C. Faith, McGraw-Hill, 2007
  • B. Hurst, Y. H. Ooi & L. H. Pedersen, “A Century of Evidence on Trend-Following Investing”, Journal of Portfolio Management 44(1), 2017
  • Reminiscences of a Stock Operator, E. Lefèvre, 1923

Last reviewed October 2026 · How this site checks its content · Report a mistake

Linked from 1
← Previous
Volatility-Based Sizing
Open in the full reader, with the topic sidebar