Doji

Description

Doji is a candlestick pattern which is a candle of specific shape: its Open price is equal (or almost equal) to the Close price. The candle is considered Doji if the difference between its Open and Close prices does not exceed average body height multiplied by the specified factor.

Input Parameters

Parameter Description
length The number of bars used to calculate the average body height.
body factor The factor used when checking if a candle is Doji. A candle is considered Doji if its body height is lower than the average multiplied by this factor.

Plots

Plot Description
Doji The Doji candlestick pattern.