marubozu

forge.tafunctionSince Forge API 1
Functionpython
forge.ta.marubozu(open: ArrayLike,high: ArrayLike,low: ArrayLike,close: ArrayLike,wick_pct: float = 5.0) -> np.ndarray

Marubozu: a bar with almost no wicks. Found: 1 on a rising bar, -1 on a falling bar.

Parameters

NameTypeDefault
openArrayLike
highArrayLike
lowArrayLike
closeArrayLike
wick_pctfloat5.0

Indicator: Marubozu

Classpython
forge.ta.Marubozu(**inputs: Any) -> None

A bar with almost no wicks, rising or falling.

Inputs

NameTypeDefaultRange
wick_pctfloat50 to 50

body = |close - open|, range = high - low, upper wick = high - max(open, close), lower wick = min(open, close) - low

body > 0, upper wick <= wick_pct / 100 * range and lower wick <= wick_pct / 100 * range

Found: 1 on a rising bar, -1 on a falling bar

A bar whose high equals its low, or that has a missing price, is never part of a pattern. Computed on the prices the bars are drawn with: on Heikin-Ashi or Renko bars those are the built candles.