Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3554
Rating:
(7)
Published:
2018.06.18 13:56
HWMA.mq5 (9.23 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Indicator HWMA (Holt-Winter Moving Average) is a three-parameter moving average by the Holt-Winter method; the three parameters should be selected to obtain a forecast.

The indicator has four input parameters:

  • nA - parameter of the equation that describes a smoothed series (from 0 to 1);
  • nB - parameter of the equation to assess the trend (from 0 to 1);
  • nC - parameter of the equation to assess seasonality (from 0 to 1);
  • Applied price - price used for calculations.

Calculations:

HWMA[i] = F[i] + V[i] + 0.5 * A[i]

where:

F[i] = (1-nA) * (F[i-1] + V[i-1] + 0.5 * A[i-1]) + nA * Price[i]
V[i] = (1-nB) * (V[i-1] + A[i-1]) + nB * (F[i] - F[i-1])
A[i] = (1-nC) * A[i-1] + nC * (V[i] - V[i-1])

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20856

Divergence_Candles Divergence_Candles

Indicator of candlestick divergences.

Difference2 Difference2

Indicator Difference2 shows the difference between the predefined reference prices (Applied price) now and as of N periods ago.

HWC HWC

Channel indicator HWC (Holt-Winters Channel).

Intraday_Intensity_Index Intraday_Intensity_Index

Intraday Intensity Index.