OPEN-SOURCE SCRIPT

Ehlers Stochastic CG Oscillator [LazyBear]

By LazyBear
Wizard
Another one from Ehlers.

Ehlers likes the idea behind StochRSI so much, he dedicated a full chapter in his book (linked below) on how stoch works with his "superlative" (his words, not mine) indicators. This is stoch of his CG oscillator.

Standard stochastic oscillator uses fixed period for calculations and does not adjust to the constantly changing market cycle length. Stochastic CG Oscillator does not have such a drawback.

Use this like normal stochRSI osc (Uncheck "Fill Osc/Trigger" option, sample chart below)
snapshot

More info:
- 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

CGcustomehlersindicatorslazybearOscillatorsStochastic Oscillator
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?