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.09.20 11:27

JFATL - indicator for MetaTrader 5

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

votes: 14
jfatl.mq5 (7.7 KB)view
colorjfatl.mq5 (8.57 KB)view

The indicator is a combination of the FATL digital filter and analogue JMA adaptive smoothing.

The average is calculated the following way:

JFATL[bar] = JMA(FATL(PRICE[bar]))


  • FATL() - FATL digital filter value;
  • JMA() - JMA adaptive smoothing algorithm;
  • PRICE[] - price series value;
  • bar - current bar index.

Additional JMA smoothing is used to prevent the indicator activation at each occasional market move.

ColorJFatl and JFatl indicators use the CJJMA class of the SmoothAlgorithms.mqh library. The use of the class was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Additional Buffers".

ColorJFATL indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:


Range Bound Channel Index (RBCI) digital filter removes low frequency trend, generated by low frequency spectrum components, and high frequency noise, generated by high frequency spectrum components.


Moving average with the double adaptive JMA smoothing of a price range.


Symmetrical normalized CCI (Commodity Channel Index) with alternative (ultralinear and JMA) smoothing algorithms.

Yaanna Yaanna

Yaanna is the simplest indicator of the overbought/oversold states.