Colorful Regression

Colorful Regression is a trend indicator. The most important difference of it from other moving averages and regressions is that it can change color according to the momentum it has. so that users can have an idea about the direction, orientation and speed of the graph at the same time. This indicator contains 5 different colors. Black means extreme downtrend, red means downtrend, yellow means sideways trend, green means uptrend, and white means extremely uptrend. I recommend using it on the one hour chart. You can also use it in different time periods by changing the sensitivity settings.
Release Notes: alarm added.

The standard deviation has been added to make it suitable for different time periods, but it may still be good to manually adjust the colors for daily and higher timeframes.

linewidth added.

now more sensitive to extreme price movements.
Release Notes: added plotshape.
Release Notes: -we now use a special MA that gives a later but much more accurate signal. This function determines an average price by taking into account not only the candles before it, but also the candles after it. Although this causes us to receive signals late, we can prevent this delay with the momentum we use. We also understand momentum from colors. in other words, we can have an idea about both momentum and average price with a single indicator.
-the color changed, redder and greener colors are now used for extreme momentum.
Release Notes: offset fixed.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. You can favorite it to use it on a chart.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?