Center of Gravity Indicator: How It Works and How to Use It

One of the biggest frustrations with moving averages is the lag: since they're calculated based on past prices, the trend-turn signal always arrives a bit after the move has already started. The Center of Gravity indicator, developed by engineer and analyst John Ehlers, was created precisely to try to reduce that lag, using a concept borrowed from physics to calculate possible turning points with more lead time.
In this article, you'll understand the logic behind the Center of Gravity, how it shows up on the chart, and what type of market it works best in.
The "center of gravity" idea applied to price
In physics, the center of gravity of a set of weights is the point of balance between them. Ehlers adapted this idea to a sequence of prices: instead of calculating a simple average, the indicator gives different weights to each price within the analyzed period, with more recent prices receiving greater weight. The result is a value that behaves like a balance point of the recent move, but reacts faster to changes than a conventional average.
This value is multiplied by −1 and plotted as an oscillator, along with a version of the indicator itself delayed by one period, acting as a signal line — similar to the MACD, but with a different calculation basis.
How to interpret the crossover between the two lines
The most common reading of the Center of Gravity is watching the crossover between the main line and its delayed signal line. When the main line crosses above the signal line, it's interpreted as a possible start of an upward move; when it crosses below, as a possible start of a downward move.
Since the indicator was designed to reduce lag, these crossovers tend to appear a bit earlier than equivalent crossovers calculated with simple moving averages on the same asset — but "a bit earlier" doesn't mean perfect: the indicator also generates false signals, especially in markets with no clear direction.
Where the Center of Gravity works best
Like other indicators created by Ehlers, the Center of Gravity was designed for markets that move in relatively regular cycles, alternating between rises and drops within a range, more than for markets in a strong, prolonged trend. In a sideways asset, oscillating for example between R$ 22.00 and R$ 25.00, the indicator's crossovers tend to coincide more consistently with short-term turns within that range.
In a strong, long-lasting trend, on the other hand, the indicator can generate crossovers against the trend more often, simply because it's trying to anticipate turns in a context that, at that moment, isn't really turning.
Using the Center of Gravity with other tools
Being an anticipatory indicator, the Center of Gravity works best as a complement to a context reading — for example, a longer-term trend indicator, or the visual identification that the asset is actually behaving cyclically and sideways, rather than trending.
Using the indicator alone, without this context filter, tends to generate trades against strong trends, which tend to be the riskiest ones. Combining it with a simple trend check helps filter out much of this lower-quality signal.
Adjusting the calculation period
The Center of Gravity also lets you adjust the number of prices considered in the calculation, similar to a moving average's period. Shorter periods make the indicator even faster to react, but also more prone to generating crossovers within small oscillations, with no real relevance for those trading longer time frames. Longer periods smooth out this reaction, bringing the indicator's behavior closer to that of an average with a bit more lag, but still less than an equivalent simple moving average.
It's worth testing more than one period on the same asset before deciding which to use, checking whether the generated crossovers make sense given the cycles the price has actually formed in the past, not just the theory behind the calculation.
Putting it into practice
On Astron, you can test the Center of Gravity on different assets and observe how it historically behaved during sideways phases and trending phases, which helps decide when to trust its crossovers more or less. Like any anticipatory indicator, it reduces lag, but doesn't eliminate uncertainty: any trade based on it should have a defined stop and account for the real risk of loss.
Practice before you risk. Open your Astron account and test your ideas on the demo account with R$ 10,000 in virtual funds.
Create free account