DyorTool

Smart Color

This script color bars to filter the noise.
If the bar color is green, the price is either ranging or going up so we considere that the momentum is for longs
If the bar color is red, the price is either ranging or going down so we considere that the momentum is for shorts

I use this indicator in 3 ways.
  • In confirmation with other indicators to get early in a trade. Let's say I see a short divergence and i want to enter only when the momentum is going down. So i will wait that bar color pass to red to enter in a position.
  • I can also use this indicator alone, but if i do so, since i am more a counter trend trader, i will first wait a lower low with a nice % of variation for the past series of the same color, so when it will change color, there is a higher chance that the price retrace more % and my profit target have more chance to be hit.
  • And the last way I use this indicator is to exit a position at a "better price". In profit : Let's say i am long and i am fine with the profit i have.Then I decide to put my profit target 0.5% above the actual price. But if the bar color change to red, i will close my trade even if my target is not hit. In loss : Let's say i have a trade with negative PNL and the bar color just changed in my direction. So at the place of taking a loss right now, i will wait the potential little upward, and whenever the barcolor will change again against me, I will close it here. It is just a little optimisation. But the sum of all little optimisation is decent

How to parameter this script?
To parameter it you need to understand how it works. If you have too many variation of colors. It means there is too much noise.
There is an input that you can change to filter the level of noise you want to filter. The defval = 5, step = 1 ,minval = 1, maxval =100.
So from defval, up it up to a level in which noise is filtered ; a level in which candle succession of the same color does a nice % variation.

Join my discord : discord.gg/asN998AZ3t
Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ DyorTool để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

TradingView không đề xuất trả tiền cho một tập lệnh và sử dụng cho đến khi bạn hoàn toàn tin tưởng tác giả và hiểu cách thức hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy một giải pháp thay thế nguồn mở miễn phí trong Thư viện Công cộng của chúng tôi.

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.

Hướng dẫn của tác giả

If you use my referral for any major exchange, you can have this script for free. The link of my discord is in signature

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

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.