MOMENTUM & OSCILLATORS

Psych line

Crowd mood as a plain percentage: what share of recent candles closed up.

spec id: psllength (default 12)

What does Psych line measure?

Crowd mood as a plain percentage: what share of recent candles closed up. Above ~75 is a lot of optimism; below ~25 a lot of gloom.

How is Psych line calculated?

Count how many of the last 12 candles closed higher than the one before, and divide by 12.

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

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

Run a free backtest