This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
The Center of Gravity function originated from a John Ehler's article published in May 2002 in the Stock and Commodities magazine. It was derivated from the Finite Impulse Response Filter formula, which constituted one of Ehler's researches undoubtedly inspired from digital signal processing.
The main goal for COG is not to detect the trend tendency, but rather to identify pivoting points for a given signal by comparing them to their COG function.
While some trading indicators such as SMA and WMA constitute particular cases of Ehler's FIR. (In fact, SMA is an FIR in which all coefficients have the same value and WMA an FIR in which the daily price change is weighted through the filter length). COG may be viewed as the inversed formula of Ehler's FIR in which the prices become the coefficients and the bar differences take the place of prices instead of that of coefficients.
The COG function you can get here is named 'center_of_gravity'. It takes the filter period as a parameter. Its result consists in the division of the sum of the daily prices for N bars back weighted by the bar differences relatively to the current day, by the price sum for the same period.
>>>> More trading objects? click here to search for trading sytems, downloaders, screens, custom drawing tools, indicators... by country, market or style.