MOMENTUM & OSCILLATORS

Williams %R

A 0 to −100 meter for where the close sits in the recent range.

spec id: willrlength (default 14)

What does Williams %R measure?

A 0 to −100 meter for where the close sits in the recent range. Near 0 means it closed at the top of it; near −100, at the bottom.

How is Williams %R calculated?

Find the highest high and the lowest low of the last 14 candles, and measure how far below that high today's close landed, as a share of the full range — reported as a negative number.

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 Williams %R in a bot?

In the builder, add an indicator of type willr (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 Williams %R — the first backtest is free.

Run a free backtest