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


Hull Moving Average (HMA) - indicator for MetaTrader 5

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

votes: 29
2011.11.09 16:59
2016.11.22 07:32
hma.mq5 (4.96 KB)view
colorhma.mq5 (6.04 KB)view

Hull Moving Average (HMA) that can change its color. HMA is used for determining market entries and exits.

The indicator principle is quite simple: when the price moves upwards, the line is colored in violet, when the price goes downwards, the line color changes for red.

The indicator color may change at the current bar, therefore, its main function is not a color but the price location. If the price is lower than the indicator line, there is probably a downtrend, if the price is higher than the indicator line, there is probably an uptrend.

The indicator uses SmoothAlgorithms.mqh library classes (the file must be copied to the terminal_data_folder\MQL5\Include). Working with the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Hull Moving Average

Hull Moving Average

Translated from Russian by MetaQuotes Software Corp.
Original code:

CyberCycle CyberCycle

Cyber Cycle high-frequency filter.

AutoTrendLinien AutoTrendLinien

Autotrendlinien generates a channel in the direction of an existing trend.

i-Regression Channel i-Regression Channel

i-Regression Channel generates regression channel.

Mikahekin Mikahekin

Mikahekin can be called a complete analytical block rather than just an indicator. The color of bars shows a trend direction and their height indicates a trend power. Blue and magenta dots show trailing-stop levels for long and short positions, respectively.