Center of Gravity oscillator

Center of Gravity oscillator provides precise and accurate indications of market corrections with almost zero lag. John Ehler's research on adaptive filters led to the development of this indicator, which was published in Stocks & Commodities magazine 2002.

How to trade using the Center of Gravity oscillator

The Center of Gravity oscillator is similar to the stochastic oscillator, but it has no overbought or oversold areas. It can be used with any currency pair and time frame.

The indicator draws two signal lines: red and blue. The indicator's main signal is the crossing of these lines. -If the red line crosses over the blue one at the topside, we can expect a bullish correction. If the red line crosses over the blue at the topside, we could expect a bearish correction.

Signal divergence can also occur in the Center of Gravity oscillator. If the price forms lower highs or lows, but the Center of Gravity oscillator is trending higher, it signals a divergence signal. We can expect a shift to bullish overall.

Similar to the previous example, if the price keeps forming higher highs/lows, but the Center of Gravity oscillator continues to trend lower, then we can expect a general trend to become bearish. The graph below shows both of these examples.


CG = -1*NUM/DEN NUM = int (n, i = 0) DEN = int (n, i = 0) , where PRICE = the price i bar (bars) back; PRICE = the current bar price; PRICE = the price 2 bars back.

Want to trade forex using center of gravity oscillator indicator with a regulated exchange? Open a live account with AtoZ Markets approved Forex brokers:

Multibank Review
eToro Review
4.8/5 Review

How to Download and Install Center of Gravity oscillator

How to install your indicator on MT4 platform:

1. Click on Download button below;

2. Save the file to your computer;

3. Move the .ex4 file into the following folder : meta traderexpertsindicators;

4. Restart your Metatrader platform;

5. Click the “Indicators” button in Metatrader toolbar;

6. Select “Custom”;

7. Search and select “Center of Gravity”;

8. Adjust settings or press OK to add the indicator to your selected chart;

Note: Center of Gravity oscillator is developed by John Ehler and was sent by an AtoZ Markets follower from the United States, Mark. AtoZ Markets does not carry any copyrights over this trading tool.

Should you trade Forex using Center of Gravity oscillator on your own at all?

Before you start trading Forex with this indicator, you'll want to read this.

Our in-house trading expert Dr Yury Safronau, PhD in Economic Sciences, gives you daily his best forex, metals, and cryptocurrencies to buy and sell signals right now.



His trading strategies which are based on non-linear dynamic models have achieved more than 65 000 pips of profits since 2015. And right now there are some very strong buy and sell signals across several markets you don't want to miss.

Want to see which ones?


Get Trading Opportunities
  1. Valkje says:

    CG = -1*NUM/DEN NUM = int (n, i = 0) DEN = int (n, i = 0) , where PRICE = the price i bar (bars) back; PRICE = the current bar price; PRICE = the price 2 bars back.

    This formula makes no sence. There is no Price in the formula, so why explain Price? Also, Price = a, Price=b, Price = c ... now, what is it?
    Things that ARE in the formula are not explained... such as NUM and DEN...


Leave a Reply

Your email address will not be published.