Multi-Candle Patterns
13 algorithms in Price Action and Candlesticks · 13 with asserted arithmetic.
In this family#
-
Morning Star verified
Evaluates exactly three candles against explicit morning-star gap, penetration, scale, and downtrend conventions.
morningStar(inputs) -
Evening Star verified
Evaluates exactly three candles against explicit evening-star gap, penetration, scale, and uptrend conventions.
eveningStar(inputs) -
Three White Soldiers verified
Evaluates exactly three candles against explicit white-soldiers body, close, shadow, scale, and downtrend conventions.
threeWhiteSoldiers(inputs) -
Three Black Crows verified
Evaluates exactly three candles against explicit black-crows body, close, shadow, scale, and uptrend conventions.
threeBlackCrows(inputs) -
Three Inside Up/Down verified
Evaluates exactly three candles against explicit inside-pair containment, confirmation, scale, and trend-context conventions.
threeInsideUpDown(inputs) -
Three Outside Up/Down verified
Evaluates exactly three candles against explicit outside-pair engulfing, confirmation, scale, and trend-context conventions.
threeOutsideUpDown(inputs) -
Abandoned Baby verified
Evaluates exactly three candles against explicit abandoned-baby isolation, doji, penetration, scale, and context conventions.
abandonedBaby(inputs) -
Morning Doji Star verified
Scans three-bar windows for a down candle, then a doji, then an up candle that closes above the midpoint of the first candle's body.
morningDojiStar(input) -
Evening Doji Star verified
Scans three-bar windows for an up candle, then a doji, then a down candle that closes below the midpoint of the first candle's body.
eveningDojiStar(input) -
Three-Line Strike verified
Scans four-bar windows for three same-colour candles followed by one opposite candle whose body swallows the run from the first candle's body edge to the third's.
threeLineStrike(input) -
Rising/Falling Three Methods verified
Scans five-bar windows for a long candle, three bars whose ranges stay inside it, and a fifth candle of the same colour that closes beyond the first one's close.
risingFallingThreeMethods(input) -
Upside Gap Two Crows verified
Scans three-bar windows for an up candle, a gapped-up down candle, and a second down candle that opens higher still yet closes back inside the first candle's body.
upsideGapTwoCrows(input) -
Mat Hold verified
Scans five-bar windows for an up candle, a gap above its close, three bars that hold above the first candle's body floor, and a fifth up candle closing above every high in the window so far.
matHold(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 { morningStar } from "fintech-algorithms/price-action-and-candlesticks/multi-candle-patterns/morning-star";
import { eveningStar } from "fintech-algorithms/price-action-and-candlesticks/multi-candle-patterns/evening-star";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.