faytterro

Colorful Regression

faytterro Mis à jour   
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.
Notes de version:
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.
Notes de version:
added plotshape.
Notes de version:
-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.
Notes de version:
offset fixed.
Notes de version:
it now has a lot more color tones. I explained the changes in detail in the images:
Notes de version:
The length limit has been increased to 1000.
Notes de version:
Added contrast section. You can use it to soften or sharpen the color transition.

Improved "buy-sell signal". sample:
Notes de version:
bugs fixed.
Notes de version:
edit.
Notes de version:
buy sell signal added again.
Notes de version:
added label on price scale.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?