OPEN-SOURCE SCRIPT

Ehlers Center of Gravity Oscillator [LazyBear]

By LazyBear
Wizard
As part of my "Ehler's Indicators week", here's one more.

CG Oscillator, by John Ehlers, provides a smoothed, essentially zero lag oscillator for identifying market turning points. The "CG" in the name of the oscillator refers to "Center Of Gravity" of the prices over the window of observation.

Entry/Exit are based on the osc/signal crossovers. Enabling the "Color bars" options helps in easily identifying crossovers.

More info:
- CG osc (pdf): mesasoftware.com/papers/TheCGOscillator.pdf
- TASC Article: traders.com/Documentation/FEEDbk_docs/2002/05/Abstracts_new/Ehlers/ehlers.html
- Cybernetic Analysis for Stocks and Futures (Ehlers, 2004)

List of my public indicators: bit.ly/1LQaPK8
List of my app-store indicators: blog.tradingview.com/?p=970


CGcustomehlersindicatorslazybearOscillators
LazyBear
Wizard
List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer