# forge.ta.doji

```python
forge.ta.doji(open: ArrayLike, high: ArrayLike, low: ArrayLike, close: ArrayLike, body_pct: float = 5.0) -> np.ndarray
```

Doji: a bar whose body is tiny against its range. Found: 1.

The body is at most ``body_pct`` percent of the bar's high to low range.

Since Forge API 1.

## Class forge.ta.Doji

```python
forge.ta.Doji(**inputs: Any) -> None
```

A bar whose body is tiny against its range.

body = |close - open|, range = high - low, upper wick = high - max(open, close), lower wick = min(open, close) - low

body <= body_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.

Since Forge API 1.
