Phase change index (PCI)

Phase change index (PCI)

Phase change index by M.H. Pee as featured in TASC magazine.

Which phase is your market going through? Find out by using this indicator.

Prices at any time can be up, down, or unchanged. A period where market prices remain relatively unchanged is referred to as a consolidation. A period that witnesses relatively higher prices is referred to as an uptrend, while a period of relatively lower prices is called a downtrend.

The Phase Change Index (PCI) is an indicator designed specifically to detect changes in market phases.

The original indicator was not smoothed, in this version you can set a smoothing period to get a smoothed curve averaged with Jurik MA, easier to read (default is 30 periods). In the picture you can see a smoothed version (above) and the normal version (below).


Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. skysoldier • 89 days ago #

    thank you for this code, I was wondering if it is compatible with thinkorswim at all?

    • Nicolas • 89 days ago #

      No, but you can ask for private coding job at our programming services.

Register or


avatar avatar avatar
Related users ' posts
supertiti Hola Ale Can we have this same code from Nicolas's code in smoothed heikin Ashi? Sorry...
ALE Ok, We can discuss in the topic "3D Candlesticks TOPIC" Write me more details
1 year ago
macbartin merci, possible de l'utiliser seul pour le faire fonctionner en tant que stratégie ? de même...
Nicolas Oui. Pour changer la période, il faudra ajuster la variable MMperiod
macbartin plus la période est grande (en occurrence 20) plus l'indicateur est précis dans les changeme...
Kris75 Hi Bolsatrilera, I love this indicator! Thanks; => did you develop a strategy around...
oraclus Merci il lui ressemble bcp
juanj Think this is something we can experiment with in the 'universal' strategy along with the Bo...
ggolfet Hello Francesco, thanks for the code. Now I can do backtests on this indicator. I'm testin...
Pietro Fontana Hi Alain, in the comment there's a version that does not require the call function, and is ...
Alai-n Ok thank you Pietro...
Halan thank you for the code. coded as per above, I encounter an error "unexpected character" ...
Francesco78 Thank you Nicolas,  I have copied your nice indicator, but it shows in the lower part of th...
Abz  hi , you need to add the indicator from the "price" menu in chart
Francesco Thank you Abz!