OPEN-SOURCE SCRIPT

Linear Regression

3404
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

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.