- modified hma3 function
- modified kahlman function
- edited for readability
- added alerting
Originally there was an offset back by 1 candle which I left as is for the purity of the experiment, just to show the difference. Now you can offset the display by 1 candle forward. I did this to exclude possible denouncement in my misleading the public.
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.