OPEN-SOURCE SCRIPT

Linear Regression

3427
This indicator can be used to determine the direction of the current trend.

The indicator plots two different histograms based on the linear regression formula:
- The colored ones represent the direction of the short-term trend
- The gray one represents the direction of the long-term trend

In the settings, you can change the length of the short-term value, which also influences the long-term as a basis that will be multiplied

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.