Skrymten

Hull MA

Skrymten 已更新   
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.
版本注释:
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.
版本注释:
Pinescript 5 update.
版本注释:
Screenshot update.
版本注释:
Added crossover and crossunder combined alert condition.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?