Elder Ray
How far the high and low reach beyond an exponential average: buying and selling power.
Elder ray: bull power = high − EMA(x, period), bear power = low − EMA(x, period), in price. Ready at period candles. Mirror: bull and bear power swap and the comparison flips (bull > 0 becomes bear < 0).
Settings
| Setting | Default | Range | What it does |
|---|---|---|---|
| period | 13 | 1 to 500 | EMA period. |
What it gives
| Output | What it is |
|---|---|
| Bull power | Bull power: high − EMA. |
| Bear power | Bear power: low − EMA. |
What it reads
It reads open, high, low, close, hl2, hlc3, ohlc4, hlcc4, close by default.
Warm-up
With its default settings, Elder Ray needs 52 closed candles before its first value. A backtest loads them before its start date, so the first trade can already use it.
Test it
Copy this sentence into the Algonney chat to backtest it:
Backtest a strategy on BTC that uses Elder Ray with its default settings