> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/reference/grid-language/indicators/percentage-price-oscillator.md).

# Percentage Price Oscillator

ppo() calculates the Percentage Price Oscillator from candles and returns the PPO line, signal line and histogram.

Explore how the Percentage Price Oscillator in Origami Tech tracks the difference between moving averages to gauge market momentum.

## Percentage Price Oscillator

`ppo(candles: List[[Candle]], fast: int = 12, slow: int = 26, signal: int = 9, column: str = "close") -> List[PPO]`

where `PPO` this is object with fields: `ppo`, `signal`, `histogram`
