Gravestone doji
A doji that opens and closes near its low.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| body_pct | float | 5 | 0 to 50 |
| wick_pct | float | 10 | 0 to 50 |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| gravestone_doji | event | Optional | color_down theme.down, color_up theme.up, shape diamond, style marker, where above_bar |
- Warm-up
- 0 bars (0 at the defaults)
- Repaints
- No
- Parity
- None
Formula
body = |close - open|, range = high - low, upper wick = high - max(open, close), lower wick = min(open, close) - low
a doji, and lower wick <= wick_pct / 100 * 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.