Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
HWMA - indicator for MetaTrader 5
- Views:
- 3554
- Rating:
- Published:
- 2018.06.18 13:56
- 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
Indicator of candlestick divergences.
Difference2Indicator Difference2 shows the difference between the predefined reference prices (Applied price) now and as of N periods ago.
HWC
Channel indicator HWC (Holt-Winters Channel).
Intraday_Intensity_IndexIntraday Intensity Index.