Watch how to download trading robots for free
Find us on Facebook!
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

CCI variation - indicator for MetaTrader 5

Views:
5957
Rating:
(20)
Published:
2018.11.01 14:06
Updated:
2019.01.29 15:58
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Theory:

The commodity channel index (CCI) is an oscillator originally introduced by Donald Lambert in 1980. It is calculated as:

(price - average) / (0.015 * mean absolute deviation)

This version:

In this version we are adding (changing) the following:

  • option to change the mean absolute deviation to:
    • standard deviation
    • ATR (average true range)
  • option to chose to smooth the value of such a "CCI"
  • option to change color on zero crosses or on slope direction change

What is the same as in regular CCI (if smoothing is not used):

- the crosses of the zero line will always be exactly the same as in regular CCI (regardless if you use ATR or standard deviation for calculation)

What is different :

- levels are not going to be the same (that will eventually need adjustments if you are used to use levels when using CCI for trading decisions)

- slope of the CCI is not going to be the same

Usage:

You can use the color changes for signals.


Super trend - simple Super trend - simple

Super trend - simple

Stochastic RVI - levels Stochastic RVI - levels

Stochastic RVI - levels

Volume Profil & Range V6 Volume Profil & Range V6

Volume Profile + Range v6.0 (former TPO).

Liner regression Liner regression

Linear regression