ClosedBar.DarkCloudCover

Calculates the Dark Cloud Cover candle pattern.

Returns: Series<Boolean>

ClosedBar.DarkCloudCover is a built-in function - you can use it directly. Below is an example implementation:

12345678910
function ClosedBar.DarkCloudCover(): (
Uptrend()
and ClosedBar.IsGreen()[1]
and ClosedBar.IsLong()[1]
and ClosedBar.IsRed()
and ClosedBar.IsLong()
and close <= ClosedBar.MiddlePoint()[1]
and close > ClosedBar.open[1]
and high[1] < ClosedBar.open
)