Sub topic 2
Peaks, Troughs, and Trends
Prerequisites and the basic picture
Assume you know what a stock price and a market index are, and that you can calculate percentage changes. A price trend is the general direction of prices over time. Prices rarely move in a straight line. They rise and fall around the broader direction.
A peak is a high point before prices decline. A trough is a low point before prices rise. A peak or trough can describe a short swing or a major turning point. You cannot know with certainty that a point is a peak until prices have moved lower afterward. The same problem applies to identifying a trough.
An index helps summarize many securities with one series of values. For example, an index might move from 100 to 120, fall to 108, and then rise to 130. The first visible peak is 120, the next trough is 108, and the later value of 130 sets a new high.
Reading a trend
A rising trend usually has higher highs and higher lows. Each new peak exceeds the previous peak, and each decline stops above the previous trough. A falling trend usually has lower highs and lower lows.
| Pattern | Peaks | Troughs | Usual interpretation |
|---|---|---|---|
| Rising trend | Higher | Higher | Buyers are pushing prices upward |
| Falling trend | Lower | Lower | Sellers are pushing prices downward |
| Sideways market | Similar | Similar | No clear broad direction |
This description is a model, not a rule that every daily price must follow. A single unusual trading day does not necessarily change the trend. Analysts often choose a time scale, such as daily, weekly, or monthly prices. A movement that looks like a peak on a daily chart might be a small fluctuation inside a longer rising trend.
From peaks to drawdowns
A drawdown measures a fall from a previous high. At each point, compare the current price with the highest earlier price:
\text{drawdown} = \frac{\text{current price}}{\text{prior peak}} - 1For a price of 88 after a peak of 110:
88 / 110 - 1 = -0.20The drawdown is negative 20%. The percentage describes the fall from the peak, not the distance from the most recent trough to a later price.
def max_drawdown(prices):
"""Return the largest peak-to-trough decline as a negative fraction."""
peak = prices[0]
worst = 0.0
for price in prices:
peak = max(peak, price)
worst = min(worst, price / peak - 1)
return worst
prices = [100, 110, 105, 88, 92, 120]
print(f"{max_drawdown(prices):.1%}") # -20.0%The code keeps a running peak. When a later price falls below that peak, it records the percentage decline. A new high resets the reference point for future drawdowns.
Why turning points are uncertain
The first rebound after a decline might be temporary. The first fall after a rise might also be a short pullback. This is why market phases are usually dated in hindsight. Waiting for confirmation can reduce false signals, but it also means entering or exiting after the turning point.
Use peaks and troughs to describe what prices have done. Do not treat them as reliable forecasts of what prices will do next.
Exercise
Prices move from 100 to 120, down to 108, and then up to 130. What are the first peak and trough, and what is the drawdown at 108?
Show answer
The first peak is 120, the trough is 108, and the drawdown is 108 / 120 - 1 = -10%.