OPEN-SOURCE SCRIPT

Ehlers Adaptive CG Indicator [LazyBear]

By LazyBear
Wizard
Lets go with another adaptive indicator today. BTW, this is my 199th script (1 more and I am planning to work on my other backlogs).

This is the adaptive version of Ehlers' Center Of Gravity (CG) (already published, check "More info" below). Idea behind making something "adaptive" is to calculate it using dynamic cycle period inputs instead of static setting. In adaptive CG, Ehlers uses the dominant cycle period as the length in computation of alpha.

According to Ehlers this should be more responsive than the non-adaptive version. Buy and sell signals should often occur one bar earlier than for the non-adaptive version.

I have the usual options in place. Check out plain CC for comparison.

Here's a quick comparison between CG and Adaptive CG:
snapshot

More info:
- Ehlers CG Oscillator:
Ehlers Center of Gravity Oscillator [LazyBear]

- Cybernetic Analysis for Stocks and Futures (Ehlers)

List of my public indicators: bit.ly/1LQaPK8
List of my app-store indicators: blog.tradingview.com/?p=970
adaptiveCGcustomehlersindicatorslazybearOscillators
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