Fourier Extrapolator – forecast by the Fourier method

Fourier Extrapolator is dynamic extrapolator based on Fourier transforms. The indicator shows the projected price movement based on the consistent calculation of the Fourier waves. This indicator refers to the type of "outrunning", which draws on the right side of the graph line (default: orange) showing the alleged price movement in the future.

Hypothesis, which served as the basis for the creation of this indicator is as follows:

If there are three waves with the same period of consecutive, there is a high probability of occurrence of wave number 4.

Characteristics of Fourier Extrapolator indicator
  • Platform: Metatrader4
  • Currency pairs: All pairs
  • Trading Time: Intraday
  • Timeframe: Any
  • Recommended broker: Alpari
The calculation algorithm for the indicator:
  • Built window series in which the right edge of the fixed (parameter «shift»), and the left edge of the consistently reduced (parameter «T») with a period of 1 bar
  • Indications of the amplitude spectrum are made in each window
  • In identifying clearly formed harmonic number 3, it is extended for the period of 1 to the future
  • For more accurate prediction of construction, all found harmonics are summed
  • The indicator is calculated only when it is added on the graph, it is worth protecting from new tics and bars
  • For a more accurate prediction of need large launch window (setting "T"), but it will take a long calculation
Fourier Extrapolator settings:

T - the size of a window, to start the search

shift - shift relative to the forecast of zero bar to display the historical forecasts on the graph

showprofit - play balance dynamics for an imaginary trade by forecast

alert - show periods of harmonics (sounds an alarm), which form the forecast (default: false)


By increasing the parameter "T" to a few thousand, the meter of  Fourier Extrapolator reading becomes more accurate, but its calculation goes much longer than the calculation of the default (1000).

In order to evaluate the indicator on the history, need setting "shift" be changed to any positive number other than zero, but in this case the "projected" indicator properties disappear!


The main feature of Fourier Extrapolator is that he multicurrency (suitable for any currency pair). Although this indicator is designed for scalping (M1, M5), it can also be used to trade intraday. For the medium and long-term trade this indicator, unfortunately, is not suitable as it requires constant monitoring of the situation on the market.

Default Fourier Ekstrapolator configured for scalping.

In the archives Fourier_Extrapolator.rar:

  • Fourier_extrapolator.mq4
  • Fourier Extrapolator.tpl

Free Download Fourier Ekstrapolator

Free Trading Signals

4 Responses

  1. Michael Moses

    Is there any way to have this indicator update and re-draw with the display of a new bar? I am using it on daily time frame and would like to not have to reload my charts every day to get the indicator to update to the new bar. Thank you.

  2. Ghalib

    Thank you for a great topic

  3. ashraf

    thamk you

  4. kawaj

    Thank you

Leave a comment