Candle patterns reference
All 11 candle patterns in AlgoBarsX, each with its parameters, defaults, ranges and an example: engulfing, hammer, shooting_star, doji, pin_bar, inside_bar, outside_bar, morning_star, evening_star, three_soldiers and 1 more.
engulfing hammer shooting_star doji pin_bar inside_bar outside_bar morning_star evening_star three_soldiers three_crows
engulfing(direction = both, on = bars())→ series<bool>#
Bullish or bearish engulfing candle.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
direction | string | both | up, down or both. |
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = engulfing()strategyindicatoralertlibrarysince 1.0
hammer(on = bars())→ series<bool>#
Hammer candle.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = hammer()strategyindicatoralertlibrarysince 1.0
shooting_star(on = bars())→ series<bool>#
Shooting star candle.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = shooting_star()strategyindicatoralertlibrarysince 1.0
doji(max_body = 10%, on = bars())→ series<bool>#
Doji candle.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
max_body | percent | 10% | Largest body as a share of the range. |
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = doji()strategyindicatoralertlibrarysince 1.0
pin_bar(min_wick = 66%, on = bars())→ series<bool>#
Pin bar.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
min_wick | percent | 66% | Smallest wick as a share of the range. |
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = pin_bar()strategyindicatoralertlibrarysince 1.0
inside_bar(on = bars())→ series<bool>#
Bar inside the previous bar.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = inside_bar()strategyindicatoralertlibrarysince 1.0
outside_bar(on = bars())→ series<bool>#
Bar engulfing the previous bar.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = outside_bar()strategyindicatoralertlibrarysince 1.0
morning_star(on = bars())→ series<bool>#
Morning star, three bars.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = morning_star()strategyindicatoralertlibrarysince 1.0
evening_star(on = bars())→ series<bool>#
Evening star, three bars.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = evening_star()strategyindicatoralertlibrarysince 1.0
three_soldiers(on = bars())→ series<bool>#
Three white soldiers.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = three_soldiers()strategyindicatoralertlibrarysince 1.0
three_crows(on = bars())→ series<bool>#
Three black crows.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
on | BarSet | bars() | Bars to calculate on; defaults to the script's own bars. |
signal = three_crows()strategyindicatoralertlibrarysince 1.0