BULLBEAR LENS · EDUCATIONAL CHART ANALYSIS
How Automated Candlestick Pattern Detection Works
Follow the difference between screen capture, OHLC rules, quality scoring and optional language-model explanation.
1. Capture or receive candles
The desktop path captures a screen region. The online dashboard receives a market feed on the server. The educational tools accept manual OHLC values and keep calculations in the browser. These three inputs should not be described as identical.
2. Measure and classify
For pixel input, colour masking and contour analysis estimate candle bodies and wicks. For OHLC input, body = absolute close minus open and range = high minus low. Single-candle or paired rules then assign possible pattern labels.
3. Add structure and a quality score
The desktop scorer combines geometry, trend alignment, size dominance, volatility context and a configurable rarity component. Source defaults normalize weights 35:30:20:10:5. Configuration can change those values, and website tools do not reproduce this composite score.
4. Explain with boundaries
A template or optional LLM describes selected evidence. Local Ollama and cloud providers are different processing choices. A quality score or language-model confidence is not a measured likelihood of a profitable trade. Inspect the original candle and the rule explanation together.
Frequently asked questions
Does an LLM recognize the candles?
The core pattern naming uses explicit geometry. Language-model narration is an optional explanation layer.
Why can the tool and desktop disagree?
Manual OHLC avoids pixel extraction. Desktop thresholds, minimum confidence filtering, pixel tolerances and context scoring can change which matches are displayed.
Educational software only. No financial advice or guaranteed outcomes. Content reviewed 2026-11-24.