TradingView
veryfid
28 juin 2021 05:11

Center Of Gravity Oscillator 

Description

The COG Oscillator (center of gravity) is an indicator based on statistics and the Fibonacci golden ratio. It uses ALMA as a trigger and LSMA as "zero line". The trigger is set tight by default but can be tweaked by adjusting the window size and sigma in settings. This is a great indicator for setting up trades and spotting reversals. There are 2 main strategies that come with this indicator:


Strategy 1: Long positions are entered when current low point is higher than previous low. Short positions are entered as current high is lower than previous high. (Shown in image above)


Strategy 2 : If market is bullish long trades are entered as COG line crosses over red LSMA line. Traders have the option of scalping the first crossover or even scaling out of trade to close on second exit. This works the opposite for shorts when market is bearish.


Above shows different configurations of the indicator. Top shows length of 50, Middle has length of 21 and bottom is default 9.

Notes de version

Added some extra features that can be turned on in settings:
- Fibonacci Levels
- RMA smoothing
- High/Low levels
- Price line (helps identify price breaking previous high/low)

Notes de version

Added 2 new themes : Fibonacci and Fibonacci 2

Notes de version

Added "clean" theme. This theme is the same settings I use, cog length: 9, smoothing on with smoothing length: 9. It also uses SMA as the trigger.Sometimes I also use cog length: 50 to find more significant pivots.
Commentaires
brottman
This indicator is hands down the best indicator on Trading View
veryfid
@brottman, Hi thanks! Have you checked out Boom Hunter Pro?
brottman
@veryfid, I have, but I prefer the clean look of COG. That and I don't fully understand Boom Hunter Pro. I've gotten very in-tune with COG and it's helped my chart reading skills.
veryfid
@brottman, In my opinion COG is the best indicator for reading charts and its great to hear you are comfortable with it. Boom hunter pro uses COG with filters. It works as a short term COG to highlight bottoms and tops. In my opinion it is by far the best indicator for finding entries, exits and riding trends.
Check out these incredible entries:
brottman
@veryfid, I will definitely have to spend more time with it. Thanks for all your amazing Indicators!
veryfid
@brottman, It is definitely worth the time. It the most profitable indicator I have made and has the highest success rate too. Thanks for the comments and good luck!
peradam
@veryfid, I agree. I love COG, but Boom is on point about 80% of the time - which is incredible. Still, never rely on one indicator, or tool, but having this one in the wheelhouse feels like having cheat codes.
veryfid
@peradam, I agree that you should never rely on one indicator. One indicator gives one point of view, it is important to have the right tools for the job.
Amirtech2005
I wish this Oscillator was available in ThinkOrSwim as well.
apdusp
@Amirtech2005, #VM_Ehlers_COG

#by growex

declare lower;

input Price = hl2;

Input Length = 10;

def Num = fold i=0 to length -1 with n = 0 do

n + (1 + i)*getvalue(price,i,length-1);

def Denom = fold j=0 to length -1 with k = 0 do

k + getvalue(price,j,length-1);

Def CG = if denom <> 0 then -Num/Denom else double.NaN;

plot cgline = cg;

plot trigger = cgline[1];
Plus