Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Center of Gravity - extended - indicator for MetaTrader 5

Views:
8924
Rating:
(36)
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 (Ehlers) Center of Gravity (Ehlers)

Center of Gravity (as originally described by John Ehlers)

Trend trigger factor (averages pre-filtered) Trend trigger factor (averages pre-filtered)

Trend trigger factor (averages pre-filtered)

SpearmanRankCorrelation_2HTF SpearmanRankCorrelation_2HTF

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

SpearmanRankCorrelation_3HTF SpearmanRankCorrelation_3HTF

Three SpearmanRankCorrelation indicators from different timeframes in a single window