RG TOOLS Ruchir Gupta Training Academy
Chart Pattern Scanner

Chart Pattern Scanner for NSE Stocks Chart Pattern ScannerPick a stock and a date range and this finds the shapes you would otherwise hunt for by eye — harmonic ABCD, Gartley, Butterfly, Bat and Crab, head and shoulders, double and triple tops and bottoms, rising and falling wedges, triangles, and trendlines with three or more touches. Every match is drawn on its own chart with the points labelled, and scored on how closely its ratios sit to the textbook, so you can tell a clean pattern from one that barely qualifies.

What to scan One stock, up to a year of sessions, any patterns you like.
 
Bar size the shapes are read on.
Maximum one year per scan.
Bars either side a turn must beat.
How closely ratios must match.
All 32

Harmonic

Reversal

Wedge / Triangle

Rectangle

Broadening

Continuation

Momentum

Trendline

Which shapes to match.
Loading stocks…
What do these patterns mean?
Swing pivot
A turning point: a bar whose high beats every bar for a few sessions either side of it, or whose low does. Every pattern here is built from these, because raw price has far too much detail to match shapes against directly.
Quality score
How closely a match sits to the textbook shape. A harmonic whose Fibonacci ratios are all near their ideal scores near 100; one that only just squeezes inside the accepted band scores near 0. Nothing outside the band is reported at all.
ABCD
Four points where the CD leg roughly mirrors AB, with BC retracing part of AB. The simplest harmonic and the base the others build on.
Gartley, Butterfly, Bat, Crab
Five-point harmonics (X, A, B, C, D). They share a shape and differ in their Fibonacci ratios — chiefly how far D retraces or extends the XA leg: Gartley 0.786, Bat 0.886, Butterfly 1.27, Crab 1.618.
Double / triple top and bottom
Two or three failed attempts at the same level, with real pullbacks in between. The level between them is the neckline; traders watch for a break of it.
Head & shoulders
Three peaks with the middle one highest and the outer two at a similar height. Inverted for the bullish version.
Wedge
Two converging trendlines both sloping the same way. Rising wedges lean bearish, falling wedges bullish — the shape is price running out of room.
Triangle
Converging lines sloping oppositely (symmetrical), a flat top with rising lows (ascending), or a flat bottom with falling highs (descending).
Trendline
A straight line touching three or more pivots without price cutting through it in between. More touches means a line more people are watching.

How to use the Chart Pattern Scanner

  1. Pick a stockChoose any NSE stock or index we hold daily price history for.
  2. Set the date rangeAny window up to one year. A longer range finds more but each chart covers more ground.
  3. Choose which patternsScan for everything, or tick only the families you trade — harmonic, reversal, wedge and triangle, or trendline.
  4. Tune the swing sizeA larger swing size ignores small wiggles and finds fewer, bigger shapes. A smaller one finds more, including short ones.
  5. Read the chartsEvery match gets its own chart with the pattern drawn on it, its quality score, its measured ratios and the dates it ran between.

Frequently asked questions

Which chart patterns does the scanner find?

Seventeen: the harmonic family (ABCD, Gartley, Butterfly, Bat, Crab), reversals (double and triple tops and bottoms, head and shoulders and its inverse), wedges and triangles (rising and falling wedges, symmetrical, ascending and descending triangles), and trendlines with three or more touches.

How does it decide a pattern is really there?

It first reduces the price series to its confirmed swing pivots, then matches shapes against that skeleton. For harmonics it measures the Fibonacci ratios between legs and only accepts a match if every ratio sits inside the accepted band. Each match then gets a quality score for how close those ratios are to the textbook values, so a near-perfect Gartley and one that barely qualifies are told apart.

Can a pattern disappear after it is found?

The ones shown here cannot. A swing pivot is only confirmed once enough later bars have printed to prove it was a turn, so nothing is reported until its final point is genuinely settled. That is also why the newest few sessions never carry pattern points.

Why do I get different results when I change the swing size?

Swing size decides what counts as a turn. A small one treats minor wiggles as pivots and finds many short patterns; a large one only sees major swings and finds fewer, bigger ones. Neither is more correct — they are different zoom levels on the same chart.

Does finding a pattern mean the price will follow it?

No. This reports geometry that is present in past prices, nothing more. Patterns fail often, and the scanner makes no claim about what happens next. It is an analysis aid, not a signal service, and not investment advice.

Why is the range limited to one year?

A scan compares every swing against every other, so the work grows quickly with the window — and a chart covering several years is too compressed to read a pattern off anyway. One year keeps both the scan and the charts useful.

About this tool
Chart Pattern Scanner looks through stored NSE daily history for the shapes traders draw by hand, and shows you each one on its own chart.
  • How it finds them: the price series is first reduced to its confirmed swing pivots, then every pattern is matched against that skeleton — the same thing your eye does, and the only way results stay stable.
  • Nothing uses the future: a pivot is only confirmed once enough later bars have printed to prove it was a turn, so a reported pattern cannot vanish tomorrow. That is why the newest few sessions never carry pattern points.
  • Scored, not just matched: harmonics must have every Fibonacci ratio inside the accepted band, and the quality score says how close to textbook they landed.
  • What you get: a chart per pattern with its points labelled, the measured ratios, the dates it ran between, and a CSV of everything.
  • End-of-day data only. A pattern being present says nothing about what price does next — patterns fail often, and this is an analysis aid, not advice.
Alert
Info