marubozu
forge.tafunctionSince Forge API 1
Functionpython
forge.ta.marubozu(open: ArrayLike,high: ArrayLike,low: ArrayLike,close: ArrayLike,wick_pct: float = 5.0) -> np.ndarrayMarubozu: a bar with almost no wicks. Found: 1 on a rising bar, -1 on a falling bar.
Parameters
| Name | Type | Default |
|---|---|---|
| open | ArrayLike | |
| high | ArrayLike | |
| low | ArrayLike | |
| close | ArrayLike | |
| wick_pct | float | 5.0 |
Classpython
forge.ta.Marubozu(**inputs: Any) -> NoneA bar with almost no wicks, rising or falling.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| wick_pct | float | 5 | 0 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.