Single-Candle Patterns
9 algorithms in Price Action and Candlesticks.
In this family#
-
Doji contract
Evaluates one candle against the repository's explicit doji geometry and scale convention.
doji(inputs) -
Dragonfly Doji contract
Evaluates one candle against the repository's explicit dragonfly-doji geometry and scale convention.
dragonflyDoji(inputs) -
Gravestone Doji contract
Evaluates one candle against the repository's explicit gravestone-doji geometry and scale convention.
gravestoneDoji(inputs) -
Marubozu contract
Evaluates one candle against the repository's explicit marubozu geometry and scale convention.
marubozu(inputs) -
Spinning Top contract
Evaluates one candle against the repository's explicit spinning-top geometry and scale convention.
spinningTop(inputs) -
Hammer contract
Evaluates one candle against explicit hammer geometry, scale, and downtrend context conventions.
hammer(inputs) -
Hanging Man contract
Evaluates one candle against explicit hanging-man geometry, scale, and uptrend context conventions.
hangingMan(inputs) -
Inverted Hammer contract
Evaluates one candle against explicit inverted-hammer geometry, scale, and downtrend context conventions.
invertedHammer(inputs) -
Shooting Star contract
Evaluates one candle against explicit shooting-star geometry, scale, and uptrend context conventions.
shootingStar(inputs)
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 38 algorithms across 5 families. For the concept behind this family rather than the call signatures, see the concept guides.