PCI – indicator for MetaTrader 5

  • A+
category:MT5 INDICATORS

Oscillator Phase Change Index is the market phase change index that helps identify the current phase (stage) of the market.

It has four configurable parameters:

  • Period - calculation period
  • Applied price - calculation price
  • Overbought - overbought level
  • Oversold - oversold level

Calculation:

PCI = 100 * Up/(Up+Dn)

where:

if Price[i-Period] > Gradient Up = Sum(Abs(Price[i-Period] - Gradient))

if Price[i-Period] < Gradient Dn = Sum(Abs(Price[i-Period] - Gradient))

Gradient[i] = Price[i-Period] + Momentum[i] * i Momentum[i] = (Price[i]-Price[i-Period+1]) / Period Price -- Applied price

PCI - indicator for MetaTrader 5

Comment

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