MOMENTUM & OSCILLATORS

Elder ray

How far buyers can push above the trend, and how far sellers can push below it.

spec id: elder_rayoutputs: bull · bearlength (default 13)

What does Elder ray measure?

How far buyers can push above the trend, and how far sellers can push below it. The classic read is a `bear` reading that is negative but rising during an uptrend.

How is Elder ray calculated?

Take a 13-candle exponential average of the close as the trend line. `bull` is the candle's high minus that line; `bear` is the candle's low minus it.

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

In the builder, add an indicator of type elder_ray (parameters: length, default 13). Its output series — bull, bear — become operands 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 Elder ray — the first backtest is free.

Run a free backtest