fintech-algorithms
Using a coding agent? Give it the skill: npx skills add IslamBaraka90/Fintech-Algorithms-Library What it does →

Multi-Candle Patterns

13 algorithms in Price Action and Candlesticks · 13 with asserted arithmetic.

In this family#

  1. Morning Star verified

    Evaluates exactly three candles against explicit morning-star gap, penetration, scale, and downtrend conventions.

    morningStar(inputs)
  2. Evening Star verified

    Evaluates exactly three candles against explicit evening-star gap, penetration, scale, and uptrend conventions.

    eveningStar(inputs)
  3. Three White Soldiers verified

    Evaluates exactly three candles against explicit white-soldiers body, close, shadow, scale, and downtrend conventions.

    threeWhiteSoldiers(inputs)
  4. Three Black Crows verified

    Evaluates exactly three candles against explicit black-crows body, close, shadow, scale, and uptrend conventions.

    threeBlackCrows(inputs)
  5. Three Inside Up/Down verified

    Evaluates exactly three candles against explicit inside-pair containment, confirmation, scale, and trend-context conventions.

    threeInsideUpDown(inputs)
  6. Three Outside Up/Down verified

    Evaluates exactly three candles against explicit outside-pair engulfing, confirmation, scale, and trend-context conventions.

    threeOutsideUpDown(inputs)
  7. Abandoned Baby verified

    Evaluates exactly three candles against explicit abandoned-baby isolation, doji, penetration, scale, and context conventions.

    abandonedBaby(inputs)
  8. 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)
  9. 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)
  10. 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)
  11. 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)
  12. 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)
  13. 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:

ts
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.