Technical analysis

Andrews Pitchfork: How to Draw It, the Schiff Variants and a Test of the Median Line

How the median line and its two parallels are built from three swing points, how to pick those points, how the Schiff and modified Schiff forks differ, a fork computed on daily Bitcoin, what nearly 2,500 forks on the S&P 500 and Bitcoin say about the claim that price returns to the median line, and whether price reacts there on 96 markets.

· Founder of PatternsWizard
Checked 17 min read
Andrews pitchfork: three swing points. The median line starts at the first point and passes through the midpoint between the second and third points; the upper and lower lines run parallel to it through the second and third points.
On this page
  1. Who was Alan Andrews?
  2. How the pitchfork is built
  3. How to draw a pitchfork, step by step
  4. A pitchfork on daily Bitcoin
  5. Does price return to the median line? A test of the 80% claim
  6. Does price react at the median line? 26,033 forks on 96 markets
  7. How traders use the fork
  8. Limits of the Andrews pitchfork
  9. Frequently asked questions

An Andrews pitchfork is a channel drawn from three swing points, labeled A, B and C. Its median line starts at A and passes through the midpoint between B and C; two parallel lines pass through B and C. The tool is named after Alan Hall Andrews, who taught it in a course on median line analysis. Traders use the fork to frame a trend: a move that stays inside the channel is read as a trend still in force, and the median line is watched as a possible target.

Andrews pitchfork

Andrews pitchfork: three swing points. The median line starts at the first point and passes through the midpoint between the second and third points; the upper and lower lines run parallel to it through the second and third points.
M
midpoint of B and C, the point the median line passes through
Schematic, not market data.A rising fork: A is a low, B a high, C a higher low.

Who was Alan Andrews?

According to Optuma's history of median line analysis, Dr. Alan Hall Andrews studied engineering at the Massachusetts Institute of Technology and then at Harvard, and died in 1985; his date of birth is not known. He learned the idea of action and reaction, taken from Newton's third law, from the market analyst Roger Babson, and named his median line course the Action-Reaction Course in his mentor's honor. Optuma adds that Andrews gave his students' names to their additions: the Schiff adjusted median line comes from Jerome Schiff, a New York trader, and the Hagopian lines from another student.

How the pitchfork is built

Take three alternating swing points: for a rising fork, a low A, a high B and a higher low C; for a falling fork, the reverse. The median line runs from A through the midpoint of B and C and is extended to the right. The upper and lower lines are parallel to it and start at B and C. The variants differ only in where the median line starts, which TradingView's Auto Pitchfork help defines as follows:

VariantMedian line starts atMedian line passes through
Original (Andrews)Point AThe midpoint of B and C
SchiffThe date of A, at the price halfway between A and BThe midpoint of B and C
Modified SchiffHalfway between A and B, in both time and priceThe midpoint of B and C
InsideHalfway between A and B, in both time and pricePoint C

Names are not used consistently. TradingView's own help page for its Schiff Pitchfork drawing tool puts the origin halfway between the first two points in both time and price, which its Auto Pitchfork page calls the modified Schiff. Our charts follow the Auto Pitchfork definitions. Moving the origin changes the slope of every line, and which variant is flatter depends on where the three points sit.

Original, Schiff and modified Schiff pitchforks

Original, Schiff and modified Schiff pitchforks: the same three swing points A, B and C, and M, the midpoint of B and C. The original median line starts at A and is the steepest. The Schiff median line starts at S, at the time of A and halfway between A and B in price. The modified Schiff line starts at MS, halfway between A and B in both time and price. All three pass through M, so each has a different slope.
M
midpoint of B and C, shared by the three median lines
S
Schiff origin: time of A, halfway between A and B in price
MS
modified Schiff origin: halfway between A and B in time and price
Schematic, not market data.Same three points, three origins: A for the original, S for the Schiff, MS for the modified Schiff.

In the drawing, A sits well below B, so raising the origin to S or MS flattens the median line; with A close to B in price, the three lines would nearly coincide. Optuma, in its article on pitchfork methods, labels the three points PO (point of origin), P1 and P2 instead of A, B and C: the names change from one platform to the next, the construction does not.

How to draw a pitchfork, step by step

  1. Find the swing that starts the move: a clear low for a rising fork, a clear high for a falling one. That is A.
  2. Find the next swing in the other direction, the end of the first move: that is B.
  3. Find the end of the correction that follows: that is C. In the textbook case it stays between A and B in price; in the Bitcoin example below it falls under A.
  4. Draw the median line from A through the midpoint of B and C, and the two parallels through B and C. On TradingView the Pitchfork tool takes the three clicks; the Auto Pitchfork indicator picks the points itself.
  5. Decide the variant before you look further right, and write down what would make the fork wrong, such as a close outside the lower line.

The points must be swing points, not any high or low. TradingView's Auto Pitchfork uses a “Depth” setting: with a depth of 10, each point must be the highest or lowest of the nearest 10 bars, five on each side. Our charts use the same kind of rule with 10 bars on each side, the equivalent of a depth of 20.

A pitchfork on daily Bitcoin

The chart below draws the fork by a stated rule: among all sets of three alternating swing points in the window, it keeps the one with the largest move from B to C. The points are A, a low on March 29, 2026 at 65,000; B, a high on May 6 at 82,850; and C, a low on June 5 at 59,130.91. C undercut A, so the fork rises but its lower line starts below A, a less tidy shape than the textbook one.

Andrews pitchfork on daily Bitcoin, 2026

Andrews pitchfork, three swing points with the largest B to C swing, swing points with 10 bars on each side on Bitcoin, daily, February 21, 2026 to October 28, 2026. Illustration of how the tool is drawn, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Median line, from the origin through the midpoint of B and C, first touched on September 21, 2026 (solid line)
  • Upper and lower lines, parallel to the median through B and C (solid line, second color)
  • Swing path from A to B to C (line)
  • Swing highs and lows: a high above (a low below) the 10 bars on each side
A65,000, Mar 29, 2026
B82,850, May 6, 2026
C59,131, Jun 5, 2026
Andrews pitchfork, three swing points with the largest B to C swing, swing points with 10 bars on each side on Bitcoin, daily, February 21, 2026 to October 28, 2026. Illustration of how the tool is drawn, not a backtest.Points chosen by rule: swing points with 10 bars on each side, the set with the largest B to C swing. Lines are cut where they leave the frame.

What followed, in full. On June 24, Bitcoin closed at 61,077.99, below the lower line, the kind of break that TradingView reads as a possible reversal. The fall went little further: the lowest close came on June 30 at 58,624.71 and the low of the move on July 1 at 57,800.19. Price then went back and forth across the lower line through July, closing inside the fork for a few days at a time (July 3 to 7, 9 to 12, 14 to 23 and July 26), stayed below it from July 27 to August 18, and closed back inside on August 19. It met the median line for the first time on September 21, the day of its high at 87,395.67, closed at or above it on September 21, 22 and October 4, and every other close to October 28 stayed inside the fork, below the median.

The same three points with a Schiff pitchfork

Schiff pitchfork, three swing points with the largest B to C swing, swing points with 10 bars on each side on Bitcoin, daily, February 21, 2026 to October 28, 2026. Illustration of how the tool is drawn, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • Median line, from the origin through the midpoint of B and C, first touched on August 19, 2026 (solid line)
  • Upper and lower lines, parallel to the median through B and C (solid line, second color)
  • Swing path from A to B to C (line)
  • Swing highs and lows: a high above (a low below) the 10 bars on each side
A65,000, Mar 29, 2026
B82,850, May 6, 2026
C59,131, Jun 5, 2026
Schiff pitchfork, three swing points with the largest B to C swing, swing points with 10 bars on each side on Bitcoin, daily, February 21, 2026 to October 28, 2026. Illustration of how the tool is drawn, not a backtest.Only the start of the median line changed: it begins at the date of A, halfway between A and B in price.

Does price return to the median line? A test of the 80% claim

Optuma's article on pitchfork methods, paraphrasing Andrews, says that when prices fail to return to the median line, “which studies have claimed to occur 80% of the time”, a reversal may be coming. It does not name the studies. We measured the claim on our own data.

Method: on the daily S&P 500 index from January 1970 to October 2026 and on daily Bitcoin from August 2017 to October 2026, we built an original fork on every three consecutive alternating swing points, with swing points of 5 and then 10 bars on each side. We started counting only once C was confirmed, 5 or 10 bars after it, and checked whether the median line fell inside a bar's range within the next 50 or 100 bars. To have a yardstick, we did the same for a control line: parallel to the median, on the other side of the C line and at the same distance from it, so outside the fork.

Median line against the control line, touched within 50 bars

Median line against the control line, touched within 50 bars. S&P 500, 5-bar swings (1,343 forks): Median line 52.9%, Control line, outside the fork 70.3%; S&P 500, 10-bar swings (665 forks): Median line 49.2%, Control line, outside the fork 54.4%; Bitcoin, 5-bar swings (318 forks): Median line 49.7%, Control line, outside the fork 70.8%; Bitcoin, 10-bar swings (164 forks): Median line 49.4%, Control line, outside the fork 53.0%. Our computation; the inputs and the method are in the text.
  • Median line
  • Control line, outside the fork
Our computation; the inputs and the method are in the text.Original forks on every three consecutive alternating swing points, counted from the confirmation of C. Daily S&P 500 index from 1970, daily Bitcoin from 2017.
Market, swing sizeMedian touched within 100 barsControl line within 100 bars
S&P 500, 5 bars54.7%80.1%
S&P 500, 10 bars52.5%70.5%
Bitcoin, 5 bars52.7%78.1%
Bitcoin, 10 bars54.9%64.8%

The median line was reached in roughly half of the forks, not 80%, and the control line outside the fork was reached more often in every row. The 50-bar chart counts 1,343, 665, 318 and 164 forks, row by row; the 100-bar table slightly fewer (1,337, 661, 311 and 162), because the most recent forks do not yet have 100 bars after them. In many cases the median had already been crossed before C was confirmed: 575 of the 1,343 S&P 500 forks with 5-bar swings. These figures describe the original fork drawn by one mechanical rule, without the judgment a chartist applies, and say nothing about trading results.

Does price react at the median line? 26,033 forks on 96 markets

The count above covers two markets. We drew the same original fork, swing points with 10 bars on each side, on every three consecutive swing points of 96 markets in our daily price data: 15 stock indices from 1982, 46 ETFs from 1993, 25 forex pairs from 2012 and 10 large cryptocurrencies from 2017, all to October 28, 2026. Our index highs and lows before 1982 look reconstructed, and swing points rest on them, so the indices start that year. As a check, the code written for this test finds the same 1,343 and 665 S&P 500 forks as the count above, with the same touch rates.

Touches first. Within 50 bars of C being confirmed, the median line was touched in 46.7% of the 26,033 forks and the control line outside the fork in 58.9%. The control line was touched more often in each of the four market groups, as on the S&P 500 and Bitcoin.

Median line against the control line outside the fork, touched within 50 bars

Median line against the control line outside the fork, touched within 50 bars. 15 stock indices: Median line 47.7%, Control line 57.4%; 46 ETFs: Median line 46.8%, Control line 58.9%; 25 forex pairs: Median line 46.2%, Control line 61.4%; 10 large cryptos: Median line 41.8%, Control line 57.5%; All 96 markets: Median line 46.7%, Control line 58.9%. Our computation; the inputs and the method are in the text.
  • Median line
  • Control line
Our computation; the inputs and the method are in the text.Original forks on every three consecutive swing points (10 bars on each side), daily bars: 96 markets, stock indices from 1982, to 2026-10-28. Window: the 50 bars after C is confirmed. Control line: parallel to the median, on the other side of the C line, at the same distance.

A touch alone says little: a line close to price gets touched whatever it means. A median line that works as its users describe should also make price turn. At the first touch in the window, we counted a turn when price moved 1 average true range (ATR, 14 days) back the way it came, within 10 bars, before moving 1 ATR through the line, measured against the value of the line on each bar since it slopes. A bar that does both counts as going through. The baseline is a set of random lines parallel to the median, drawn in the middle half of the same fork, from 25% to 75% of the way from the line through C to the line through B (200 draws).

Price turned back at the first touch: median line against random lines around it

Price turned back at the first touch: median line against random lines around it. 15 stock indices (3,134 touches): Median line 48.6%, Random line, middle half 45.7%; 46 ETFs (6,225 touches): Median line 49.3%, Random line, middle half 48.8%; 25 forex pairs (2,170 touches): Median line 50.0%, Random line, middle half 50.1%; 10 large cryptos (621 touches): Median line 47.0%, Random line, middle half 48.6%; All 96 markets (12,150 touches): Median line 49.1%, Random line, middle half 48.2%. Our computation; the inputs and the method are in the text.
  • Median line
  • Random line, middle half
Our computation; the inputs and the method are in the text.Original forks on every three consecutive swing points (10 bars on each side), daily bars: 96 markets, stock indices from 1982, to 2026-10-28. Window: the 50 bars after C is confirmed. Turned back: within 10 bars of the first touch, price moved 1 ATR back the way it came before moving 1 ATR through the line. Random: lines parallel to the median, drawn uniformly in the middle half of the fork (from 25% to 75% of the way from the C line to the B line), 200 draws, median shown.

Pooled, price turned back at the median line in 49.1% of 12,150 first touches, against 48.2% for random lines in the middle half of the fork, and only 0.5% of draws did as well. Before reading this as a median line effect, look at where the gap comes from. The next chart places a line at fixed steps across the fork, from the control line through the outer line at C and the median to the outer line at B and beyond, and counts turns at the first touch in the same way.

Price turned back at the first touch, by where the line sits in the fork

Price turned back at the first touch, by where the line sits in the fork. Control line (outside the fork): 28.9%; -25% of the way from C to B: 31.5%; Outer line through C: 37.6%; 12.5% of the way from C to B: 42.2%; 25% of the way from C to B: 45.7%; 37.5% of the way from C to B: 48.0%; Median line: 49.1%; 62.5% of the way from C to B: 49.4%; 75% of the way from C to B: 48.6%; 87.5% of the way from C to B: 49.2%; Outer line through B: 47.6%; 125% of the way from C to B: 48.5%; 150% of the way from C to B: 48.2%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.Original forks on every three consecutive swing points (10 bars on each side), daily bars: 96 markets, stock indices from 1982, to 2026-10-28. Window: the 50 bars after C is confirmed. Each row is a line parallel to the median, placed at a fixed share of the distance from the outer line through C (0%) to the outer line through B (100%); the median sits at 50%. Turned back: same rule as above.

The rate climbs from 37.6% at the line through C to 48.0% three eighths of the way across and 49.1% at the median, then stays about flat: 49.4% at five eighths, 49.2% at seven eighths and 47.6% at the line through B. The median sits on that plateau, not on a peak. Lines near C are touched while price is still close to the swing that set C, where price turned back less often in our count; random lines spread over the middle half include some of those, which is why the median looks ahead of them. By group, the median line was ahead on stock indices (48.6% against 45.7%) and ETFs (49.3% against 48.8%), level on forex (50.0% against 50.1%) and behind on cryptocurrencies (47.0% against 48.6%). The control line outside the fork, which price touches most, made price turn back in only 28.9% of touches.

Does a break out of the fork announce a reversal?

TradingView's help reads a break out of the fork as a sign that the trend may reverse. We took the first close outside the fork in the 50 bars after C was confirmed, when it went against the slope of the median: below the lower line of a rising fork, or above the upper line of a falling one. 20,301 breaks qualified, 10,396 downward and 9,905 upward. Trade: enter in the direction of the break at the next open, exit at the open 20 sessions later, with round trip costs of 0.05% on indices and ETFs, 0.03% on forex and 0.20% on cryptocurrencies. Baseline: the same trade entered on a random date in the same market and direction, held as long (200 draws).

Trading a close outside the fork against its slope: mean return over 20 sessions after costs

Trading a close outside the fork against its slope: mean return over 20 sessions after costs. All 96 markets (20,301 breaks): Break of the fork +0.05%, Random entry −0.10%; 15 stock indices (5,043 breaks): Break of the fork +0.02%, Random entry −0.06%; 46 ETFs (10,346 breaks): Break of the fork +0.06%, Random entry −0.08%; 25 forex pairs (3,747 breaks): Break of the fork −0.01%, Random entry −0.03%; 10 large cryptos (1,165 breaks): Break of the fork +0.29%, Random entry −0.70%. Our computation; the inputs and the method are in the text.
  • Break of the fork
  • Random entry
Our computation; the inputs and the method are in the text.Original forks on every three consecutive swing points (10 bars on each side), daily bars: 96 markets, stock indices from 1982, to 2026-10-28. Window: the 50 bars after C is confirmed. Entry at the next open in the direction of the break, exit at the open 20 sessions later, costs included. Random: same market, same direction, same holding time, random entry date, 200 draws, median shown.

The breaks did slightly better than random entries: +0.05% per trade on average after costs, against a loss of 0.10% for random entries, a gap of 0.15 points over 20 sessions, and 1.5% of draws did as well. 50.2% of the trades made money, about one in two. By group, only ETFs stood out (1.0% of draws as good); on stock indices, forex and cryptocurrencies the gap was within what random draws often produce. A break against the slope is at most a weak hint that the fork no longer fits: +0.05% per trade after costs is a thin margin, and only one group out of four showed it clearly.

How traders use the fork

  • Trend channel. TradingView's help says a trend is considered active as long as price stays inside the fork, and that reversals occur when price breaks out of it.
  • Median line target. Prices inside the fork are watched for a move back to the median line. Our tests above found no special pull, and no more turns at the median than at nearby lines.
  • Halfway lines. Optuma describes internal lines drawn halfway between the median line and each parallel, used as intermediate levels inside the channel.
  • Warning lines. Optuma describes extra parallels drawn outside the fork at the same spacing, used when price leaves the channel.
  • Hagopian lines. Lines from the origin through B and C; Optuma presents a break of one of them, after price fails to reach the median, as a confirmation of a reversal.

Lines added to a pitchfork

Lines added to a pitchfork: an Andrews pitchfork with its median line and two parallels. Halfway lines run inside the fork between the median line and each parallel. Warning lines run outside it, at the same distance again. A Hagopian line is drawn from the first point through the second point.
Schematic, not market data.A rising fork with its halfway lines, warning lines and one Hagopian line, from A through B.

None of these lines adds information: each is the same slope, or a line between two of the three points, moved by a fixed distance. They multiply the levels a price can be said to have respected, which makes a chart easier to explain after the fact and no easier to trade before it. Our control line in the test above is, in effect, a lower warning line, and it was touched more often than the median.

Limits of the Andrews pitchfork

  • Choice of points. A different swing size or a different A gives a different fork.
  • Choice of variant. On the Bitcoin example, the three variants met price on three different dates.
  • The median line claim. In our data the median was reached about half the time, less often than a line outside the fork, and price turned back there about as often as at nearby lines inside the fork.
  • Breaks. A close outside the fork against its slope gave a trade only slightly better than random entries, +0.05% on average over 20 sessions after costs.
  • No pattern test. Our bench tests chart patterns detected by fixed rules; channel patterns are covered on the channel pattern page.

For other tools that project lines from swing points, see the Gann fan, Fibonacci extensions and plain trendlines. More tools are in technical analysis.

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

Frequently asked questions

What is an Andrews pitchfork?

A channel drawn from three swing points. The median line starts at the first point and passes through the midpoint of the second and third; two parallels pass through the second and third. It is named after Alan Hall Andrews, who taught median line analysis.

How do you pick the three points of a pitchfork?

Use three alternating swing points: the start of a move (A), its end (B) and the end of the correction that follows (C). Pick them by a fixed rule, such as a swing point with the same number of lower or higher bars on each side, and decide before you look at what came next.

What are the points of a pitchfork called?

Most write-ups call them A, B and C, or points 1, 2 and 3 as in TradingView's help; Optuma labels them PO (point of origin), P1 and P2. The first is the start of the move, where the median line begins; the second and third are the end of that move and the end of the correction, where the two parallels begin.

What is the difference between the Andrews and Schiff pitchforks?

Only the start of the median line. The original starts at A. The Schiff starts at the date of A but halfway between A and B in price, and the modified Schiff starts halfway between A and B in both time and price. The parallels still pass through B and C.

Does price really return to the median line 80% of the time?

Optuma reports that claim as Andrews' and does not name the studies behind it. On 2,490 forks drawn by rule on the S&P 500 since 1970 and Bitcoin since 2017, the median was touched within 50 bars in 49% to 53% of cases, and a line at the same distance outside the fork was touched at least as often.

How do traders trade the pitchfork?

The usual reading is that the trend holds while price stays inside the fork and may reverse when it breaks out, with the median line as a target. On 96 markets, price turned back at the median line about as often as at nearby lines, and a break against the slope of the fork gave +0.05% per trade over 20 sessions after costs, close to random entries. The variant and points chosen also change every line.

Is the pitchfork a candlestick pattern?

No. A pitchfork is a set of lines drawn over the price bars, candlestick or not, from three swing points you pick. Candlestick patterns are shapes made by one to a few candles; see the candlestick patterns list.

Sources

  1. Optuma, A brief history of the development of median line analysis (Andrews pitchfork, part 1)
  2. Optuma, Andrews pitchfork: application and analytical methods (part 2)
  3. TradingView, Auto Pitchfork
  4. TradingView, Pitchfork drawing tool
  5. TradingView, Schiff Pitchfork
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

Related guides

All technical analysis articles