OPEN-SOURCE SCRIPT
Moving Average Cloud

This moving average cloud is comprised of 7 individual moving averages; those averages are rendered as a cloud, using the minimum and maximum value of all the averages as the lower and upper boundaries. It's basically a moving average ribbon, without all the individual MA lines cluttering the view.
By rendering as a cloud, this allows other potentially useful lines to be rendered within the cloud; a middle line is rendered, along with "mid high" and "mid low" lines.
The following parameters are available:
Min MA Length - the shortest MA window represented by the cloud
Max MA Length - the largest MA window represented by the cloud
Mid-High - the location of the mid-high line within the cloud
Mid-Low - the location of the mid-low line within the cloud
MA Type - you can choose between SMA, WMA and EMA moving average types
Interpretation:
Use in confluence with other indicators.
By rendering as a cloud, this allows other potentially useful lines to be rendered within the cloud; a middle line is rendered, along with "mid high" and "mid low" lines.
The following parameters are available:
Min MA Length - the shortest MA window represented by the cloud
Max MA Length - the largest MA window represented by the cloud
Mid-High - the location of the mid-high line within the cloud
Mid-Low - the location of the mid-low line within the cloud
MA Type - you can choose between SMA, WMA and EMA moving average types
Interpretation:
- When the price is above the cloud, this indicates a bullish trend.
- When the price is around the middle, trend could be transitioning.
- When the price is below the cloud, this indicates a bearish trend.
Use in confluence with other indicators.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.