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:

快照

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!
cloudmovingavarageMoving Averagesmulti-timeframemultitimeframe

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明