three_white_soldiers
forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.three_white_soldiers(open: ArrayLike,high: ArrayLike,low: ArrayLike,close: ArrayLike,wick_pct: float = 20.0) -> np.ndarrayThree white soldiers: three rising bars, each opening inside the last body. Found: 1.
Parameters
| Name | Type | Default |
|---|---|---|
| open | ArrayLike | |
| high | ArrayLike | |
| low | ArrayLike | |
| close | ArrayLike | |
| wick_pct | float | 20.0 |
Indicator: Three white soldiers
Each close is above the one before, each of the second and third bars opens within the body of
the bar before, and each upper wick is at most wick_pct percent of its bar's range.