Two-Candle Patterns
8 algorithms in Price Action and Candlesticks.
In this family#
-
Bullish Engulfing contract
Evaluates two candles against explicit bullish-engulfing geometry, scale, and downtrend context conventions.
bullishEngulfing(inputs) -
Bearish Engulfing contract
Evaluates two candles against explicit bearish-engulfing geometry, scale, and uptrend context conventions.
bearishEngulfing(inputs) -
Bullish Harami contract
Evaluates two candles against explicit bullish-harami containment, scale, and downtrend context conventions.
bullishHarami(inputs) -
Bearish Harami contract
Evaluates two candles against explicit bearish-harami containment, scale, and uptrend context conventions.
bearishHarami(inputs) -
Piercing Line contract
Evaluates two candles against explicit piercing-line gap, midpoint, scale, and downtrend conventions.
piercingLine(inputs) -
Dark Cloud Cover contract
Evaluates two candles against explicit dark-cloud gap, midpoint, scale, and uptrend conventions.
darkCloudCover(inputs) -
Tweezer Top contract
Evaluates two candles against explicit tweezer-top tolerance, rejection, scale, and uptrend conventions.
tweezerTop(inputs) -
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:
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.