EMA clouds colored by DI and ADX indicator:


9 EMA and 21 EMA Cloud turns green in a bull trend and red when in a bull trend...if the trend is half bulll and half bear..the clouds turn white.
I also coded if the momentum in increasing (yellow) or if the momentum is decreasing (blue) or if the momentum is flat (white).
The Clouds are colored based off the Di (+/-)
9 EMA is colored based of ADX momentum strength


ADX:

ADX is used to quantify trend strength. ADX calculations are based on a moving average of price range expansion over a given period of time. The default setting is 14 bars, although other time periods can be used.1

 ADX can be used on any trading vehicle such as stocks, mutual funds, exchange-traded funds and futures .

DI (+/-):

The directional movement index (DMI) is an indicator developed by J. Welles Wilder in 1978 that identifies in which direction the price of an asset is moving. The indicator does this by comparing prior highs and lows and drawing two lines: a positive directional movement line ( +DI ) and a negative directional movement line ( -DI ). An optional third line, called the average directional index ( ADX ), can also be used to gauge the strength of the uptrend or downtrend.

This indicator has the length changed from 14 to 9 so you can have more updated price calculation
I also add the 4 levels I use for day trading; the 10, 20, 30, 40-50 are the levels I like to see the Di to break over.

A lot of traders use different levels, but these I have and found most useful. You can set alerts when any Di crosses over the 40 for true trend breakout!
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?