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

2016.04.26 14:50

HMA - indicator for MetaTrader 4

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

votes: 5
HMA_Color.mq4 (3.87 KB)view
Author:  MetaQuotes Software Corp.

Based on the use of a slightly modified Hull Moving Average (HMA).

I added an indicator that paints the bars in different colors according to the HMA. It is auxiliary in nature and is used only for illustrative purposes.


Buy when the HMA line is tilted upwards (green), and the SMI crosses the signal line from below, at the same time the indicator must not be in the overbought state (i.e. higher than 70).
Buy when the HMA line is tilted downwards (red), and the SMI crosses the signal line from above, at the same time the indicator must not be in the oversold state (i.e. lower than -70).
The initial stop loss is 150 points.
Half of the position is closed once the SMI reaches +80. For the second half, wait for the exit signal after moving the stop loss.
Fully close the position when the HMA reverses and SMI approaches the extremums (+70/-70)
The system works best with yen pairs.

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.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.