OPEN-SOURCE SCRIPT

Jurik Filtered Perfect CCI (PCCI) [Loxx]

Updated
Jurik Filtered Perfect CCI (PCCI) [Loxx] is a faster and more accurate version of CCI with Jurik Filtering.

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

PCCI(bar) = close(bar) – DF(bar)

PCCI 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 Digital Fitler 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.

What is Jurik Volty used in the Juirk Filter?
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.

What is the Jurik Moving Average?
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.

Ideally, you would like a filtered signal to be both smooth and lag-free. Lag causes delays in your trades, and increasing lag in your indicators typically result in lower profits. In other words, late comers get what's left on the table after the feast has already begun.
Included:
-Bar coloring
Release Notes
Small update to expose JF settings
Commodity Channel Index (CCI)digitalfiltersdigitalsignalfilterdsfJMAjurikPCCIperfectcci

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Also on:

Disclaimer