An array, because unlike the single-candle shapes these do not compete.
A doji and a spinning top are the same statement at two strictnesses, so
only the narrower is worth making; an engulfing and a tweezer bottom are
two different facts — one about the bodies, one about the shared low — and
a pair can honestly be both. They are returned in a fixed order so the
announcement does not depend on how the tests happen to be written.
What the pairs cannot collide on is direction: bullish engulfing needs the
close above the previous open and piercing needs it below, which is #735's
"does not fully engulf" written as arithmetic, and the bearish two mirror
it. A tweezer bottom and a tweezer top would need the earlier candle to be
both bearish and bullish.
The prior-trend qualifier #735 and #736 mention as desirable is not
applied. "After a downtrend" needs a definition of trend — how many candles
back, and how much of a fall counts — that the chart does not state, and
inventing one would silence real patterns on a reader's behalf by a rule
they cannot see. The geometry each request specifies is what is tested.
Names every two-candle pattern a pair satisfies.
An array, because unlike the single-candle shapes these do not compete. A doji and a spinning top are the same statement at two strictnesses, so only the narrower is worth making; an engulfing and a tweezer bottom are two different facts — one about the bodies, one about the shared low — and a pair can honestly be both. They are returned in a fixed order so the announcement does not depend on how the tests happen to be written.
What the pairs cannot collide on is direction: bullish engulfing needs the close above the previous open and piercing needs it below, which is #735's "does not fully engulf" written as arithmetic, and the bearish two mirror it. A tweezer bottom and a tweezer top would need the earlier candle to be both bearish and bullish.
The prior-trend qualifier #735 and #736 mention as desirable is not applied. "After a downtrend" needs a definition of trend — how many candles back, and how much of a fall counts — that the chart does not state, and inventing one would silence real patterns on a reader's behalf by a rule they cannot see. The geometry each request specifies is what is tested.