Gartley Pattern Finder
Locate bullish and bearish Gartley harmonic patterns.
The Gartley is the best-known of the harmonic patterns — a five-point zig-zag, labelled X-A-B-C-D, in which each leg retraces the one before it by a specific Fibonacci ratio. Named after H. M. Gartley, who described the shape in his 1935 book Profits in the Stock Market, it was later codified with Fibonacci proportions: point B sits near a 0.618 retracement of the X-A leg, and the final point D near 0.786 of it. When the legs line up with those ratios, D is treated as a high-probability turning point — a precise place to buy a bullish Gartley or sell a bearish one, with a natural stop just beyond X.
How the Toolbox does it
Measuring the legs and checking the ratios by eye is fiddly, so the finder does it for you. It marks the swing pivots, walks through the candidate five-point sequences, measures each leg, and flags only the ones whose proportions fit the Gartley template — drawing the pattern and labelling it bullish or bearish. It runs as an Exploration over a watchlist or on a single chart.
Tuning the search
- Trend size — how far price must move, in percent, for a point to count as a peak or trough. This sets the scale of the patterns it looks for.
- Bars back — how far in the past the pattern may have completed and still be reported, so you can catch setups that are forming now or ones that completed recently.