# Dark cloud cover

`dark_cloud_cover`

A fall that closes deep into the previous rise.

## Inputs

| Name | Type | Default | Range |
| --- | --- | --- | --- |
| long_body_pct | float | 50 | 0 to 100 |
| penetration | float | 0.5 | 0 to 1 |

## Outputs

| Name | Kind |
| --- | --- |
| dark_cloud_cover | event |

Warm-up: 1 bars (1 at the defaults).

Repaints: No.

## Formula

body = |close - open|, range = high - low, upper wick = high - max(open, close), lower wick = min(open, close) - low

the first bar rises with a long body; the second falls, opens at or above the first close and closes at or below first close - penetration * first body, above the first open

Found: -1

A bar whose high equals its low, or that has a missing price, is never part of a pattern. Computed on the prices the bars are drawn with: on Heikin-Ashi or Renko bars those are the built candles.
