OPEN-SOURCE SCRIPT

Moving averages & clouds


Hi all!

This is a script that lets you have 3 moving averages (of a user defined type) and maybe have an alternative cloud (fill) between them. The cloud can be customized and turned on/off in the "style" tab for the indicator.

Alerts can be configured to fire on up/down/all crosses and are activated when the whole candle has crossed the morning average.

A higher time frame can be configured for the moving averages.

You can hide the moving average, but show the cloud:

snapshot

You can have multiple clouds:

snapshot

You can have moving averages from a higher time frame (here from weekly time frame on a daily chart):

snapshot

Best of trading luck!
cloudmovingavarageMoving Averagesmulti-timeframemultitimeframe

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