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.12.14 12:25

JFatl HTF Baby - indicator for MetaTrader 5

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

votes: 11
jfatl.mq5 (7.56 KB)view

The hybrid of digital and analog filters that displays larger timeframe values at a smaller one in a completely minimized way and is located in a separate chart window.

In this case, only direction of the current trend is used from the indicator. It should be noted that since the indicator calculates its values using larger timeframe, it rewrites its readings on the number of bars equivalent to the larger timeframe bar size.

The indicator 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 actuating at each random market movement.

Place the JFatl indicator compiled file to the terminal_data_folder\MQL5\Indicators\.

JFatl uses CJJMA class of the SmoothAlgorithms.mqh library. Working with that class was described in details in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

JFatl HTF Baby

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.

Auto Fibonacci Retracement Auto Fibonacci Retracement

Automatically draws Fibonacci retracements on chart.

Example of A Simple Breakout Trading Robot Example of A Simple Breakout Trading Robot

Example of a simple breakout trading robot. There are a lot of breakout methods, but this is the simplest one as I think. Please see the attached images to visualize what is the breakout trading...