Introduction: Inside the Pattern Detection Engine

This is Part 2 of our two-part series on building a systematic stock pattern detection system. In Part 1, we explored the execution problem technical traders face and why systematic detection solves it. Now we dive into the technical details: the 16 bullish chart patterns we detect, our three-dimensional scoring methodology, and the engineering challenges we solved to scan 6,000+ stocks daily before the market opens.

This system is designed for active retail traders who make short-term trades based on technical chart patterns — not long-term buy-and-hold investors. If you are looking to set and forget investments, this approach is not for you. (Part 1 discusses this distinction in more detail.)

Important Disclosure: This article explains our technical methodology for detecting stock patterns. The information is educational and describes how our analytical system works. Nothing in this article constitutes investment advice, financial planning guidance, or a recommendation to buy or sell any security. We are not registered investment advisors or financial planners. Pattern detection is a technical analysis tool, not a complete investment strategy. All trading involves substantial risk of loss. Before acting on any information or using any analytical tool, consult with a qualified financial professional who understands your complete financial situation.

Graphic showing a Bull

The 16 Bullish Chart Patterns We Detect

We scan 6,000+ stocks daily across NASDAQ, NYSE, and AMEX, detecting 16 distinct bullish patterns organized into four categories. Results are delivered to subscribers before the market opens every trading day.

Breakout and Continuation Patterns

These patterns form during consolidation phases and signal potential upside moves. They appear most often when stocks are building energy for the next leg higher.

Ascending Triangle — Higher lows pressing into flat resistance, creating a compression zone that often resolves to the upside. Symmetrical Triangle — Converging price action with lower highs and higher lows, resolving upward. Bull Flag — A sharp rally followed by tight, orderly consolidation. Bullish Pennant — A small symmetrical triangle forming after a strong directional move. Flat Base — Tight sideways consolidation near highs, signaling accumulation without selling pressure. Cup and Handle — A U-shaped base followed by a final shakeout before breakout.

Reversal Patterns

These patterns signal potential trend changes from downtrends to uptrends. They appear after extended downtrends when selling pressure exhausts and buyers begin to regain control.

Double Bottom — Two tests of support followed by an upside breakout. Inverse Head and Shoulders — The classic reversal formation with a neckline break. Falling Wedge — Declining consolidation with narrowing range that resolves to the upside. Rounding Bottom — Gradual accumulation forming a saucer shape over weeks or months. Post-Collapse Recovery — A bounce pattern that forms after a sharp decline.

Momentum Patterns

Momentum patterns identify emerging strength and institutional activity. They often appear early in new trends, before the broader market notices.

Higher Lows with Volume Spike — Progressive strength confirmation where each higher low is accompanied by increasing volume. Volatility Compression — A tightening price range that signals potential for an explosive move. Breakaway Gap — A strong gap up on high volume, signaling decisive institutional participation.

Candlestick Patterns

Short-term reversal signals based on price action, useful for timing entries on setups already identified through broader pattern analysis.

Bullish Engulfing — A large bullish candle that completely engulfs the prior bearish candle. Three White Soldiers — Three consecutive strong bullish candles, each closing higher than the last.

Why We Focus Exclusively on Bullish Patterns

We currently detect only bullish patterns because that is where most retail traders find their best opportunities — and where we can deliver the most value first. The long side is more forgiving (stocks can theoretically rise indefinitely but can only fall to zero), position sizing is simpler, and most traders are more comfortable going long.

Our roadmap includes bearish pattern detection for short opportunities, but we are taking a disciplined approach: perfect the long side first, build a solid performance track record, then expand. We would rather be excellent at one thing than mediocre at everything.


How Often Each Pattern Appears — and Why It Matters

Not all patterns appear equally, and that is by design. In the current market environment, Volatility Compression patterns dominate — accounting for 65 to 70 percent of detected opportunities — as stocks consolidate before potential moves. Bull Flags and Ascending Triangles provide the next largest opportunity set at roughly 10 to 15 percent each. Rarer patterns like Cup and Handle and Symmetrical Triangle appear occasionally but can be highly profitable when they form with proper structure.

Over a recent week, we detected valid opportunities across 12 of our 16 pattern types. The remaining four, including Cup and Handle and Double Bottom, require specific market conditions that were not present — which is exactly how a well-calibrated system should behave. Pattern frequency shifts with market regime. In strong uptrends, more momentum patterns appear. In consolidations, more compression and base-building patterns surface.

Our six core patterns — Volatility Compression, Bull Flag, Ascending Triangle, Higher Lows with Volume Spike, Falling Wedge, and Flat Base — generate 95 percent of daily recommendations. We do not just pattern-match. We identify fresh, high-probability setups that are ready to act on now.

Knowing which patterns appear and when is only part of the equation. The critical question is how we separate high-quality setups from noise.


How We Score Stock Patterns: A Three-Dimensional Methodology

Structure Score: Quantifying Pattern Geometry

We quantify what most traders eyeball. Our system measures symmetry and proportion, proper pattern duration (not too short or too long), correct depth-to-height ratios, and valid sequence of price moves.

For example, a valid Double Bottom requires two lows within 3 percent of each other, separation of 4 to 12 weeks, and a clear peak between the two lows. Anything outside those parameters is classified as noise and rejected.

Volume Score: Detecting Institutional Activity

Volume tells the truth about who is participating in a move. Declining volume on pullbacks can be bullish — it often signals that sellers lack conviction. However, we only interpret declining pullback volume as bullish when two conditions are met: the stock is in a clear uptrend, and the prior move up showed strong volume. Context is everything.

Breakout Readiness Score: Ensuring Actionable Timing

Timing separates useful analysis from post-mortem chart reading. We measure distance above resistance (adjusted for volatility using Average True Range), cleanliness of the breakout move (no false starts), and freshness — the pattern formed recently, not weeks ago. If a pattern is in today's report, it is actionable today.

Contextual Analysis: Market and Sector Alignment

A perfect pattern in isolation means nothing. We layer in additional context: market regime (bull, bear, or sideways), sector strength relative to the S\&P 500, trend alignment (is the stock above its 50-day and 200-day moving averages?), relative strength compared to peers, and the stock's volatility profile.

In our experience analyzing thousands of patterns, a 7-out-of-10 pattern in a strong sector during a bull market often outperforms a 9-out-of-10 pattern fighting a sector downtrend.

Freshness Filters: Why We Only Recommend Actionable Setups

Most scanners show you patterns from weeks ago. A "great double bottom" that already broke out and ran is useless. Our freshness filters ensure that every recommendation features a recent formation within weeks, a current price in or near the entry zone, and no setups that have already made their move.

If we recommend it, our system has identified it as meeting our quality and timing criteria. It is worth noting that no prediction is 100 percent certain. We provide the data about the setup and you make the final call based on your risk tolerance and research.


Engineering Challenges Behind Daily Pattern Scanning at Scale

Handling Stock Split and Dividend Adjustments

A 2-for-1 stock split combined with a dividend in the same week distorts support and resistance levels if handled incorrectly. We built custom adjustment logic based on specific analysis use cases to ensure accurate pattern detection across corporate actions.

Filtering Signal from Noise

Early versions of the system flagged hundreds of patterns a day. Most were noise. We now reject setups that have poor structure or incomplete geometry, show weak volume on breakouts, or are stale and overextended. We would rather deliver 5 strong recommendations than 50 weak ones.

To keep lists fresh, we also commit to not listing any stock twice within 5 consecutive trading days.

Processing 6,000+ Stocks Before Market Open

Scanning more than 6,000 stocks, running 16 pattern detection models, scoring each match, and ranking them — all before the market opens every trading day — was its own engineering challenge. We experimented with different process flows, optimized algorithms for speed, and built robust data pipelines to deliver results reliably on schedule.

Calibrating the Scoring System

Should a textbook-perfect pattern with weak volume score higher than a structurally imperfect pattern with explosive volume? We backtested thousands of scoring variations during development. After six weeks of live recommendations and three weeks of performance tracking, we are validating and refining those models with real market data. The system keeps learning and improving. This experimentation, testing, and calibration allowed us to improve the market beat rate — and our trend toward gradual improvement continues even when markets are trending down.

Uptrend Chart

Early Performance Results

Our system generates hundreds of pattern opportunities daily, which we filter down to approximately 50 top-scored recommendations across all market capitalizations. Over a recent tracking period, our recommendation market beat rate was 59 percent (based on the filtered top-50 daily recommendations that subscribers receive), and our identified patterns market beat rate was 64 percent (based on all patterns considered during list construction).

Top-performing pattern types include Ascending Triangle with a 78 percent beat rate across 59 recommendations, Breakaway Gap at 70 percent across 10 recommendations, Post-Collapse Recovery at 66.7 percent across 3 recommendations, and Volatility Compression at 60.8 percent across 393 occurrences.

Bull Flag and Bullish Engulfing patterns are showing lower win rates, which we are actively investigating and recalibrating. Our target is a 75 percent market beat rate. This is early-stage data, and we are committed to sharing with customers what works and what does not.


Summary: Systematic Detection as a Daily Trading Edge

We built a system that finds patterns you would spot manually if you had unlimited time and perfect consistency. We quantify what most traders eyeball. We filter out the noise. We catch patterns in the brief window when they are actually actionable.

The result is a daily list of high-probability stock opportunities, ranked by quality, with all the context needed to make informed decisions. No guesswork. No bias. Just systematic analysis at scale.

Everything described above — the patterns, the scoring, the filters — runs automatically every day before the market opens. You get the results. You make the decisions. That is the execution edge systematic pattern detection provides.


Risk Management: Stop Losses, Price Targets, and Position Sizing

You can read about the data our clients receive here.

Pattern Invalidation and Stop Loss Levels

Every recommendation includes a stop loss based on pattern invalidation — the price level where the setup structurally breaks down. For a Double Bottom, the stop sits just below the two lows. For a Bull Flag, the stop sits below the flag consolidation. For an Ascending Triangle, the stop sits below the most recent higher low.

We provide these levels based on our pattern analysis. Whether and how you use stop losses is a personal decision that should reflect your own risk management approach and, if appropriate, guidance from a qualified financial advisor.

When price hits the stop, the pattern has failed. This is normal — no pattern works 100 percent of the time. Disciplined risk management means accepting small losses to preserve capital for the next high-probability setup.

Price Targets Based on Measured Pattern Height

We provide conservative targets based on measured pattern height, typically reflecting a 2:1 to 3:1 risk-reward ratio. We also provide aggressive targets for extended momentum continuations at 3:1 to 5:1 risk-reward.

These targets represent technical pattern projections based on historical price movements, not price predictions. Actual results vary significantly, and many patterns fail to reach their targets.

Position Sizing Fundamentals

Position sizing varies based on individual risk tolerance. Many technical traders use a 1 to 2 percent risk-per-trade framework — though this is a common approach described in trading literature, not a recommendation. Here is how the math works: if a stop loss is $2 away and a trader is willing to risk $500, the calculation suggests approximately 250 shares ($500 divided by $2). This is educational information about how position sizing works, not guidance on what you should do with your portfolio.

No vague "ideas." Just data-backed, actionable trade plans. I use these signals myself for my own trading (typically acting on 1 to 3 recommendations per week after conducting my own analysis), but my situation, risk tolerance, and financial goals are unique to me. This is not a suggestion that you should follow the same approach.

The system narrows 6,000 stocks down to a manageable watchlist of high-probability opportunities — then I make the final call on which ones fit my risk tolerance and portfolio strategy.

Risk Warning

StockDataAnalytics.com is a financial data and analytics service. The information provided through our platform, including stock pattern detection, entry zones, stop losses, and price targets, is for informational and educational purposes only and does not constitute financial advice, investment advice, trading advice, or any other type of advice. We are not registered investment advisors, broker-dealers, or financial planners. Past performance of any pattern or recommendation does not guarantee future results. All investments involve risk, including the possible loss of principal. You should consult with a qualified financial advisor before making any investment decisions. By using our service, you acknowledge that all trading decisions are made at your own risk.


Ready to see which patterns our system is detecting today? Start your free six-week trial →