Force Index

The Force Index combines price movement and volume to measure the strength of buyers and sellers.

Role in the strategy

SlotAvailableRole
Entry PointNo—
Entry RuleYesFilters entries by the Force Index direction or its zero position.
Exit PointNo—
Exit RuleYesTriggers exits by the Force Index direction or its zero position.

The Force Index produces conditions, not order prices. As an entry rule it is ANDed with the entry point and the other entry rules; as an exit rule it is ORed with the other exit rules. See Indicators for the slot semantics.

Logic rules

The indicator offers the standard oscillator rule set, evaluated on the Force Index value against the fixed 0 / 0 level pair:

RuleLong signal is 1 whenShort signal is 1 when
Force Index risesForce Index rose on the previous barForce Index fell on the previous bar
Force Index fallsForce Index fell on the previous barForce Index rose on the previous bar
Force Index is higher than the Zero lineForce Index is above 0Force Index is below 0
Force Index is lower than the Zero lineForce Index is below 0Force Index is above 0
Force Index crosses the Zero line upwardForce Index crossed above 0 from belowForce Index crossed below 0 from above
Force Index crosses the Zero line downwardForce Index crossed below 0 from aboveForce Index crossed above 0 from below
Force Index changes its direction upwardForce Index formed a valley (down then up)Force Index formed a peak (up then down)
Force Index changes its direction downwardForce Index formed a peak (up then down)Force Index formed a valley (down then up)

Parameters

ParameterTypeDefaultRangePurpose
MA methodselectSimpleSimple, Exponential, Weighted, SmoothedSmoothing method of the Force Index
Periodnumber132 to 1000Smoothing period

Calculation

engine/indicators/indicator-force-index.ts computes the raw Force Index as (Close − Previous Close) × Volume, smoothed by a moving average with the selected method and period. The line is drawn in a separate chart pane. The indicator needs volume data.

Backtesting

  • The rule is evaluated on the previous (closed) bar with the standard dead zone (SIGMA = 0.000001).
  • The indicator contributes only long/short signal arrays — it never changes the entry or exit order price.
  • An entry happens only when the entry point allows the direction and every entry rule passes; an exit happens when the exit point is reached and any exit rule passes.