Marubozu is a candlestick pattern which is a candle of specific shape: long and missing both shadows. The color of this candle can signify the further trend direction (bullish Marubozu anticipates the uptrend and bearish Marubozu is often seen before the downtrend).
Input Parameters
Parameter
Description
length
The number of bars used to calculate the average body height. If the body height of a candle exceeds this average, it is considered long.