Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

AFIRMA - indicator for MetaTrader 5

Published by:
Nikolay Kositsin
Views:
14916
Rating:
(20)
Published:
2011.12.06 13:40
Updated:
2016.11.22 07:32
afirma.mq5 (8.92 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

gpwr

AFIRMA (Autoregressive Finite Impulse Response MA) based on the digital filter accurately shows the price movement, though with a time lag.

Moving Average based on the smooth function fitting (a polynom or sin/cos like in Fourier transform) has no lag but often shows the price movement not so well.

The proposed moving average smooths out the price movement using the digital filter for all candlesticks, except the latest ones, the number of which is equal to the filter time lag. These candlesticks are smoothed by cubic spline fitting using least square method. The condition of combined moving average and its first derivative continuity is set at two moving averages crossing. As a result, we have the smooth moving average that accurately tracks the prices without a time lag.

Input parameters:

  1. Periods - sets the low frequency filter transmission width equal to 1/(2*Periods);
  2. Taps - number of delay units in the filter (must be an odd number), i.e. the filter must have Taps prices to form the new smoothed МА value;
  3. Window - selects the filter approximation the following way:
    • Window=1 - rectangular window;
    • Window=2 - Hanning;
    • Window=3 - Hamming;
    • Window=4 - Blackman;
    • Window=5 - Blackman-Harris.

The first part of MA built using the digital filter is displayed by the blue-violet curve. The second part of MA built by cubic spline fitting is displayed by the red curve.

AFIRMA

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/603

METRO METRO

This oscillator displays its values considering RSI (Relative Strength Index) technical indicator.

XDeMarker_BB XDeMarker_BB

DeMarker indicator with the possibility to select smoothing algorithms that is made in color with dynamically changing oversold and overbought levels.

TSI-Oscillator TSI-Oscillator

The typical normalized oscillator varying within the range -100 to +100 and provided with a signal line.

VHF (Vertical Horizontal Filter) VHF (Vertical Horizontal Filter)

Vertical Horizontal Filter (VHF) shows, if there is a trend or a flat