OPEN-SOURCE SCRIPT
Updated Exponential Hull Moving Average

This script is a tweaked version of the Exponential Hull Moving Average that allows you to introduce a longer lookback period for reversal signals. In all current implementations of the EHMA, the reversal (color change from red to green) is calculated by taking the current value of the MA and comparing it to the previous calculated value. This EHMA version allows you to alter the lookback for more conservative reversal signals. The default value is 3, meaning if the EMA is greater than the value of the EHMA calculated 3 periods ago, it will turn green. This makes it less responsive, and less prone to early signalling.
Release Notes
Now Overlaid on chart automaticallyOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.