OPEN-SOURCE SCRIPT
Updated Multiple Moving Averages (Rainbow Waves)

Two moving averages with toggle for Rainbow Wave mode (total of 16 equally spaced moving averages)
Release Notes
Added midline as a separate option in addition to rainbow mode. Updated rainbow mode to have 8 MA's above and below the midline
Release Notes
Entries for different time resolutions - Day/Intraday, Week and Month/Longer - with automatic switching as time resolution changes on the active chart.Release Notes
Moving average tool with intelligent switching of period for day/intraday, week and month+. Useful for users who regularly switch the time basis when looking at a chart without needing to change the moving average periods. This version upgrade also includes forcasts for next three periods assuming that the current bar price remains unchanged for the next three periods.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.
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.