Combines price direction, the size of the move, and volume into one line that oscillates around zero.
The Force Index is a volume-based oscillator developed by Alexander Elder and introduced in his 1993 book Trading for a Living. It tries to capture the "force" behind a price move by combining three things: the direction of the move (up or down), the size of the move, and the volume traded. The result is a single line that swings above and below a zero center line. For the raw, single-bar calculation, a reading above zero means the bar closed higher than the previous close, weighted by that bar's volume, while a reading below zero means it closed lower. The raw calculation is noisy, so most charting platforms apply an exponential moving average to it — a short EMA (often 2) for a fast, sensitive version, and a longer EMA (often 13) for a smoother view; note that once the line is smoothed, its sign reflects recent net force rather than the direction of any single close. It is an educational analysis tool, not a trading signal, and like all indicators it describes past data rather than predicting future prices. Trading carries risk of loss.
The raw Force Index for a single bar is: (current close − previous close) × volume. When price closes up, the value is positive; when it closes down, the value is negative; a bigger price change or higher volume makes the value larger in magnitude. Because that raw line jumps around a lot, it is almost always smoothed with an exponential moving average. A 13-period EMA of the Force Index is the most commonly cited setting — Elder recommended it — and is used to gauge the longer-term picture, while a 2-period EMA gives a much more responsive line that some traders use to study short-term shifts. The zero line is the natural reference point: it separates net positive force (up closes weighted by volume) from net negative force (down closes weighted by volume).
A 13-period EMA of the Force Index is the most widely cited setting for the longer-term view (the value Elder recommended), and a 2-period EMA for a fast, sensitive short-term view. The zero line is the standard reference. Many traders display both the 2 and 13 versions together.
//@version=6
indicator("Force Index", overlay = false)
length = input.int(13, "EMA Length", minval = 1)
// Raw Force Index: price change weighted by volume
rawFI = (close - close[1]) * volume
// Smoothed with an EMA (educational display only)
fi = ta.ema(rawFI, length)
plot(fi, "Force Index", color = color.blue)
hline(0, "Zero Line", color = color.gray, linestyle = hline.style_dashed)Pro tip: Because Force Index values are not comparable between instruments or across different volume regimes, traders typically read it relative to its own recent history on the same chart — its swings and zero-line crossings — rather than judging an absolute number as "high" or "low." None of this is advice to act on.
Educational only — not financial advice, not a recommendation to trade. No indicator is predictive; trading involves substantial risk of loss.