OPEN-SOURCE SCRIPT

Linear Regression

4 081
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 publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.