The ForceIndex is a technical indicator used in financial markets to measure the strength of buying and selling pressure. It combines price movements with volume and can help identify potential reversals or confirm trends.
ForceIndex(price)
The Force Index is calculated using the formula:
Force Index = (Today's Close - Yesterday's Close) * Volume
To calculate the Force Index for a stock using its closing price, you can use the following code:
myForceIndex = ForceIndex(close)
To smooth out daily fluctuations and highlight longer-term trends, it is common to apply a moving average to the Force Index, such as the Wilder moving average.
This indicator is particularly useful in confirming trends and spotting reversals through divergence analysis, making it a valuable tool for traders analyzing market dynamics.