MrBetonBlocks

DMI+ADX w/ Slope Colour & Fib Levels

MrBetonBlocks Cập nhật   
This is a DMI+ADX with colours based on the slope of the plot, with Fibonacci levels.

It makes it easier to see what is happening with a quick glance. I have also added Fib levels as an experiment, but when doing some backtesting they seem to line up reasonably well with past price movements. They can be used to see possible reversal areas, or as thresholds to gauge how strong the trend is. Fibs play a big role in the markets for some reason and I have seen them applied to more than PA with good results, but I know it will not fit into every strategy. The more standard settings for the thresholds are 25,50,75 and you can change them to those if you want, but I suggest taking a look at the Fib version first.

The ADX smoothing is set up for Crypto trading on Mid to High TFs. If you are trading sub 1hour charts I would suggest changing it to 3-4. If you are trading traditional markets it is probably a good idea to have it set somewhere between 6-14 (default is 14), but I am not a professional so please do your own testing and research.

Colours:

ADX going up = Green
ADX going down = Red

DMI+ going up = Bright Aqua
DMI+ going down = Turquoise / Dark Aqua

DMI- going up = Bright Purple
DMI- going down = Dark Purple

(if someone finds a better colour system please let me know as it is tricky to get it looking good without being unicorn puke)

This is my first script and I am just beginning to learn PineScript so somethings may have been done in an unorthodox manner but I believe everything is working as it should, however, I am happy to make any improvements. I'm interested in what people think of the Fib levels on this indicator and would love to hear people opinions and results in the comments.
Phát hành các Ghi chú:
I have added an EMA of the ADX. My idea was to use it as a smoother ADX, however it also appears to have potential signals on cross overs (pointed out on chart). Please let me know in the comments if it is an useful addition to the tool and any requests too.
Phát hành các Ghi chú:
Changed default transparency of EMA
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
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 đồ?