Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2015.01.22 13:43
Indicators

i-SpectrAnalysis - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
1722
Rating:
votes: 21
\MQL5\Include\
dt_fft.mqh (26.02 KB)view

Real author:

klot

The indicator exemplifies smoothing of price time series by means of filtration of harmonics of a greater order.

This approach can be applied for smoothening any indicators' values.

The main advantage of the method is a real absence of a delay.

Indicator input parameters:

//+-----------------------------------+
//| Input parameters of the indicator |
//+-----------------------------------+
input uint N = 7;     // Series length
input uint SS = 20;   // Smoothing coefficient
input int Shift=0;    // Horizontal shift of the indicator in bars

where:

  • N specifies series length (power of two);
  • SS - A smoothening coefficient in the resulting spectrum zeroes out frequency ratios exceeding set value. SS cannot exceed 2^N. Close series fully repeats itself if SS = 2^N.

https://www.mql5.com/ru/code/7000 library is required for the indicator operation..

This indicator was first implemented in MQL4 and published in CodeBase on November 23, 2006.

Fig.1. i-SpectrAnalysis Indicator

Fig.1. i-SpectrAnalysis Indicator

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/7001

i-SpectrAnalysis_RSI i-SpectrAnalysis_RSI

The indicator exemplifies smoothing of price time series of the RSI indicator by means of filtration of harmonics of a greater order.

i-SpectrAnalysis_MFI i-SpectrAnalysis_MFI

The indicator exemplifies smoothing of price time series of the MFI indicator by means of filtration of harmonics of a greater order.

Accumulative Swing Index - ASI Accumulative Swing Index - ASI

The Accumulative Swing Index indicator is applied for accumulative swing index construction.

Stoch_2HTF Stoch_2HTF

A colored cloud formed by two Stochastics with different timeframes.