Open main menu

Definition

The C_MornDoji_EveDoji indicator identifies the occurrence of two candlestick patterns: Morning Doji Star and Evening Doji Star, and marks the bars with these patterns. For more info about Doji pattern check here.

A doji is a name for a session in which the candlestick for a security has an open and close that are virtually equal and are often components in patterns.

The Morning Doji Star pattern is composed of three candles:
1. a long red candle (its body needs to be larger than the average body);
2. Doji candle that gaps lower and forms the star;
3. a green candle that closes will into the real body of the first candle.

The Evening Doji Star is also composed of three candles:
1. a long green candle (its body needs to be larger than the average body);
2. Doji candle that gaps lower and forms the star;
3. a red candle that closes will into the real body of the first candle.

Default Inputs

Length sets the number of bars used to calculate the average body, 14 by default.

Percent sets the Doji boundaries for the (open - close) as a percent of the bar range, 5 by default.