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:

You can have multiple clouds:

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

Best of trading luck!
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 a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?