piercing
forge.ta.piercing(open: ArrayLike,high: ArrayLike,low: ArrayLike,close: ArrayLike,long_body_pct: float = 50.0,penetration: float = 0.5) -> np.ndarrayPiercing line: a rise that closes deep into the previous fall. Found: 1.
Parameters
| Name | Type | Default |
|---|---|---|
| open | ArrayLike | |
| high | ArrayLike | |
| low | ArrayLike | |
| close | ArrayLike | |
| long_body_pct | float | 50.0 |
| penetration | float | 0.5 |
The first bar falls with a long body, the second opens at or below its close and closes at least
penetration of the first body above that close, still below the first open.
forge.ta.Piercing(**inputs: Any) -> NoneA rise that closes deep into the previous fall.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| long_body_pct | float | 50 | 0 to 100 |
| penetration | float | 0.5 | 0 to 1 |
body = |close - open|, range = high - low, upper wick = high - max(open, close), lower wick = min(open, close) - low
the first bar falls with a long body; the second rises, opens at or below the first close and closes at or above first close + penetration * first body, below 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.