ThreeWhiteSoldiers
forge.taclassSince Forge API 1
Signaturepython
forge.ta.ThreeWhiteSoldiers(**inputs: Any) -> NoneThree rising bars, each opening inside the last body.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| wick_pct | float | 20 | 0 to 100 |
Indicator: Three white soldiers
body = |close - open|, range = high - low, upper wick = high - max(open, close), lower wick = min(open, close) - low
three rising bars with each close above the one before; each of the second and third opens within the body of the bar before; each upper wick <= wick_pct / 100 * its bar's range
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.