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
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与DyorTool联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

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

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。