John F. Ehlers Decycler Oscillator

John F. Ehlers Decycler Oscillator

In “Decyclers” in Sep, 2015, John Ehlers described a method for constructing an oscillator that could help traders detect trend reversals with almost no lag, an oscillator that signals trend reversals with almost zero lag via digital signal processing techniques. A high-pass filter is subtracted from the input data and the high-frequency components are removed via cancellation of terms. Lower-frequency components are filtered from the output, so they are not canceled from the original data. Thus, the decycler displays them with close to zero lag. The fast line has a period of 100 a K value of 1.2 and the slow line has a period of 125 and a K value of 1.

This indicator demonstrates the timely response of the decycler oscillator to market action. It applies the idea of using a decycler oscillator pair with different parameters, as discussed in Ehlers’ article:
1. Enter long when the fast line crosses over the slow line;
2. Exit long when the fast line crosses under the slow line.

 

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?

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

  1. Yantra • 03/17/2021 #

    The Oscillator is not displaying correctly on my system, it’s not oscillating it’s just a long gentle curve diagonally across the window. I have tried it both with the default settings and the 10, 15 you have on the screenshot above.
    I’m on Prorealtime v11.1 with IG. Any clues why this is occurring? Thank you.

  2. Gregory • 03/17/2021 #

    Hello Nicolas, I have the same problem as Yantra, do you have any suggestion to fix it? Thank you

  3. LUCASSEN • 03/17/2021 #

    The same problem

  4. DonTony • 03/17/2021 #

    Bonjour Nicolas,
    J’ai le même problème. L’oscillateur ne s’affiche pas correctement.
    Une solution?

  5. pableitor • 03/17/2021 #

    the code works just fine, just note the parameters in the source code are different than the picture’s.

    • RubberToe • 03/17/2021 #

      Doesn’t work for me, the .ift or the code above…

  6. Bruno Carnazzi • 03/17/2021 #

    Il y a à boire et à manger chez Ehlers, quand même 🙂

  7. RubberToe • 03/17/2021 #

    Is there something we are missing here, I just get the same curved line as well…

  8. Khaled • 355 days ago #

    @Nicolas, Hi Nicolas, I’ve downloaded the itf and it doesn’t display as an Oscillator, it”s more like a two parralel curves. I tried to zoom in and out, same. I tried various combinations of Slow/Fast Periods and Ks, same problem. Any chance you can look into it please? Thanks

  9. sal157011 • 355 days ago #

    I think the problem here is that you must feed the trigonometric functions cos and sin with degrees and not with radians.
    In the code where is 2*pi should be 360.
    See 2015/09/TradersTips

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Madrosat how do you use carnazzi filter in a strategy : smoothing , stop ,tendance
Bruno Carnazzi Il me semble que la fonction "floor" n'est disponible qu'avec PRT11, à vérifier
DELBERT Bonjour , merci pour votre réponse , je m'excuse je suis avec PRT v10.3 donc c'est indicateu...
Nicolas c'est juste, c'est une instruction très récente.
Actaru5 Caio Jan, con ognuno dei setting ottieni un indicatore visualizzato diverso, ma tutti sono ...
ggolfet Hi Actarus, what's the name of the histogram indicator below Apple's chart?
Actaru5 Flag ShowState in setting and show histogram
Nicolas Check your custom trading hours and use the default market ones.
fj_pastor Hello Nicolas, Thanks again for all your support. Finally I debugged the problem. The sim...
kallistos Hi Nicolas, Thank you very much indeed for this indicator (and all the others you are provi...
Morrissey38 Muchísimas gracias Nicolás , muy amable.
Bruno Carnazzi extrèmement pertinent
Bruno Carnazzi Is that beatable ?
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...
carlvan That's a great indicator and I especially the use of colors, more or less pronounced to indi...
diegofe_2000 CORDIAL SALUDO. CUANDO REALIZO UN PROGRAMA CON ESTE INDICADOR ME SALE EL SIGUIENTE LETRE...
ALE Hello do you want to explain to me in more detail what you have to do? Please replay here:...
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 https://www.prorealcode.com/prorealtime-indicators/wpo-wave-per...
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...
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 .

Top