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

Two-Candle Patterns

8 algorithms in Price Action and Candlesticks.

In this family#

  1. Bullish Engulfing contract

    Evaluates two candles against explicit bullish-engulfing geometry, scale, and downtrend context conventions.

    bullishEngulfing(inputs)
  2. Bearish Engulfing contract

    Evaluates two candles against explicit bearish-engulfing geometry, scale, and uptrend context conventions.

    bearishEngulfing(inputs)
  3. Bullish Harami contract

    Evaluates two candles against explicit bullish-harami containment, scale, and downtrend context conventions.

    bullishHarami(inputs)
  4. Bearish Harami contract

    Evaluates two candles against explicit bearish-harami containment, scale, and uptrend context conventions.

    bearishHarami(inputs)
  5. Piercing Line contract

    Evaluates two candles against explicit piercing-line gap, midpoint, scale, and downtrend conventions.

    piercingLine(inputs)
  6. Dark Cloud Cover contract

    Evaluates two candles against explicit dark-cloud gap, midpoint, scale, and uptrend conventions.

    darkCloudCover(inputs)
  7. Tweezer Top contract

    Evaluates two candles against explicit tweezer-top tolerance, rejection, scale, and uptrend conventions.

    tweezerTop(inputs)
  8. Tweezer Bottom contract

    Evaluates two candles against explicit tweezer-bottom tolerance, rejection, scale, and downtrend conventions.

    tweezerBottom(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:

ts
import { bullishEngulfing } from "fintech-algorithms/price-action-and-candlesticks/two-candle-patterns/bullish-engulfing";
import { bearishEngulfing } from "fintech-algorithms/price-action-and-candlesticks/two-candle-patterns/bearish-engulfing";

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.