Skrymten

Hull MA

Skrymten Updated   
This Hull MA uses the default settings of the built-in MA. The basic idea is that we are in a buy setup when hull is below price, and a sell setup when hull is above price. The indicator is extended with slightly change in contrast when moving average is declining and it plot the ma/price crossovers: green dot when a buy setup is appearing, and red dot when a sell setup is forming. It is possible to hide crossovers in the option panel.

Three alert conditions is added "Hull MA cross", "Hull MA sell" and "Hull MA buy". I use "Hull MA cross" on slow frames (2w, M) and "Hull MA buy/sell" on faster frames.
Release Notes:
Updated support of pinescript 4.
Changed sell and buy condition to use the built in crossover and crossunder method (maybe a little faster).
Added exchange, price, hull, volume and time variables to "Hull cross" alertcondition.
Change showCrossovers option default to true.
Release Notes:
Pinescript 5 update.
Release Notes:
Screenshot update.
Release Notes:
Added crossover and crossunder combined alert condition.
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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?