Elder force index

How the Elder force index smooths the change of the close times the volume, so that a big move on a big volume weighs the most, and how to use it in a QTSurfer strategy.

The Elder force index, by Alexander Elder, smooths the change of the close times the volume: a big move on a big volume weighs the most. It is drawn around zero.

Try it on a series below and change the period.

The series are samples, synthetic ones and real crypto ones. They show how the indicator behaves, not what it earns. The line is computed in your browser by the engine’s own indicator class, so it is the line a strategy reads.

What it computes

force = (close − previous close) × volume
EFI   = EMA(force, N)

The average starts on the first force. The first value is on update N + 1, and the chart draws from there. The volume is the one of the bars of the series; the real ones carry the exchange’s volume.

Reading it

  • Above zero the buyers have the force, below it the sellers. On a straight rise of 1 per bar with a volume of 50 it reads 50, and on a straight fall −50.
  • Its scale is price times volume, so it does not compare between instruments: it goes from −199,679,272 to 65,155,699 on the daily BTC/USDT and from −1,060,728 to 21,355 on the 15-minute ETH/USDT.
  • It is positive on 37 % to 47 % of the bars of the real series of the chart.

In a strategy

uses pro.elderForceIndex
setup:
  elderForceIndex(13)

elderForceIndex(13) registers efi13. In Java the class is ElderForceIndexRTIndicator, in com.wualabs.qtsurfer.engine.indicators.volume.pro, and a group takes it with indicators.add("efi13", new ElderForceIndexRTIndicator(13)).

This is a pro indicator: it comes with the Pro and Elite plans, and a strategy brings it in with a uses line (see the QTScript guide). It reads whole bars, so it belongs in a kline strategy.

The period is a parameter, so a parameter sweep can explore it, and walk-forward analysis tells you whether what it found holds outside the sample, which is the defence against overfitting.