CG Oscillator

CG (Center of Gravity) Oscillator uses the algorithm from John Ehlers’ book “Cybernetics Analysis for Stock and Futures“. Ehlers CG Indicator has substantial advantages than other standard oscillators because it is both smoothed and has essentially zero lag.

Ehlers Center of Gravity Formula

Prices from those N days are imagined as weights placed on a beam, equally spaced, and the CG oscillator is then the balance point or centre of gravity along that beam. If p1 is today’s price, p2 yesterday’s, etc, then the formula is

            1*p[1] + 2*p[2] + ... + N*p[N]
 CG = - ------------------------------------
                p[1] + p[2] + ... + p[N]

CG Oscillator


  • File: Ehlers CG.mq4
  • Size: 3 Kb
CG Oscillator posted by is rated 5 / 5 on 1310 reviews.

Leave a Reply

Your email address will not be published. Required fields are marked *

Protected by WP Anti Spam