Hey i just wanted to share the center of gravity i re-coded and fixed yesterday. It's the original from Ehlers. The ones i've found everywhere did not seem right to me!so here you go.
A compilation of many Moving Averages in a single indicator. You can select from:
SMA, simple
EMA, exponential
WMA, weighted
DEMA, double exponential
HMA, Hull
T3,
TEMA, triple exponential
TMA, triangular
VMA, variable
VWMA, volume weighted
ZLEMA, zero lag exponential
This is the 1.0 version of a general framework with exits to use with every kind of strategy. The main idea is that the trade exits, in general, are very simililar, so we can divide, modularize and reuse the exits. The same idea is applied to position sizing and signal tracking (is how your strategy reads the indicators). A small manual is inlcuded, and I believe that this framework can evolute to a real reusable piece of software for almost every strategy. The onExit() method is called to reset and manage the signals, LookForTrade() to open positions, and ManagePositions() to build your own custom exit. Below you can see some example methods. The public are invited to upgrade it.
1. Select from available workspaces instead of typing them in.
2. Create a new WS by entering a new WS name in a blank cell and clicking the 'Open' button.
3. Close the currently open WS.
9/22 : Resolved numerous issues.
Updated to resolve scaling problems and to include room for 10 workspaces. It will also now open a closed workspace, but not close an open one.
A simple indicator that opens a persistent form (note button on right of toolbar) in which up to 5 workspace names can be entered. Click the button next to the workspace name to switch back and forth amongst them.
If some kind soul can tell me how to test for an open workspace, I can turn this into Open then Switch if the workspace isn't open.
The Adaptive_CCI was developed by Mike Winfrey and Gumphrie what seems like a very long time ago for NT 6.0.
As of 9/16/2011, this version runs on NT 7 and was cleaned up a bit. Still unused code out there but left it for posterity reasons.
There are 2 components of this indicator...
1. Use of John Ehlers code to measure the market cycles and calculate an adaptive period OR set a static period.
2. Plot alternate CCIs in addition to the primary CCI.
The alternate CCIs is kind of neat I think. It was originally designed to show longer timeframe CCIs when looking at a faster timeframe chart. For example, at the time I created this, I was using a 5 minute chart but wanted to use a 1 minute chart to trade from. So, I put up a 1 minute chart and set the Alternate CCI parameters to plot 4 CCIs of 2, 3, 4, and 5 minutes. By using the 1 minute chart, can see the 2, 3, 4, and 5 minute intrabar values. That's really all it amounts to.
Works with all chart types but there are obviously some chart types where there is no direct correlation between the slower and faster periods.
Delta EMA indicator based on Gomi's excellent contributions. I built this indicator to normalize delta for any instrument and provide delta user inputs for the following categories:
I mainly modify the midtop 10.25 and midbottom of 9.75 settings to tweak the neutral delta and utilize different EMAs. Candle colors can be turned on and off. Very useful for spotting divergences or when order flow could be weakening. Attached chart shows trading with the order flow than against can result in higher probability trades.
A label based on the above parameters is plotted in the right hand side of the indicator if you set your chart properties to Right Hand Side Margin of 85.
This indicator has only been used/tested with Renko charts and users need to have the latest version of the GOM package installed.
Ninja 7.0.1000.7 version
Please email if there are any questions.
ps: I had difficulty exporting this to a zip so have included as a .cs file
January 18th, 2017 03:56 PM AABid Very good at predicting reversals, especially in conjunction with a the unirenko chart. Wouldn't (couldn't?) trade with
out it.
January 10th, 2017 03:41 PM nubby Thanks..interesting CCI
August 26th, 2014 07:32 PM bobc635 Thank You very much!
April 21st, 2014 10:45 PM mikhersh Thank you Sir!
April 29th, 2013 10:44 AM TradingVictor Thank you very much.