Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3996
- Rating:
- Published:
- 2018.06.18 13:56
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Channel indicator HWC (Holt-Winters Channel) based on HWMA - a three-parameter moving average calculated by the method of Holt-Winters.
It has six 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);
- nD - parameter of the channel equation (from 0 to 1);
- Multiplier - multiplier for the width of the channel calculated;
- Applied price - price used for calculations.
Calculations:
Top = HWMA + Multiplier * StDt Bottom = HWMA - Multiplier * StDt
where:
HWMA - Holt-Winter Moving Average
StDt[i] = Sqrt(Var[i-1]) Var[i] = (1-d) * Var[i-1] + nD * (Price[i-1] - HWMA[i-1]) * (Price[i-1] - HWMA[i-1])
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20857

Indicator HWMA (Holt-Winter Moving Average) is a three-parameter moving average by the Holt-Winter method.

Indicator of candlestick divergences.

Intraday Intensity Index.

Oscillator MACD Squeeze similar to indicator Trade The Markets Squeeze, but based on MACD.