Each of these moving average lines already exist as individual indicators in TradingView. This script just bundles them for one stop shopping. It's helpful if you're limited by the number of indicators per chart. And highly educational: quickly compare the different averaging methods!
rma: Recursive Moving Average
alma: Moving Average
Note: Only Pine built-in functions are included.
- Ehler's Laguerre filter
- Ehler's Adaptive Laguerre filter
- Ehler's Super Smoothing filter, 2 pole and 3 pole
- Hull moving average
- Percentile moving line
- Highest Lowest average moving line (like the Ichimoku Cloud)
- Exponential decay lines
Filters can be cascaded. Optional shading between filters.
This moving average bundle helps me get a feel for how different TA filters work, or don't work... or how they relate to each other. It's fascinating! I've spent too much time combining filters in unconventional ways, experimenting... playing. Oh, and trading too. Hope you find it useful :)