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 • 27 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 • 25 days ago #

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

  3. Jan • 25 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 • 24 days ago #

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

  5. ggolfet • 1 day ago #

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

    • Actaru5 • 2 hours ago #

      Flag ShowState in setting and show histogram

Register or


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 I don't know, that code is a 1:1 translation from another platform.
jm1111enator Hello Nicolas, Is this a conversion from Tradestation Easy Language? If so, do you have a ...
Nicolas Sorry I do not provide assistance for Tradestation code.
finplus Bonjour, cet indicateur a t il fait l'objet d'une évolution avec PRT 11 ? Par ailleurs, en ...
kj1988 Thank you for this nice indicator. I find it useful and a better replacement for the RSI
ALE Happy to know
luxrun Ok, thank you
robertogozzi I just discovered that ProOrder (for automated strategies) does not evaluate the expression ...
robertogozzi //Ti = ((close > Cy) * Tt) OR (((close Cy) THEN Ti = Tt ELSE Ti = -Tt ENDIF
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'...
Tony87 can we have a update on this one please?
Nicolas Discussions with many other versions and improvements can be found here: https://www.proreal...
darbes Hi How does it go on live ? JC
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 .