Single-Candle Patterns
13 algorithms in Price Action and Candlesticks · 13 with asserted arithmetic.
In this family#
-
Doji verified
Evaluates one candle against the repository's explicit doji geometry and scale convention.
doji(inputs) -
Dragonfly Doji verified
Evaluates one candle against the repository's explicit dragonfly-doji geometry and scale convention.
dragonflyDoji(inputs) -
Gravestone Doji verified
Evaluates one candle against the repository's explicit gravestone-doji geometry and scale convention.
gravestoneDoji(inputs) -
Marubozu verified
Evaluates one candle against the repository's explicit marubozu geometry and scale convention.
marubozu(inputs) -
Spinning Top verified
Evaluates one candle against the repository's explicit spinning-top geometry and scale convention.
spinningTop(inputs) -
Hammer verified
Evaluates one candle against explicit hammer geometry, scale, and downtrend context conventions.
hammer(inputs) -
Hanging Man verified
Evaluates one candle against explicit hanging-man geometry, scale, and uptrend context conventions.
hangingMan(inputs) -
Inverted Hammer verified
Evaluates one candle against explicit inverted-hammer geometry, scale, and downtrend context conventions.
invertedHammer(inputs) -
Shooting Star verified
Evaluates one candle against explicit shooting-star geometry, scale, and uptrend context conventions.
shootingStar(inputs) -
Long-Legged Doji verified
Marks each bar whose body is a small fraction of its high-low span while both shadows are long, and reports how much slack the tightest of those three tests had.
longLeggedDoji(input) -
Four-Price Doji verified
Marks each bar whose entire range and whose open-to-close distance both sit within a tick tolerance, the degenerate candle where all four prices are effectively the same.
fourPriceDoji(input) -
High-Wave Candle verified
Marks each bar with a small body relative to its high-low span whose two shadows are both a multiple of that body, the long-tailed indecision candle.
highWaveCandle(input) -
Belt Hold verified
Marks each bar that opens at one extreme of its own range within a tick and closes at least 60 percent of the span away, and reports that body share and which side it favoured.
beltHold(input)
What they share#
Every topic here is a record-transform, so once you have
called one the rest follow the same shape. Import paths differ only in the final segment:
import { doji } from "fintech-algorithms/price-action-and-candlesticks/single-candle-patterns/doji";
import { dragonflyDoji } from "fintech-algorithms/price-action-and-candlesticks/single-candle-patterns/dragonfly-doji";Read them in the order above — the sequence is pedagogical, not alphabetical.
Where this sits#
Price Action and Candlesticks collects 52 algorithms across 5 families. For the concept behind this family rather than the call signatures, see the concept guides.