three_inside
forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.three_inside(open: ArrayLike,high: ArrayLike,low: ArrayLike,close: ArrayLike,long_body_pct: float = 50.0,allow_equal: bool = True) -> np.ndarrayThree inside: a harami confirmed by the third bar. Found: 1 up, -1 down.
Parameters
| Name | Type | Default |
|---|---|---|
| open | ArrayLike | |
| high | ArrayLike | |
| low | ArrayLike | |
| close | ArrayLike | |
| long_body_pct | float | 50.0 |
| allow_equal | bool | True |
Up: the first two bars are a harami after a fall and the third closes above the first open. Down: a harami after a rise and the third closes below the first open.