Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Visualizzazioni:
5759
Valutazioni:
(15)
Pubblicato:
2018.06.06 13:53
HMA.mq5 (14.44 KB) visualizza
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

Alan Hull's Moving Average.

Since the classical Moving Average is calculated using symbol's prices received in the past period, that MA lags behind the current price activity. This is the main drawback of the Moving Average.

The HMA indicator takes into account this limitation. Hull's Moving Average is an indicator, which not only smooths price fluctuations, but also levels out the price lag. Hull's Moving Average can solve this problem through using the square root of the period instead of the period itself, which is used in the classical Moving Average.

The indicator has two input parameters:

  • Period - calculation period;
  • Applied price - price used for calculations.

HMA works on any timeframe and with any instrument.

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/20418

Interpolation Interpolation

Polynomial interpolation.

Crossing of two iMA v2 Crossing of two iMA v2

Crossover of two iMAs (Moving Averages), one more iMA (Moving Average) is used as the filter. Lot: manual or risk percent of balance. Stop, Market or Limit orders. The EA also sets Stop Loss, Take Profit, Trailing Stop.

ITrendMA ITrendMA

Instantaneous Trendline by J. Ehlers.

LSMA LSMA

Least Square Moving Average - a moving average calculated by the least squares method.