CME_MINI:ES1!   Hợp đồng tương lai E-mini S&P 500
I very much like the Ichimoku approach but don't like all the lines on the chart so usually only use the Clouds. Here is one way to keep track of one aspect of the Ichi method without the chart clutter, namely these paint bars calculated as follows:

The 9 bar donchian > 26 bar donchian = up color;
The 9 bar donchian < 26 bar donchian = down color;
The 9 bar donchian == 26 bar donchian = neutral color.

I have included notes about how to put it on a chart in the code; basically I recommend using hollow candles without borders.

On the attached chart I have the Ichimoku Clouds along with the vwap. I find this makes a very clean chart with quite a bit of information, especially when the messages conflict or converge.

To tell the truth, I still prefer to just work with the clouds for support / resistance guidelines, but these paintbars are a nifty way of including more information without cluttering up the chart. Enjoy.

PS I just realised I published this as an idea instead of as a script. Will go do that now.
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.