Join our fan page
- Views:
- 9927
- Rating:
- Published:
- 2018.11.19 20:31
- Updated:
- 2019.01.30 08:18
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Theory:
The original (to the letter as described) version of Center of Gravity was published here : Center of Gravity - Ehlers. But, as described there, the original lacks what we could use as "significant level(s)" (not even zero can be used on the original version).
This version:
In this version a correction in the calculation is added that allows us to have the zero level as a "significant level". Due to that change, 3 color change methods are added in the options:
- color change on signal / trigger line cross (the default)
- color change on level zero cross
- color change on slope change
Usage:
Depending on the way you desire to use it (by setting the color change method) you can use that color change as a signal.

Center of Gravity (as originally described by John Ehlers)

Trend trigger factor (averages pre-filtered)

Two SpearmanRankCorrelation indicators from different timeframes in a single window as a cloud colored according to a trend direction

Three SpearmanRankCorrelation indicators from different timeframes in a single window