Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
NewDigital: There seems to be a bug in the HMA colour, it has 3 colours, and the yellow colour(for neutral bars) wont paint in ,and where its suppose to paint in, its a blank line for the last 20-30 bars.
There's no bug at all in HMA. The third color (yellow) was excluded deliberately to avoid a specific linear distortion which occurs when a new value (especially strong) enters or the old one (again strong) leaves the buffer. Under these conditions the yellow part is being relocated back and thus "paints the past" as Nina put it. Sometimes seriously.
And finally it's a matter of preferences. If you like to use a neutral zone as an exit or an early warning then 3 color LSMA is better choice.
Cheers,
can anyone of you explain to me how the Hull Moving Average works? I want to backtest some things in Excel because I am not really good in doing MQL4. I extracted some weeks of data from Metatrader and now I want to test the HMA. I already tested with SMA and EMA but the results are not really good. and before I test with HMA I need the mathematics of this moving average.
can anyone of you explain to me how the Hull Moving Average works? I want to backtest some things in Excel because I am not really good in doing MQL4. I extracted some weeks of data from Metatrader and now I want to test the HMA. I already tested with SMA and EMA but the results are not really good. and before I test with HMA I need the mathematics of this moving average.
Thank you very much for some help!
Marbo
Look at this post http://www.forex-tsd.com/56596-post3.html (there are many links in our forum with discussion, exoplanation about how it works and with some trading systems).
Thank you for those links but none of them explains the calculation of the HMA. It is described a little bit in MQL-code but I cannot read it. I would need some explainations in "normal language" but I don't find anything where the method is described.
For example: The 10-period simple MA is calculated like this: The sum of the close-prices of the last 10 periods divided by 10. This is what I need for the HMA. I know that it's more complicated but I also programmed an WMA and EMA. So it is not really difficult if you know how it is calculated.
Thank you for those links but none of them explains the calculation of the HMA. It is described a little bit in MQL-code but I cannot read it. I would need some explainations in "normal language" but I don't find anything where the method is described.
For example: The 10-period simple MA is calculated like this: The sum of the close-prices of the last 10 periods divided by 10. This is what I need for the HMA. I know that it's more complicated but I also programmed an WMA and EMA. So it is not really difficult if you know how it is calculated.
Can anyone help me? Thank you!!
I found the following:
Code:
Hull Moving Average
Description
A moving average (weighted) based on Allan Hull published calculations. For more information on this tool please visit Alan’s website - http://www.alanhull.com/
Integer(SquareRoot(Period)) WMA [2 x Integer(Period/2) WMA(Price)
- Period WMA(Price)]
and this is also described in other codes:
MetaStock Formula
period:=Input("Period",1,200,20) ;
sqrtperiod:=Input("Square Root of Period",1,20,4);
Mov(2*(Mov(C,period/2,W))-Mov(C,period,W),sqrtperiod,W);
SuperCharts Formula
Input: period (Default value 20)
waverage(2*waverage(close,period/2)-waverage(close,period), SquareRoot(Period))
I try to work with the first formula and hope that I can make it. First I was confused about the period of the WMA but now I think it must be the squareroot of the period I want to have in the HMA. I keep on testing!