John Ehler’s Empirical Mode Decomposition

John Ehler’s Empirical Mode Decomposition

According to Wikipedia definition, the Empirical Mode Decomposition (EMD) is:
The empirical mode decomposition (EMD) method break down signals into various components, EMD can be compared with other analysis methods such as Fourier transform and Wavelet transform. Using the EMD method, any complicated data set can be decomposed into a finite and often small number of components. These components form a complete and nearly orthogonal basis for the original signal. In addition, they can be described as intrinsic mode functions (IMF).

Because the first IMF usually carries the most oscillating (high-frequency) components, it can be rejected to remove high-frequency components (e.g., random noise). EMD based smoothing algorithms have been widely used in seismic data processing, where high-quality seismic records are highly demanded.

Without leaving the time domain, EMD is adaptive and highly efficient.Since the decomposition is based on the local characteristic time scale of the data, it can be applied to nonlinear and nonstationary processes.

The indicator’s code is translated from the EasyLanguage version by a request on forum.

Ehler’s description of the method and indicator:
There just has to be a better way to determine whether the market is in a cycle mode or trend mode other than gazing at squiggly lines on your computer screen.
One approach is to compare the peak swings of the cycle mode to the amplitude of the trend mode.
We do this by capturing the peaks and averaging these peaks in a relatively long moving average. Correspondingly, one can capture the valleys and also average the valleys in a relatively long moving average. We then take a fraction of these averages as the thresholds between a trend mode and a cycle mode. If the trend is above the upper threshold the
market is in an uptrend. If the trend is below the lower threshold the market is in a downtrend. When the trend falls between the two threshold levels the market is in a cycle mode.
The setting of the fraction of the averaged peaks and valleys to be used to establish the thresholds is somewhat subjective and can be adjusted to fit your trading style. Personally, we prefer to trade in the cycle mode and therefore tend to set the thresholds relatively far apart.
In this way one can stop swing trading when the market is clearly in a trend.

 

 

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. diegofe_2000 • 02/22/2017 #

     Entro a operar una demo con este indicador,  les voy contando

  2. diegofe_2000 • 02/22/2017 #

    Gracias Nicolas, muy buen indicador para  hacer sistemas de compra y venta,  en pruebas me ha dado muy buenos resultados.

    • vitatrader35 • 02/22/2017 #

      Hola, Diego
      Puedes explicar cómo lo usas? Estoy tratando de emplearlo como validación de tendencias (o rangos) pero sin resultado…
      Gracias a los dos

  3. diegofe_2000 • 02/22/2017 #

    Compra a la baja :  cruce de MEAN sobre AVG PEAK
    Compra al alza :   cruce de MEAN con AVG VALLEY

    EXITOS

  4. andrea ronca • 02/22/2017 #

    hi, do you know the best configuration for period, delta and fraction? thanks in advance

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Etienne Hi, thanks for proving this code. I would like to contribute by adding a computation speed...
Etienne //Compute Super Smoother coefficients once if barindex = 1 then a1 = exp( -1.414 * 3.14159...
Nicolas Thanks a lot!
Bard From the url link #post-65420 above but without the chart image: Stocks & Commodities...
Bard Note: lter = filter
Bard Apologies, there's been an issue with copying "f" and "I" from the article and pasting.. whi...
Nicolas
6 years ago
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...
Hasardeur Hallo Nicolas, in John Ehlers book "cycle analytics for Traders" from 2013, Mr. Ehlers desc...
Khaled Thanks, but if I may ask what's EMA Period? The price which reverses the EMA[20] is not the ...
Francesco78 EMA is not a moving average, it is just the name we called the quantity defined above
Khaled My bad. Thank you so much!
Gianluca Hello there is a new version, is it possible to translate it? https://www.tradingview.com...
christophe11560 bonjour, PRT me demande de réduire la période d'adaptive cyber Cycle suite à de fort ralent...
Pietro Fontana christophe11560, i've coded this a long time ago for a different version of the PRT, i'm not...
Etienne Hi, I'm quite late in this thread. I'd just like to propose an enhancement because this in...
Nicolas Thanks Etienne.
Bard Hi Nicolas, I wanted to make this scaled indicator above between -1 and +1 instead of 0 to +...
robertogozzi Vous ne pouvez pas, car ProBuilder ne prend actuellement pas en charge MTF (Multiple Time Fr...
jeanguy Merci pour ce travail En quoi cette MM est elle différente d’une MM courte ?
Bern latest version pro real time not accepting code, same with Ehler's MAMA indicator. any idea...

Top