Discussion of article "Forecasting Time Series (Part 1): Empirical Mode Decomposition (EMD) Method"

 

New article Forecasting Time Series (Part 1): Empirical Mode Decomposition (EMD) Method has been published:

This article deals with the theory and practical use of the algorithm for forecasting time series, based on the empirical decomposition mode. It proposes the MQL implementation of this method and presents test indicators and Expert Advisors.

A single test with these settings for the period from early 2018 up to February 2020, i.e., with a forward for the year 2019 and early 2020, paints the following picture:

TestEMD report on EURUSD D1, 2018-2020

TestEMD report on EURUSD D1, 2018-2020

As we can see, the system benefits, although the indices show that there is a room for improvement. Particularly, it is logical to assume that more frequent reoptimization in a step-by-step mode and search for the step size can improve the performance of the robot.

Basically, it can be said that the EMD algorithm allows identifying on larger timeframes the fundamental, in some sense momentum fluctuations of quotes and create a profitable trading system based thereon.

Author: Stanislav Korotky

 

Thanks to Stanislav for the very good article. I downloaded the codes and meet an error while compiling it.

The error reads: 'Offset' -some operator expected in the line

buffers[0].set(Offset,sum);

Please show how to solve that. 

Thanks

 
fujiexia:

Thanks to Stanislav for the very good article. I downloaded the codes and meet an error while compiling it.

The error reads: 'Offset' -some operator expected in the line

buffers[0].set(Offset,sum);

Please show how to solve that. 

Thanks

I have just downloaded the sources anew and compiled all indicators and the expert without an issue.

You're doing something wrong. Make sure you have extracted the contents of the archive with preserved folder structure.

 
Sorry I used mql4 edit, when I use mql5 edit there is no any problem while compiling
 


This is the results when I changed the Date from 1-1-2020 till now

Reason: