MOMENTUM & OSCILLATORS

Bias

How far price has run away from its own average, as a percentage.

spec id: biaslength (default 26)

What does Bias measure?

How far price has run away from its own average, as a percentage. Big positive readings mean the stock is stretched above trend; big negative ones, stretched below.

How is Bias calculated?

Take the 26-candle simple average of the close, subtract it from today's close, and express the difference as a percentage of that average.

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 Bias in a bot?

In the builder, add an indicator of type bias (parameters: length, default 26). 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 Bias — the first backtest is free.

Run a free backtest