ClosedBar.HomingPigeon

Calculates the Homing Pigeon candle pattern.

Returns: Series<Boolean>

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

123456789
function ClosedBar.HomingPigeon(): (
Downtrend()
and ClosedBar.IsRed()[1]
and ClosedBar.IsLong()[1]
and ClosedBar.IsRed()
and ClosedBar.IsLong()
and close[1] < close
and ClosedBar.open < ClosedBar.open[1]
)