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

2016.10.10 15:46
Indicators

i-SpectrAnalysis_OsMA - indicator for MetaTrader 5

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

Views:
967
Rating:
votes: 16
\MQL5\Include\
dt_fft.mqh (28.84 KB)view

Real author:

klot

The indicator is an example of smoothing a time series of the OsMA indicator by filtering harmonics of higher order.

This approach can be applied to smooth the values of any indicators. The main advantage of the method is virtually no delay.

Indicator input parameters:

//+----------------------------------------------+ 
//| Indicator input parameters                   | 
//+----------------------------------------------+ 
input uint FastEMA=12;
input uint SlowEMA=26;                         
input uint MacdEMA=9;                                                
input ENUM_APPLIED_PRICE   MAPrice=PRICE_CLOSE;
input uint N = 7;                                 // number Length 
input uint SS = 20;                               // smoothing factor 
input int Shift=0;                                // The shift indicator in the horizontal bars

where:

  • N — series length (power of two);
  • SS — Smoothing coefficient, zeroes the frequencies above the specified value in the obtained spectrum. SS cannot be greater than 2^N. If SS = 2^N, the OsMA series is fully repeated.

The indicator operation requires the library: https://www.mql5.com/en/code/7000.

Fig.1. The i-SpectrAnalysis_OsMA indicator

Fig.1. The i-SpectrAnalysis_OsMA indicator

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

i-SpectrAnalysis_RVI i-SpectrAnalysis_RVI

The indicator is an example of smoothing a time series of the RVI indicator by filtering harmonics of higher order.

i-SpectrAnalysis_ADX i-SpectrAnalysis_ADX

The indicator is an example of smoothing a time series of the ADX indicator by filtering harmonics of higher order.

RAVI_HTF RAVI_HTF

The RAVI indicator with the timeframe selection option available in input parameters.

Exp_CandlesticksBW Exp_CandlesticksBW

The Exp_CandlesticksBW Expert Advisor based on signals of the CandlesticksBW indicator.