morning_star
forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.morning_star(open: ArrayLike,high: ArrayLike,low: ArrayLike,close: ArrayLike,long_body_pct: float = 50.0,star_body_pct: float = 30.0,penetration: float = 0.3) -> np.ndarrayMorning star: a long fall, a small star, then a rise into the fall. Found: 1.
Parameters
| Name | Type | Default |
|---|---|---|
| open | ArrayLike | |
| high | ArrayLike | |
| low | ArrayLike | |
| close | ArrayLike | |
| long_body_pct | float | 50.0 |
| star_body_pct | float | 30.0 |
| penetration | float | 0.3 |
The first bar falls with a long body. The star's body is at most star_body_pct percent of
the first body and does not rise above the first close. The third bar rises and closes at least
penetration of the first body above the first close. The star may open at the first close:
no gap is required.