jaggedsoft

Hull Trend

Here we are using Hull Moving Average crossovers as an experiment in trend detection.

The Hull Moving Average ( HMA ) is an extremely fast and smooth moving average .

Credit to alexgrover & RicardoSantos:
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Kommentarer

Here's an updated version with the Kahlman smoother. As a result signals are shifted to the left by 1 one candle.
+5 Svara
@capissimo, you say signals are shifted one candle to the left? So the actual signal that is being alerted should be considered to be one candle after the signal, correct? Just curious if there might be any way to keep the smoother but get the alerts on the right candle? Great work though.
Svara
capissimo Kryptocoinking2u
@Kryptocoinking2u,
...signals are shifted one candle to the left - Right. And so is the alert.
Looking at it differently, notice the offset=-1 parameter in the plot function in the original and this version. I left it unchanged, but my current version allows to omit this parameter and still have the outcome as in the original with the difference that the signal becomes more precise, by 1 candle. Did I answer your question?
+3 Svara
jaggedsoft capissimo
check out his other work @Kryptocoinking2u
+1 Svara
@capissimo, so this current version if we just added it like yesterday has the more precise signal? If that's the case then I'm more than ok with it. So far it has proven to be very accurate.
+1 Svara
capissimo Kryptocoinking2u
@Kryptocoinking2u, the only difference is the length param value which was 24. It seems values in the range between 13 and 24 work the best.
Svara
@capissimo - Thank you for creating this. It looks really good. Trying to determine how to fire an alert on the buy and sell signals. When I load the alerts interface, I am just getting

Plot
Plot
Shapes
Shapes

Any help would be appreciated and thank you again.
+1 Svara
clickbrain clickbrain
@clickbrain, please ignore. posted in the wrong discussion. Apologies.
Svara
sesanolaiya clickbrain
@clickbrain, were you able to figure out how to plot the alerts pls?
Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Hur det fungerar Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Hänvisade vänner Mynt Mina kölappar Hjälpcenter Privata meddelanden Chatt Logga ut