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.
Parameters:
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.
Link1: http://www.candlesticker.com/Cs40.asp
Link2: http://www.candlesticker.com/Cs50.asp
AvgBodyHeightPeriod |
|
|
Default Value: 14 | Minimum: 2 | Maximum: 999 |
|
Type: Numeric |
LongBodyRelativeThresh |
|
|
Default Value: 1 | Minimum: 0 | Maximum: 10 |
|
Type: Numeric |
RelativeCloseness |
|
|
Default Value: 0.01 | Minimum: 0 | Maximum: 0.20000000000000001 |
|
Type: Numeric |
UseTrendCondition |
|
|
Default Value: -1 |
|
Type: Boolean |
LongSecondBar |
|
|
Default Value: -1 |
|
Type: Boolean |