Skip to content

Candlestick patterns

Chart patterns derived from candle shapes and price formations.

About candlestick patterns ​

Candlestick patterns uniquely share a common IReadOnlyList<CandleResult> response type.

CandleResult ​

propertydescription
Timestamp
DateTime
Date from evaluated TBar
Price
decimal?
Price of the most relevant OHLC candle element when a signal is present
Match
Match
Indicates a matching signal type for this candlestick pattern
Candle
CandleProperties
Characteristics of the candle body and wicks

Match ​

When a candlestick pattern is recognized, it produces a matching signal. In some cases, an intrinsic confirmation is also available after the signal. In cases where previous bars were used to identify a pattern, they are indicated as the basis for the signal. This enum can also be referenced as an int value. Documentation for each candlestick pattern will indicate whether confirmation and/or basis information is produced.

enum / valuedescription
Match.BullConfirmed
200
Confirmation of a prior bull signal
Match.BullSignal
100
Bullish signal
Match.BullBasis
10
Bars supporting a bullish signal
Match.Neutral
1
Signal for non-directional patterns
Match.None
0
No match
Match.BearBasis
-10
Bars supporting a bearish signal
Match.BearSignal
-100
Bearish signal
Match.BearConfirmed
-200
Confirmation of a prior bear signal

CandleProperties ​

The CandleProperties record class extends the basic Bar type with calculated properties.

propertydescription
Timestamp
DateTime
Close date
Open
decimal
Open price
High
decimal
High price
Low
decimal
Low price
Close
decimal
Close price
Volume
decimal
Volume
Size
decimal?
High-Low
Body
decimal?
|Open-Close|
UpperWick
decimal?
Upper wick size
LowerWick
decimal?
Lower wick size
BodyPct
double?
Body/Size
UpperWickPct
double?
UpperWick/Size
LowerWickPct
double?
LowerWick/Size
IsBullish
bool
Close>Open direction
IsBearish
bool
Close<Open direction