IndicatorBuilt inOther

Correlation Coefficient

Use on chart

Loading the chart…

Live chart with this indicator added. Change the symbol and timeframe inside the chart. 00 uses3 views0

What the Correlation Coefficient shows

The Correlation Coefficient measures how closely the source moves with volume, its own past values or the bar number, from minus one to plus one.

The Correlation Coefficient, usually the Pearson correlation, shows how strongly two series move together over a window. A reading of plus one means a perfect positive relationship, minus one a perfect negative one, and zero no linear link.

On this site you choose what to compare the Source with: Volume, Lagged Source or Bar Index. Lagged Source compares the price with itself shifted back by the Lag setting. Bar Index compares price with time, so it shows how clean a trend is. The value is calculated over the chosen Length.

Lines at 0.8 and minus 0.8 are marked on the pane. Against Bar Index, a high positive value means a steady uptrend, and a high negative value a steady downtrend. Correlation with volume is usually weak and noisy. A high value shows a linear link, not cause.

Defaults are Source close, Compare With Volume, Lag 1 and Length 20. Many traders switch to Bar Index for trend quality. Shorter lengths are used on intraday Nifty charts but swing a lot.

How to use it

  1. Click Use on chart to add it with the default settings.
  2. Open its settings to pick Compare With, the Lag and the Length.
  3. Try Bar Index to see how steady the current trend is.

Settings and what it draws

Settings

InputTypeDefault
SourcePrice sourceclose
Compare WithChoiceVolume
Lag (Lagged Source)Whole number1
LengthWhole number20

Draws in its own pane

  • CorrelationArea
  • UpperLevel at 0.8
  • Zero LineLevel at 0
  • LowerLevel at -0.8

Comments (0)

    No comments yet. Be the first to say how it worked for you.

    More built-in tools

    See all
    • Majority Rule

      Majority Rule shows the percentage of the last bars that closed higher than the bar before. Majority Rule is a simple measure of how often price has gone up over a recent window, as a percentage of…

      Other 101
    • Historical Volatility

      Shows the annualised standard deviation of log price returns over the last N bars, as a percentage. Historical Volatility measures how much price has actually moved. It takes the logarithm of the…

      Volatility 100
    • Double EMA

      The double exponential moving average: an EMA built to remove part of the lag of a normal EMA. The Double Exponential Moving Average (DEMA) was introduced by Patrick Mulloy. It takes an EMA and an…

      Trend 010