Skip to content
All library documents

Adaptive Pearson Correlation Oscillator for Trend Strength and Channel Crosses

Article TradingView scripts

Summary

This indicator scans a configurable range of lookback periods and selects a regression window when its Pearson correlation reaches a chosen positive or negative threshold. It plots the selected correlation alongside a reference from the longest period, and derives a regression channel with a midpoint and deviation bands. The author interprets correlation signs as trend direction and values nearer the extremes as stronger linear relationships, using threshold settings to distinguish stronger trends from weaker or sideways conditions.

Optional markers flag price crossings of the midpoint and outer channel lines, which the author presents as potential reversal cues when correlation is strong. The indicator is intended to complement a separate adaptive linear-regression tool, and matching their parameters is recommended for coordinated chart interpretation. The material offers qualitative observations and chart-use guidance, not quantified testing. Correlation describes linear association over the selected window; it does not establish future direction, and threshold crossings or channel interactions are not demonstrated as profitable trading signals.

Key ideas

  • The indicator searches across lookback lengths for a regression window meeting a Pearson correlation threshold.
  • Correlation and regression-channel lines are used to visualize trend direction, strength, and price position.
  • Optional markers identify crossings of the channel midpoint and outer bands.
  • The author proposes using it alongside a separate adaptive regression indicator with matching settings.
  • The document gives qualitative interpretation but no statistical or trading-performance validation.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.