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 almost eliminates lag and manages to improve smoothing.
The manages to stick to rapid changes in price activity, as it has superior smoothing over a of the same period. The employs Weighted Moving Averages ( ) and dampens the smoothing effect. It can be calculated as follows:
HMA(n) = (2*WMA(n/2) – (n)), sqrt(n))
Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.
that means the percent-profitable is not correct. it is in reality much lower, around 60%
when signal appears, if price keep in that direction, then ok, but if retracts back through the signals condition level,
and you refresh the page you will see the signal disappear!
This can be very frustrating to people who do not yet know about the repainting.
All i can say is, don't rely 100% on this strategy, it is more of a confirmation tool, to be added to your already existing
understanding of the market movements.
Bringing the SL setting in tight means you dont have to refresh the page to see the signal be wrong.
And will bring the Percent-profitable down to a realistic amount, and therefore you'll see more realistic results, and then can test this HullMA strategy on different pairs etc...
and see if my Dual HullMa cross & DailyCandle cross combination helps you at all with speculating the Forex market.
Also then the results are more realistic. You could manually simulate this strategy by having four HullMA indicators on your chart, and by looking at 3 different timeframes at once.
HullMA1 = Timeframe-5m, period 14, step 0
HullMA2 = Timeframe-5m,period 14,step 1
HullMA3 = Timeframe-60m, period 14, step 0
HullMA4 = Timeframe-60m,period 14,step 1
if hullMA1 is above hullMa2 and hullma3 is above hullma4 then open buy
if hullMA1 is below hullMa2 and hullma3 is below hullma4 then open sell
if price is above the 5mHullMA then buy only
if price is below the 5mHullMA then sell only
and the Daily cross is simply - if price is below previous candle close then sell only
if price is above previous candle close then buy only
those are the conditions for the strategy.
But just try reducing the SL and you will see better results.
I dont have low SL because then the chart gets a lot of signals and closes on it,
I just keep in mind when it might be going to repaint, and refresh page, and then have clean chart.
Once the "open" and "close" words pile up on top of each other it gets a bit messy.
the tighter the SL, the more opening and closing it will do.
But then the Percent-profitable will show more realistic results for the backtest of strategy on different pairs.
because no, the backtest results are not realistic with high SL, because it does not show all the times it was wrong.