Volume-Supported Linear Regression Trend

Published on MillionChart by TradePhantom.

Combines linear regression of price with linear regression of volume to estimate trend direction and strength. The idea is that if an up or down trend has no volume support, it may soon reverse, and it helps to check the trend over different periods.

Settings:
- Source (default Close).
- Short-Term Period (default 20).
- Long-Term Period (default 50).

How to use:
- On the short-term trend, check whether volume supports the move, whether there is volume pressure on it, and whether a reversal might be near. The same logic applies to downtrends.
- The long-term reading shows the larger trend.
- You can also look for positive or negative divergences to find possible reversals. The author mentions the separate script Divergence for Many Indicators v4 for automating divergence checks on external indicators.