HangingMan
forge.taclassSince Forge API 1
Signaturepython
forge.ta.HangingMan(**inputs: Any) -> NoneA long lower wick after a rise.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| wick_mult | float | 2 | 0 to 10 |
| opposite_pct | float | 25 | 0 to 100 |
| body_zone_pct | float | 33.3 | 1 to 100 |
| trend_bars | int | 3 | 1 to 50 |
body = |close - open|, range = high - low, upper wick = high - max(open, close), lower wick = min(open, close) - low
lower wick >= wick_mult * body, upper wick <= opposite_pct / 100 * range, the body inside the top body_zone_pct of the range, and after a rise: close[i-1] > close[i-1-trend_bars]
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.