Ehlers Simple Decycler

v10.3
Ehlers Simple Decycler

This indicator was originally developed by John F. Ehlers (Stocks & Commodities , V.33:10 (September, 2015): “Decyclers”).

Mr. Ehlers suggested a way to improve trend identification using high-pass filters. The basic smoothers like SMA , low-pass filters, have considerable lag in their display. Mr. Ehlers applied the high-pass filter and subtracted the high-pass filter output from the time series input. Doing these steps he removed high-frequency short-wavelength components (the ones causing the wiggles) from the time series.

As a result he got a special series of the low-frequency components with virtually no lag – the Decycler.

The Decycler is plotted with two additional lines (the percent-shifts of Decycler) and together they form a hysteresis band.

If the prices are above the upper hysteresis line, then the market is in an uptrend. If the prices are below the low hysteresis line, then the market is in a downtrend. Prices within the hysteresis band are trend-neutral.

(description found on the web, indicator converted from Pinescript language following multiple requests on the forums).

 

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. Vinks_o_7 • 238 days ago #

    Thanks !

  2. ggolfet • 237 days ago #

    I tried to apply the indicator on a daily and weekly chart, but there’s something wrong. Probably I made an error. The indicator does not “follow” the chart. It’s plotted above or under the chart (it depends on the stock you plot). I used the itf file. Have you got any suggestion. The indicator seems very useful.

    • Nicolas • 237 days ago #

      Try to adapt the “highpassLength”

    • ggolfet • 237 days ago #

      Thank you very much, on a daily / weekly chart it works with highpass lenght near 3-4.

    • avatar
      thebigdeal • 236 days ago #

      Ehlers Simple Decycler, bjr nicolas, je trouve cet indicateur assez dĂ©mentiel, ?…. prometteur pour une stratĂ©gie avec levier Ă  mettre en place … , pensez vous que celĂ  en vaut la peine ? et si ou sur quelle indicateur etf ou cfd d’après vous ? en daily ? merci YJ

  3. Bard • 237 days ago #

    Cheers, a great addition Nicolas!

  4. jacob78692110 • 235 days ago #

    hi, i have past the code and the indicator is not in the graphique. he’s down like RSI

    • Nicolas • 235 days ago #

      Apply it on the price in the price settings window

  5. Bewater • 226 days ago #

    Thanks!

  6. eva.g.forsgren • 223 days ago #

    I cant make it work in anyway.

    • Nicolas • 223 days ago #

      Play with the “highpassLength” settings and add more units displayed on your chart.

  7. MrEastwood • 187 days ago #

    Interesting indicator! Can anyone get it working for longer “highpasslengths”? I’ve been testing lengths of 80-100 on a 1 min chart, but the result just looks strange…

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+3 more likes

Related users ' posts
Nicolas
2 months ago
IV Mcm Indeed, copy-paste does not work. You must delete "floor" in the original code line 62 and ...
Canis Majoris Bonjour Nicolas, J'ai pas bien compris le principe de fonctionnement de ce range filter i...
Nicolas La définition des couleurs se situent entre les lignes 94 et 118. Selon le type de bougie (h...
willi Ich habe meinen Fehler gefunden: Das lambda war fĂĽr meine eingestellte Zeiteinheit zu groĂź g...
Fabian Hi Nicolas, do you plan to release this indicator in version 10.3 as well or is this not ...
Nicolas No because it needs arrays! :)
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
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...
Vonasi Sure that is possible. I will code it and make a post in the English ProBuilder forum and pu...
Vonasi Vama v2 with Hull moving average included can be found here: https://www.prorealcode.com/top...
JMat45 Thank you, Vonasi.
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...
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 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...
Marcos Alvarez Dominguez Hello Nicolas, is it possible to stablish a bullish screener for this indicator when the cen...
Nicolas Please open a topic in the screener section to ask for this specific query.
zaher123 Hello, the indicator doesn't show up anything on the screen, any suggestions please?
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