Skip to content

CDLMARUBOZU

Summary

Single candle with a long real body and no/very-short upper and lower shadows, so open and close sit at the range extremes. Bullish (white) or bearish (black) reversal/strength signal per the body color. +100 = white marubozu (strong buying pressure); -100 = black marubozu (strong selling pressure).

Formula

One candle at i. Match when: realbody(i) > BodyLong average AND upperShadow(i) < ShadowVeryShort average AND lowerShadow(i) < ShadowVeryShort average. If matched emit candlecolor(i)*100 (+100 white when close>=open, -100 black when close<open); else 0.

Inputs

  • inPriceOHLC — Open, High, Low, Close price series

Outputs

  • outInteger — +100 on a white (bullish) marubozu, -100 on a black (bearish) marubozu, 0 when no pattern. Sign follows the candle color

Implementation

TA-Lib Definition: cdlmarubozu.c · cdlmarubozu.yaml

Native File
C ta_CDLMARUBOZU.c
Rust cdlmarubozu.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Marubozu, Shaven Head/Bottom

See Also

CDLCLOSINGMARUBOZU · CDLLONGLINE · CDLBELTHOLD