The Force Index is a volume-based oscillator that measures the strength of bulls and bears by combining price and volume.
Force Index = (Current Close − Previous Close) × Volume
- None (uses raw calculation)
import { ForceIndex } from '../src/force-index';
const fi = new ForceIndex();
const result = fi.nextValue(close, volume);
// result: Force Index valueA single number: the Force Index value for the current input.