CC – indicator for MetaTrader 5

  • A+
category:MT5 INDICATORS

John Ehlers Cyclic Component Oscillator.

It has two input parameters:

  • Period - calculation period;
  • Applied price - price used for calculations.

Calculations:

Cyclic Component [i] = (HP[i] + 2*HP[i-1] + 2*HP[i-2] + HP[i-3])/6, 

where:

HP[i] = (Price[i] - Price[i-1])*(1 + Alpha)/2 + 2*Alpha*HP[i-1],
Alpha = (1 - sin(2*Pi/Period))/cos(2*Pi/Period)

CC - indicator for MetaTrader 5

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: