ClosedBar.DescendingHawk

Calculates the Descending Hawk candle pattern.

Returns: Series<Boolean>

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

123456789
function ClosedBar.DescendingHawk(): (
Uptrend()
and ClosedBar.IsGreen()[1]
and ClosedBar.IsLong()[1]
and ClosedBar.IsGreen()
and ClosedBar.IsLong()
and close[1] > close
and ClosedBar.open > ClosedBar.open[1]
)