Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2011.08.23 11:56

PCCI - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Published by:
Nikolay Kositsin
votes: 12
pcci.mq5 (6.23 KB)view

Real author:

Vladimir Kravchuk, "New Adaptive Method of Following the Tendency and Market Cycles"

PCCI (Perfect Commodity Channel Index) indicator is calculated by the following formula:

PCCI(bar) = close(bar) – FATL(bar)


  • close(bar) - closed bars prices;
  • FATL(bar) - FATL digital filter.


It resembles D. Lambert's Commodity Channel Index by the method of its calculation.

Actually, CCI index is calculated as a normalized difference between the current price and its moving average. PCCI is calculated as a difference between a day closing price and its statistical expectation presented by a FATL value. Therefore, PCCI is more efficient than CCI.

PCCI index is a high frequency part of the exchange rate fluctuations normalized according to its standard deviation.

PCCI (Perfect Commodity Channel Index) indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

3D_Oscilator 3D_Oscilator

This oscillator generates market entry and exit signals based on RSI and CCI indicators.

Universal digital filter Universal digital filter

This indicator solves an issue of the use of digital filters in the client terminal.


RSI indicator applied to MACD clearly shows the current price divergence.


In this MACD histogram the JMA smoothing is used instead of the standard smoothing.