Separating Lines


Function Name: separating_lines

Tags: None

Category: Candlestick, Pattern

The bullish separating lines are such that the first day is a black day and the next day is a white day. The key to the second day is that the issue has the same opening price as day one. The bearish separating lines pattern is the exact opposite of the bullish separating lines pattern

Recognition Criteria:

1. Market is characterized by an uptrend (downtrend).

2. We see a long black (white) candlestick in the first day.

3. Then we see that the second day has the same opening price as the first day, or extremely close to it.

4. The second day pattern is a White (Black) Opening Marubozu.

If all conditions are met, then Bullish (Bearish) Separating Lines are signaled.



AvgBodyHeightPeriod: Number of previous bars averaged to form a baseline body size.

LongBodyRelativeThresh: Baseline multiplier that produces the final threshold for minimum size of a long body.

RelativeCloseness: Maximum relative difference between first and second day open, expressed relative to first bar's body length.

UseTrendCondition: If false, then 1st recognition criterion is not checked.

LongSecondBar: If true, then second bar's body length is also compared with the long body threshold.








Default Value: 14  |  Minimum: 2  |  Maximum: 999


Type: Numeric



Default Value: 1  |  Minimum: 0  |  Maximum: 10


Type: Numeric



Default Value: 0.01  |  Minimum: 0  |  Maximum: 0.20000000000000001


Type: Numeric



Default Value: -1


Type: Boolean



Default Value: -1


Type: Boolean