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, and what nearly 2,500 forks on the S&P 500 and Bitcoin say about the claim that price returns to the median line.

· Founder of PatternsWizard
Checked 11 min read
MABCUpper lineMedian lineLower line
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. How traders use the fork
  7. Limits of the Andrews pitchfork
  8. 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

MABCUpper lineMedian lineLower line
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

MABCSMSOriginalModified SchiffSchiff
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

94,71876,25957,800ABCFeb 21, 2026Jun 25, 2026Oct 28, 2026
  • 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

87,39669,24951,102ABCFeb 21, 2026Jun 25, 2026Oct 28, 2026
  • 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

S&P 500, 5-bar swings (1,343 forks)52.9%70.3%S&P 500, 10-bar swings (665 forks)49.2%54.4%Bitcoin, 5-bar swings (318 forks)49.7%70.8%Bitcoin, 10-bar swings (164 forks)49.4%53.0%
  • 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.

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 test above found no special pull.
  • 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

ABCWarning lineUpper lineHalfway lineMedian lineHalfway lineLower lineWarning lineHagopianline
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.
  • 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.

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. Those are reading rules, not tested results, and the variant and points chosen 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

All technical analysis articles