Skip to Content
ChartIndicatorsCorrelationTrend

CorrelationTrend

CorrelationTrend (CTI, John Ehlers’ Correlation Trend Indicator) shows how closely the price of the last bars resembles a straight line: +1 is a steady rise, −1 is a steady fall, around zero is a choppy market. The sign tells the direction of the trend, the absolute value tells how clean it is.

The indicator is drawn in a separate area below the chart.

How to read it

  • Above zero is an uptrend, below zero is a downtrend.
  • Values around ±0.9 and further from zero mean a clean trend.
  • A zero cross is a change of direction.

The square of the value shows the share of the move explained by the line: at CTI = 0.9 it is 81%.

How it is calculated

CTI is the Pearson correlation coefficient between the prices set in Source over the last Period bars and the numbers of those bars. If the price did not change over the whole window, the value is 0.

The first value appears once Period bars are available.

Parameters

ParameterDescriptionDefault
PeriodHow many last bars the correlation is calculated over. At least 2.20
SourceThe bar price used in the calculation: Close — the close, Median — (High + Low) / 2, Typical — (High + Low + Close) / 3.Close

Plots

ParameterDescriptionDefault
CTIThe correlation from −1 to +1.Orange, solid, width 1

Levels

ParameterDescriptionDefault
ZeroAbove it is an uptrend, below it a downtrend.0, blue

Style

The CTI line has the Plot (show the line), Label (show the last value on the right scale), Color, Width (1–5) and Style (Solid, Dashes, Dots) fields.

The level has the Show, Value, Color, Width and Style fields. A visible level shows its value on the right scale.

How to add an indicator to the chart is described in Adding an indicator; parameters are changed in the indicator manager.

Last updated on