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

2011.08.19 14:06

FATL - indicator for MetaTrader 5

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

Published by:
Nikolay Kositsin
votes: 14
fatl.mq5 (6.17 KB)view
fatl_.mq5 (5.42 KB)view

Real author:

Vladimir Kravchuk, "New adaptive method of following the tendency and market cycles"


FATL (Fast Adaptive Trend Line) is calculated using low frequency digital filter (FLF-1).

FLF-1 filter is necessary for high frequency noises suppression and reduction of market cycles with a very short volatility periods that can also be considered as a noise. The filter parameters (fc cutoff frequency and A attenuation at the rejection band) were calculated with the use of EUR/USD exchange rate spectral estimation.

FATL Filter

Filters of low frequency FLF-1 and FLF-2 provide attenuation in the stop band with no less than 40 dB and absolutely don’t distort the amplitude and phase of entry discontinuous price series in the pass band (bandwidth). These properties of the digital filters provide significantly improved (in comparison with simple moving average) noise suppression that in its turn allows reducing sharply the probability of appearance "false" signals for buy and sell.

There are no analogues to FATL among widely known technical instruments. It is not a moving "average", but just the adaptive lines estimates of the short-term trends. Unlike moving "average", FATL has no any phase delay with regard to current prices.



Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.