Chart patterns
About 100 possible chart, harmonic, candlestick, price-action and perp patterns on the Deskr terminal. Quality, target, invalidation, how the stats are computed, and patterns.find in Deskr Script. Not advice.
On this page
The terminal at deskr.trade/app/terminal can mark possible patterns on the live chart. Click Patterns in the top bar. A panel lists what is on this chart, with a scanner across the watchlist. Each item has a quality score, a measured target, an invalidation, and — when the sample is large enough — a hit rate from Deskr's own history.
Pattern recognition is geometric and often wrong. A card that says "possible head and shoulders" is a shape the engine fitted, not a recommendation to trade. Past hit rates do not predict the next one. Deskr never places an order from a pattern.
Five families#
There are 105 kinds, in five categories you can filter in the panel:
| Category | What it covers | Kinds |
|---|---|---|
| Chart | Classic geometries: head and shoulders, double and triple tops and bottoms, triangles, wedges, flags and pennants, rectangles, cup and handle, channels, broadening formations, diamonds, rounding tops and bottoms, islands, bump-and-run, triple taps, Quasimodo, Wyckoff spring and upthrust, Elliott-style 5-wave counts, ABC corrections, measured moves, and gaps | 45 |
| Harmonic | Fibonacci harmonic patterns: Gartley, Bat, Butterfly, Crab, Deep Crab, Shark, Cypher, 5-0, Three Drives, and AB = CD | 10 |
| Candles | Single- and multi-bar candlestick patterns, from engulfing, hammers and stars through tweezers, three inside / outside, abandoned baby, kicker, rising and falling three methods, marubozu, belt hold, tasuki and more. Doji and spinning tops are marked as indecision, with no direction and no stats | 31 |
| SMC / PA | Price-action and smart-money concepts: liquidity sweeps, swing failure (SFP), break of structure (BOS), change of character (CHoCH), order-block and fair-value-gap retests, equal highs and lows, inside / outside bars, NR4 / NR7, and pin bars at a swing | 14 |
| Perp | Deskr's own perpetual-futures setups, which need open interest, funding, taker flow, liquidations or the book: funding squeeze, OI divergence, CVD divergence, liquidation exhaustion, and wall absorption | 5 |
Bullish and bearish twins (head and shoulders vs inverse, bull flag vs bear flag, and so on) are counted separately. Some harmonics and candles share one name and are labelled bullish or bearish on the card.
Quality, states, target and invalidation#
Quality is a score from 0 to 100 for how cleanly the geometry fits — symmetry, ratio error, how well price respected the lines, number of touches, the prior trend, and volume where the classic rule uses it. It never looks at whether the pattern later worked. Use the Min quality slider in the panel to hide weak fits.
Each pattern is in one of four states:
| State | Meaning |
|---|---|
| Forming | The shape is visible, but it has not yet confirmed (for example the neckline has not closed through) |
| Confirmed | A close has broken the breakout line (or the last pivot of a harmonic has been confirmed) |
| Target hit | Price reached the measured target before the invalidation |
| Failed | Price reached the invalidation first. Failed patterns are hidden unless you tick Show failed |
Target is a measured move from the classic rule (head height from the neckline, pattern height, 0.382 / 0.618 of a harmonic leg, one bar or pattern range for many candles, and so on). Some harmonics also show a second target (T2).
Invalidation is the level that cancels the idea — the right shoulder, the extreme of the pattern, a level past the PRZ, or the other side of a range.
Two-sided shapes (a symmetrical triangle, a rectangle, an inside bar) have no direction until they break. The card says so, and stats are for the side that broke.
How the stats are computed#
The hover card and the panel can show a hit rate and an average move. The rules are the same for every pattern:
- The sample is Deskr's own hourly candles on the perps we track, starting 7 October 2026. Four-hour and daily bars are resampled from those hours. One-minute, five-minute and fifteen-minute charts have no stats — we do not keep a long enough history there.
- A case is a pattern that confirmed and then became a trade: entry at the next bar's open after both the breakout close and the last pivot's confirmation. The engine is not allowed to peek at later bars when it decides the entry.
- A hit means the target was reached before the invalidation. If both are touched on the same bar, it counts as a miss.
- Costs of 0.12% round-trip are taken off. Trades still open at the horizon are closed there.
- Figures are shown per pattern, direction and timeframe, either on major coins or on all of Deskr's perps.
- N ≥ 30. If fewer than 30 cases have resolved, the number is hidden. A rate from a handful of trades would be noise, so we do not show it.
A high hit rate in this window is not a promise. The period includes a long stretch of falling prices, which helps some short patterns and hurts some upside breakouts. The card always shows the average move as well as the hit rate, and the sample size.
Forward-only perp patterns#
Two perp setups — liquidation exhaustion and wall absorption — need Deskr's order-flow history, which only goes back days, not months. They are forward-only: every confirmed case is logged from the moment the scanner sees it, and resolved later with the same entry, target, invalidation and cost rules as the backtest. Until 30 cases have resolved, the card says Forward-only … N resolved and does not show a hit rate.
Funding squeeze, OI divergence and CVD divergence use public exchange history that is long enough for a backtest, so they follow the ordinary stats rules (still hidden below N = 30).
Alerts#
On a pattern with a breakout line, use Alert on breakout in the card or the bell icon in the list. Deskr notifies you in the app when price crosses that line. You must be signed in. There is no public webhook for pattern alerts yet.
Deskr Script: patterns.find#
Confirmed possible patterns are available in Deskr Script:
// Confirmed chart patterns at or above your minimum quality
const minQ = input("Min quality", 70, { min: 0, max: 100, step: 5 });
for (const p of patterns.find({ cat: "chart", minQ })) {
marker(p.at, p.dir > 0 ? "up" : "down", p.name, { color: p.dir > 0 ? "#3ccf91" : "#f0566a" });
if (p.target) level(p.target, p.name + " target");
if (p.stop) level(p.stop, p.name + " invalidation");
}
// Sweep, then a change of character
const sweeps = patterns.find({ kind: ["sweeplo", "sweephi", "sfp"] });
for (const c of patterns.find({ kind: "choch" })) {
if (sweeps.some((s) => s.at < c.at && c.at - s.at <= 8)) {
marker(c.at, c.dir > 0 ? "up" : "down", "sweep then CHoCH");
}
}| Call | What it returns |
|---|---|
patterns.find({ kind, cat, dir, minQ }) |
Confirmed possible patterns matching the filters. cat is chart, harmonic, candle, smc or perp. kind is one id or a list (for example ["sweeplo", "sfp", "choch"]). dir is 1 (bullish), -1 (bearish), or omitted for both. minQ is a quality floor. |
patterns.at(i) |
Confirmed patterns whose confirmation close is bar i. |
patterns.all |
Every confirmed possible pattern on the series. |
Each result has .kind, .name, .cat, .dir, .q (quality), .at (the bar whose close confirmed it — act there, never earlier; a fill would be the next open), .i0 (where the shape began), .target and .stop (invalidation). Outcome fields are left out on purpose, so a script cannot peek at whether the pattern later worked.
The list#
Ids are what you pass to patterns.find({ kind }).
Chart#
| Id | Name |
|---|---|
hs / ihs |
Head and shoulders / inverse |
dtop / dbot |
Double top / bottom |
ttop / tbot |
Triple top / bottom |
asctri / desctri / symtri |
Ascending / descending / symmetrical triangle |
risewedge / fallwedge |
Rising / falling wedge |
bullflag / bearflag |
Bull / bear flag |
bullpennant / bearpennant |
Bull / bear pennant |
rect |
Rectangle range |
cup |
Cup and handle |
chanup / chandown |
Rising / falling channel |
broad / ascbroad / descbroad |
Broadening formation, ascending / descending broadening wedge |
diamtop / diambot |
Diamond top / bottom |
rtop / rbot |
Rounding top / bottom |
islandtop / islandbot |
Island top / bottom |
bartop / barbot |
Bump-and-run top / bottom |
tap3top / tap3bot |
Triple tap top / bottom |
qmtop / qmbot |
Quasimodo top / bottom |
spring / upthrust |
Wyckoff spring / upthrust |
ew5up / ew5dn |
Elliott-style 5-wave impulse up / down (a possible count) |
abcup / abcdn |
ABC correction in an up / down trend |
mmup / mmdn |
Measured move up / down |
gapbreak / gaprun / gapexh |
Breakaway / runaway / exhaustion gap |
Harmonic#
| Id | Name |
|---|---|
gartley / bat / butterfly / crab |
Gartley, Bat, Butterfly, Crab |
deepcrab / shark / cypher / fiveo |
Deep Crab, Shark, Cypher, 5-0 |
threedrives |
Three Drives |
abcd |
AB = CD |
Candles#
| Id | Name |
|---|---|
engulf / harami |
Engulfing, harami |
hammer / invhammer / hangman / shootstar |
Hammer, inverted hammer, hanging man, shooting star |
doji / longdoji / dragonfly / gravestone / spin |
Doji, long-legged doji, dragonfly, gravestone, spinning top (indecision has no stats) |
mstar / estar |
Morning star, evening star |
soldiers / crows |
Three white soldiers, three black crows |
piercing / darkcloud |
Piercing line, dark cloud cover |
tweezbot / tweeztop |
Tweezer bottom / top |
in3up / in3dn / out3up / out3dn |
Three inside / outside, up / down |
ababy / kicker / rise3 / fall3 |
Abandoned baby, kicker, rising / falling three methods |
maru / belthold / tasuki / gap2crows |
Marubozu, belt hold, tasuki gap, upside gap two crows |
SMC / PA#
| Id | Name |
|---|---|
sweeplo / sweephi |
Liquidity sweep of lows / highs |
sfp |
Swing failure pattern |
bos / choch |
Break of structure, change of character |
ob / fvg |
Order-block retest, fair-value-gap retest (first return only) |
eqh / eql |
Equal highs / lows (liquidity level, no direction, no stats) |
ibar / obar / nr4 / nr7 |
Inside bar, outside bar, NR4, NR7 |
pinbar |
Pin bar at a swing level |
Perp#
| Id | Name |
|---|---|
fsqueeze |
Funding squeeze setup |
oidiv |
OI divergence |
cvddiv |
CVD divergence |
liqexh |
Liquidation exhaustion (forward-only until 30 cases resolve) |
wallabs |
Wall absorption (forward-only until 30 cases resolve) |
See also#
- Open it: deskr.trade/app/terminal
- Terminal indicators — built-in indicators, right-click alerts and the footprint chart
- Deskr Script — write your own indicator on top of
patterns.find - Rules & alerts