OPEN-SOURCE SCRIPT

Rainbow Moving Average

By jocull
Updated
A Rainbow Moving Average script. There are many like it, but this one is mine. It is designed to be easy to read without too much noise in the number of lines and shading, with the moving average to be some of the commonly used ones. Using commonly referenced moving average values help us to understand "the crowd" and what moving average or trend lines they might be looking at. The default values are derived from hourly charts, but work well on any time frame.

The moving average function is simple to change so you can use it for any moving average type that you like, including volume-weighted.

Inspired by my daughter's love of rainbows, she has approved the colors.
Release Notes
Added Hull Moving Average (HMA) as an indicator option.
Exponential Moving Average (EMA)moving_averageMoving AveragesrainbowsmassmatrendTrend Analysis

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer