OPEN-SOURCE SCRIPT

John F. Ehlers Center Of Gravity Balanced by [DM]

Greetings to all colleagues.
I share this indicator turned into a strategy, (this is one of my first strategies so some inputs are missing and others are somewhat archaic)
this cog is formed by three signals which can be reduced by dividing by phi

  • Available settings:
  • Length setting for signal
  • Trigger parameter setting for strategy
  • stoploss settings
  • trailing stop settings
  • tp settings


I hope it fuels your curiosity

The Center of Gravity (COG) indicator is a technical indicator developed by John Ehlers in 2002, used to identify potential turning points in the price as early as possible. In fact, the creator John Ehlers claims zero lag to the price, and the smoothing effect of the indicator helps to spot turning points clearly and without distractions.
Centered OscillatorscenterofgravityCOGjohnehlersOscillators

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?


Also on:

Disclaimer