Home/Methodology
Methodology

How we measure whether a pattern works

We’d rather over-explain than overstate. Here is exactly how the numbers across CryptoPatterns.ai are produced, and where their limits are.

Latest run, all coins pooled (542 pattern, chart and horizon results):4 edge18 weak edge456 no edge27 leans opposite8 opposite29 too few

The data

Daily candles for the 256+ largest coins with a Binance USDT market (back to 2017 where they exist), 4-hour candles for the top 40 and hourly candles for the top 15. Only closed candles are used. Stablecoins, wrapped tokens and exchange-only tickers are left out. Everything is recomputed every night (last run Nov 15, 2026, 12:23 AM UTC).

1. Measure from the bar where the pattern was visible

A candlestick pattern is known when its last candle closes. A chart or harmonic pattern is built from swing highs and lows, and a swing point is only confirmed a few bars later (five, here), so these patterns are measured from that later bar. Cup-and-handle patterns need two more swings after the cup, so they start later still. Measuring from the pattern’s last point, as most pattern statistics do, uses prices nobody had yet and flatters every structural pattern. We checked this rule by re-running detection on data cut off at each entry bar: the pattern was already there.

2. Count each move once

After an occurrence, the same pattern on the same coin is not counted again until its measuring window has passed. Otherwise one rally that prints five overlapping bullish patterns would count as five wins.

3. Compare with the coin’s own baseline

For every coin, timeframe and window we also measure how often price moved up (or down) over that window from any bar: the baseline. A bullish pattern’s hit rate is set next to the coin’s ordinary up-rate, a bearish one next to its down-rate. Coins trend, so 50% is the wrong yardstick.

4. A strict bar for “it works”

Thousands of pattern, coin, chart and window combinations are tested, so some will look good by luck alone. The difference from the baseline is turned into a z-score, and the verdicts are:

  • Beat the baseline: z of at least 3 for all coins pooled, 3.5 for a single coin.
  • Slightly better, not conclusive / leans the other way: z beyond ±2, short of that bar.
  • No edge: a coin flip: anything closer to the baseline.
  • Too few cases to tell: fewer than 30 non-overlapping cases. No number is shown as if it meant something.

When all coins are pooled, occurrences on the same day are not independent (a market-wide drop prints the same pattern on dozens of coins at once), so the uncertainty is clustered by day: a crowded day counts as roughly one piece of evidence. The 95% range shown with each pooled result uses the same clustering.

5. Costs

The hit rate measures direction. Each result also shows the median move after a 0.2% round trip of trading fees, and flags patterns whose typical move is smaller than that.

Event studies, the market regime and coin statistics

The same rules apply elsewhere. Event studies measure from the close of the day a condition was met, count runs of consecutive days once, and compare every horizon with all days in the same history; a difference needs a z-score beyond ±2.5 to be called one. The market regime’s “what followed” figures use non-overlapping periods, and its trend-filter table is run from several start years with a cost per switch, because a single start date can make any rule look good. The calendar’s base rates come from hourly and 4-hour bars around each past event.

Limits

  • History describes the past. Markets change, and an edge that existed can disappear.
  • A hit rate is not a trading system: it has no stop, no target and no position sizing.
  • Detection follows fixed rules; a chartist may see a pattern where the rules do not, and the reverse.
  • Crypto trading, especially with leverage, carries substantial risk of loss.
  • CryptoPatterns.ai is software and analytics, not financial advice.

See every result in the pattern library, or test your own eye in the Pattern Trainer.

FAQ

Methodology questions

What do the pattern odds on CryptoPatterns.ai mean?

For each pattern on each coin and timeframe: how often price moved the pattern’s way within a set window (4 hours to 30 days), next to how often that same coin moved that way from any random bar over the same window. The second number is the baseline. A pattern only has an edge if it beats its baseline by more than luck explains. Most patterns do not, and the site says so.

Why compare against a baseline instead of 50%?

Because coins trend. In a long rise, “price was higher a week later” happens more than half the time whatever pattern you look at. A bullish pattern with a 56% hit rate on a coin that rose 58% of all weeks is worse than nothing. The baseline removes that illusion.

Why do most patterns show no edge?

Because that is what honest measurement finds. Once you count every occurrence, measure from the bar where the pattern was actually visible, drop overlapping cases and compare with the baseline, the textbook direction is usually right about as often as a coin flip. Knowing which patterns are noise is useful in itself.

Do you include the occurrences that failed?

Yes. Every detected occurrence is counted, winners and losers, and the sample size is always shown. Results with fewer than 30 cases are reported as “too few to tell” rather than as a number.

Are fees included?

The hit rate is a direction measure, so fees do not change it, but every result also shows the median move after a 0.2% round trip of fees. When a pattern beats its baseline but its typical move is smaller than the fees, we say so.