ハル移動平均 (HMA)
Decision Threshold// Hull_MA_cross & Daily_Candle_cross combination with TP$ & SL$ setting
// ( new script reducing repaint )
SS420FXTwo Moving_Average cross's & Daily_Candle cross
Based on Hull_MA
Developed by Alan Hull, it is an indicator, that solves the problem with making a moving average more reactive to current price activity. The Hull Moving Average almost eliminates lag and manages to improve smoothing.
The HMA manages to stick to rapid changes in price activity, as it has superior smoothing over a Simple Moving Average of the same period. The HMA employs Weighted Moving Averages (WMA) and dampens the smoothing effect. It can be calculated as follows:
HMA(n) = WMA(2*WMA(n/2) – WMA(n)), sqrt(n))
HullMA StrategyA Hull Moving Average strategy. I simply copied the code from mohamed982 and wrapped it in strategy code. All credits go to him not me.