John Ehlers – Correlation Cycle

John Ehlers – Correlation Cycle

The Correlation Cycle Indicator was created by John Ehlers (Stocks & Commodities TASC). This particular indicator was designed for trend direction and trend strength and simply buy when it is green and sell when it turns red. Also keep in mind that the higher the indicator is above the signal then the stronger the trend and when they are close together, conditions get choppy.

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. Didouqc • 281 days ago #

    Merci pour ce partage. Semble prometteur en Trendfollowing.
    Cependant, une partie du code semble être en double, et un paramètre P3 initialisé à 64 semble ne pas servir.
    Bonne journée.

  2. Ste • 280 days ago #

    Thanks. I would like if possible some further explanation and clarification on the P3 (64) not used.thxs

  3. Jan • 280 days ago #

    Hi Actarus,

    Thanks for the code !
    To get the picture as attached above from the indicator you need to switch on (set to 1) all, at the Input settings , yes ? So far I did not tested it, just assuming.
    // Inputs Setting
    Period = 14
    InputPeriod = 0 // Uses price data if 0
    ShowCycleIndicator = 1 // Booleano Indicator Mode –> 1 OK
    ShowCycleIndex = 0 // Booleano Index Mode –> 1, change
    ShowPhasorAngle = 0 // Booleano Show Angle Phasor Mode –> 1, change
    ShowMarketState = 0 // Booleano Show Market State Mode –> 1, change

  4. Actaru5 • 279 days ago #

    Caio Jan,
    con ognuno dei setting ottieni un indicatore visualizzato diverso, ma tutti sono generati dallo stesso codice di base.

  5. ggolfet • 256 days ago #

    Hi Actarus, what’s the name of the histogram indicator below Apple’s chart?

    • Actaru5 • 255 days ago #

      Flag ShowState in setting and show histogram

Register or


avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
eva.g.forsgren I cant make it work in anyway.
Nicolas Play with the "highpassLength" settings and add more units displayed on your chart.
MrEastwood Interesting indicator! Can anyone get it working for longer "highpasslengths"? I've been tes...
Morrissey38 Buenas tardes Nicolás . Como podría introducir una línea cero a este indicador? . Muchas gra...
Nicolas Change the last line with : RETURN Reflex, 0
Morrissey38 Muchísimas gracias Nicolás , muy amable.
Sapo Thank you for your indicators. As always it's perfect, I thank you for your help it's preci...
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
kj1988 Thank you Vonasi for sharing this indicator. Very useful as a comfirmation to the price act...
eivaremir have u got the trading view version?
Bard I've also just noticed that changing the "Bands Deviation" setting from 1.25 to eg 3 doesn't...
bartekz Hi @Nicolas, Really impressed by your work. I am trying to replicate the Wave-PM indicator t...
Nicolas You don't have to replicate it, download the file and import it into your platform.
Nicolas Sorry I do not provide assistance for Tradestation code.
surfeur Bonjour, Je suis pas expert en PRT donc si qq'un peut m'expliquer un peu le code ? Par...
Nicolas src c'est bien le customclose en effet. ATR, si aucune série de données n'est spécifié, il u...
kj1988 Thank you for this nice indicator. I find it useful and a better replacement for the RSI
ALE Happy to know
carlvan That's a great indicator and I especially the use of colors, more or less pronounced to indi...
luxrun Roberto, I tried again to use both the SHI indicator and the WPO oscillator but they don't w...
robertogozzi WPO should work as posted at
luxrun Now is ok! Thanks a lot
PastaPesto Hello Roberto! Thank you for this indicator. I thought I would try it out in a strategy, bu...
robertogozzi I just realized that there's a line that shouldn't be there. It's line 5, please remove it,...
robertogozzi I just discovered that ProOrder (for automated strategies) does not evaluate the expression ...
luxrun bellissimo lavoro, Roberto, grazie!
robertogozzi I just discovered that ProOrder (for automated strategies) does not evaluate the expression ...
Akram Hi Roberto the WPZO is the bounded oscillator by percentage like the SHO Here is the artic...
funkystuff Salut Balmora, Ton indicateur est plutôt intéressant :) Penses-tu qu'il soit possible de l'...
Nicolas Discussions with many other versions and improvements can be found here: https://www.proreal...
darbes Hi How does it go on live ? JC
antonio73 Balmora74, io vedo che funziona anche su timeframe ad 1 minuto con piccole ottimizzazioni, t...
skysoldier hello, thank you for this code, I was wondering if it is compatible with thinkorswim at all?
Nicolas No, but you can ask for private coding job at our programming services.
Nicolas Thanks again for all your valuable posts... and well formatted code! :)
Abdelkrim Maksour hi sir is this indicator for mt4 and how i can get one .