Candlestick pattern
- Price
- Open
- High
- Low
Bullish engulfing
- found
Engulfing, hammer, doji, stars and more. Detects well-known patterns of one to three candles, such as engulfing, hammer or morning star, and reports them on the candle that completes the pattern. Only closed candles count, so a reported pattern never disappears again. On their own, candlestick patterns are weak signals; together with a level or the RSI they say more. Example: “Bullish engulfing” and “RSI below 30” reports a possible turn in the oversold zone.
What it looks like
Section titled “What it looks like”- rising candle
- falling candle
- Bullish engulfing
- Bearish engulfing
Settings
Section titled “Settings”The settings appear on the right under “Properties” once you click the node on the board. Below each field you find the same explanation as here.
Pattern
Section titled “Pattern”Which pattern the node looks for. It reports it on the candle that completes it.
- Bullish engulfing (default): A long green candle engulfs the body of a small red one before it. Seen as a sign that buyers are taking over.
- Bearish engulfing: A long red candle engulfs the body of a small green one before it. Seen as a sign that sellers are taking over.
- Hammer: Small body at the top with a lower wick at least twice as long as the body: the price dropped hard and was bought back.
- Shooting star: Small body at the bottom with an upper wick at least twice as long as the body: the price rose sharply and was sold off again.
- Doji: Open and close almost equal, the body is at most 5 % of the range: buyers and sellers are in balance.
- Morning star: Three candles: a long red one, a small one low down, then a long green one that closes above the middle of the first. A possible turn upward.
- Evening star: Three candles: a long green one, a small one high up, then a long red one that closes below the middle of the first. A possible turn downward.
- Three white soldiers: Three long green candles in a row, each closing higher and in the top quarter of its range. Shows strong, steady buying pressure.
- Three black crows: Three long red candles in a row, each closing lower and in the bottom quarter of its range. Shows strong, steady selling pressure.
Prior trend
Section titled “Prior trend”Whether a pattern only counts after a matching move. A hammer is a turn after a decline; with the trend it only counts when the price closes below its average of the last 50 candles.
- consider (default): Rising patterns only count when the price closes below the average of the last 50 candles, falling ones only above it. Doji and three soldiers or crows always count.
- ignore: Only the shape of the candles counts, no matter how the price moved before.
Example
Section titled “Example”A possible turn in the oversold zone: a bullish engulfing while the RSI is below 30.
How to connect the nodes:
- Candle (Price) → Candlestick pattern (Price)
- Candle (Open) → Candlestick pattern (Open)
- Candle (High) → Candlestick pattern (High)
- Candle (Low) → Candlestick pattern (Low)
- Candle (Price) → RSI (Value)
- RSI (RSI) → Compare (Value)
- Candlestick pattern (found) → AND (Signal 1)
- Compare (true/false) → AND (Signal 2)
- AND (all true) → Push (Trigger)
On the board it reads: Bullish engulfing
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Candlestick pattern", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } }, { "id": "m1", "type": "core.candlepattern", "position": { "x": 260, "y": 40 }, "settings": { "pattern": "bullEngulfing" } }, { "id": "r1", "type": "core.rsi", "position": { "x": 260, "y": 170 }, "settings": { "length": 14 } }, { "id": "k1", "type": "core.compare", "position": { "x": 480, "y": 40 }, "settings": { "operator": "below", "value": 30 } }, { "id": "a1", "type": "core.and", "position": { "x": 700, "y": 40 }, "settings": {} }, { "id": "p1", "type": "core.push", "position": { "x": 920, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "m1.close" }, { "from": "c1.open", "to": "m1.open" }, { "from": "c1.high", "to": "m1.high" }, { "from": "c1.low", "to": "m1.low" }, { "from": "c1.close", "to": "r1.in" }, { "from": "r1.out", "to": "k1.in" }, { "from": "m1.out", "to": "a1.in0" }, { "from": "k1.out", "to": "a1.in1" }, { "from": "a1.out", "to": "p1.in" } ]}Inputs and outputs
Section titled “Inputs and outputs”Only matching types connect: number series to number series (round pin), signal to signal (square), message to message (diamond).
| Direction | Pin | Type | Note |
|---|---|---|---|
| Input | Price | Number series | required |
| Input | Open | Number series | required |
| Input | High | Number series | required |
| Input | Low | Number series | required |
| Output | found | Signal (true/false) | – |
Good to know
Section titled “Good to know”- Warm-up with the default settings: 142 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: candlestick, pattern, engulfing, hammer, doji, morning star, evening star, shooting star, soldiers, crows, reversal.
Technical details
Section titled “Technical details”Body = |close − open|, long and small mean larger or smaller than the EMA 14 of the bodies; trend: close below (rising patterns) or above (falling ones) the SMA 50. Engulfing: a long body reaching beyond the open of the small one before and starting at most at its close; hammer: small body above the middle of the range, lower wick ≥ 2 × body, upper ≤ 5 % of the body; doji: body ≤ 5 % of the range; morning star: long falling body, small body below its middle, long rising body closing above its middle; three white soldiers: three long rising bodies with higher closes, each opening within the body before and closing in the top quarter of its range; the falling patterns mirrored. Opens up to a tenth of the EMA beside the previous body count as inside, because crypto trades without price gaps.
- Type in the chain:
core.candlepattern· Version 1.0.0 · Category keyind - Settings in the chain:
pattern(Pattern),trend(Prior trend) - Pins in the chain: Input
close,open,high,low· Outputout - Reference tests in the manifest: 3 (with fixed price data: 500 candles of 1h)
- How a node is built
Version 2026.10.21.23 · Changelog