MOMENTUM & OSCILLATORS

Pretty good oscillator

How far price has stretched from its average, measured in units of its own typical daily move.

spec id: pgolength (default 14)

What does Pretty good oscillator measure?

How far price has stretched from its average, measured in units of its own typical daily move. Around ±3 is a genuinely big stretch for any stock.

How is Pretty good oscillator calculated?

Take today's close minus its 14-candle average, then divide by a 14-candle smoothed true range.

Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.

How do I use Pretty good oscillator in a bot?

In the builder, add an indicator of type pgo (parameters: length, default 14). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.

Related indicators

Or browse all 158 indicators in the full library.

Build a bot that trades on Pretty good oscillator — the first backtest is free.

Run a free backtest