Skip to content
StatePath
Tool Atlasinterpretor.candlestick_pattern

Tool

Candlestick Interpretor

interpretor.candlestick_pattern

InterpretorCandlestick

Inputs

infoBundle (untagged)

The candlestick-pattern bundle from a market.candlestick_patterns node: the patterns found on each bar, with their names, directions, kinds, and strengths.

Outputs

Bundle (untagged)

A candlestick.interpreted bundle: a `matched` gate (true when a pattern you care about appeared) plus values like strength, direction, and kind you can tap into filters or order confidence.

Reads the output of a candlestick-pattern detector and turns it into something your strategy can act on: a yes/no gate (did a pattern you care about appear?) plus simple values like the pattern's strength, direction, and kind. Use it to trade only the candlestick patterns you trust, instead of every one the detector finds.

Candlestick Interpretor overview diagrampattern

How it works

Wire the `info` handle from a market.candlestick_patterns node, then pick a mode: match by pattern name, by direction (bullish/bearish), by kind (reversal/continuation/etc.), or by confluence (several patterns at once). It exposes a `matched` gate for filters and signals, and a `strength` value you can feed into order confidence.

Modes

Mode options

By namename_filter

Fires only when one of the specific named patterns in your codes list appears (for example hammer or bullish engulfing).

By name diagramhammer

When to use: Pick this when you trust a short list of named patterns and want to ignore everything else.

By directiondirection_filter

Fires when a pattern of the chosen side appears — bullish, bearish, neutral, or any — regardless of its exact name.

By direction diagrambullish

When to use: Pick this when you only care which way a pattern points, not which specific pattern it is.

By kindkind_filter

Fires when a pattern of the chosen type appears — reversal, continuation, indecision, or false breakout.

By kind diagramreversal

When to use: Pick this when you trade by pattern role (e.g. only reversals at a level) rather than by name.

Confluenceconfluence_filter

Fires only when at least min_pattern_count patterns appear together on the same bar, stacking the evidence.

Confluence diagram3/4

When to use: Pick this when you want a stronger signal that several patterns agree before acting.

Code match mode options

Include (allow-list)include

Treats the codes list as an allow-list: only the patterns you listed can fire the gate.

Include (allow-list) diagramallowed

When to use: Use when you have a short, trusted set of patterns and want everything else ignored.

Exclude (block-list)exclude

Treats the codes list as a block-list: any pattern except the ones you listed can fire the gate.

Exclude (block-list) diagramblocked

When to use: Use when most patterns are fine but you want to mute a few noisy ones.

Direction options

Bullishbullish

Admits only patterns that point up (potential buy setups).

Bullish diagrambull

When to use: Use for long-only entries that should fire on upward patterns.

Bearishbearish

Admits only patterns that point down (potential sell setups).

Bearish diagrambear

When to use: Use for short-only entries that should fire on downward patterns.

Neutralneutral

Admits only sideways / indecision patterns that take no clear side.

Neutral diagramdoji

When to use: Use to detect hesitation (e.g. a doji) for a wait-and-see filter.

Any directionany

Admits patterns of any side — bullish, bearish, or neutral all count.

Any direction diagramany

When to use: Use when direction does not matter and you only want a pattern to be present.

Kinds options

Reversalreversal

Admits reversal patterns that suggest the prior trend is turning.

Reversal diagramreversal

When to use: Use to catch tops and bottoms where price may flip direction.

Continuationcontinuation

Admits continuation patterns that suggest the current trend resumes.

Continuation diagramcontinuation

When to use: Use to add to or join a move you already believe is in force.

Indecisionindecision

Admits indecision patterns (small bodies, long wicks) where neither side wins.

Indecision diagramindecision

When to use: Use to flag pause / balance zones before a possible breakout.

False breakoutfalse_breakout

Admits false-breakout patterns where price pokes past a level then snaps back.

False breakout diagramtrap

When to use: Use to fade traps and trade the reversal after a failed break.

Require trend options

Require uptrendup

Only admits patterns that formed while the prior trend was up.

Require uptrend diagramuptrend

When to use: Use to keep continuation longs in context and skip counter-trend noise.

Require downtrenddown

Only admits patterns that formed while the prior trend was down.

Require downtrend diagramdowntrend

When to use: Use to keep continuation shorts in context and skip counter-trend noise.

Any trendany

Disables the trend check — patterns are admitted no matter the prior trend.

Any trend diagramany

When to use: Use when you do not want to gate on context, just on the pattern itself.

Configuration

modeenum

Picks which test to run: by pattern name, by direction, by kind, or by confluence (a minimum count of patterns).

Choices:name_filterdirection_filterkind_filterconfluence_filter
codesmulti_enum

In name_filter mode, the list of pattern slugs to match; empty means any pattern counts.

code_match_modeenum

Whether the codes list is an allow-list (include) or a block-list (exclude).

Choices:includeexclude
directionenum

In direction_filter mode, which side to admit — bullish, bearish, neutral, or any.

Choices:bullishbearishneutralany
kindsmulti_enum

In kind_filter mode, which pattern types to admit (reversal, continuation, indecision, false_breakout).

Choices:reversalcontinuationindecisionfalse_breakout
min_pattern_countscalar

In confluence_filter mode, how many patterns must appear together for the gate to fire.

min_pattern_count diagram2/4
require_trendenum

Only admit patterns that formed in the matching trend (up, down, or any to disable the check).

Choices:updownany
live_after_last_patternscalar

Off fires only on the pattern's completion bar; on keeps firing on later bars using the last pattern's saved values.

Connects to

Reads from
Feeds into

Examples

  • Filter: only allow long signals when `matched` is true for a bullish engulfing or hammer.
  • Tap `strength` into an ORDER_EXIT confidence input so stronger patterns size up the trade.

Common mistakes

  • Leaving the codes list empty in name_filter mode, which matches any pattern instead of the one you wanted.
  • Forgetting that with `live_after_last_pattern` off, the gate only fires on the exact bar the pattern completes, not on later bars.

See also