Ehler's Correlation Trend Indicator (CTI) measures the Spearman correlation
of the price with the ideal trend line: a straight line with increasing
slope.
Usage
CTI(price, n = 20, slope = 1)
Arguments
price
Price series that is coercible to xts or matrix.
n
Number of periods to use.
slope
Slope of desired trend.
Value
A object of the same class as price or a matrix (if
try.xts fails) with the column:
cti
The Correlation Trend Indicator.
Details
The CTI measures the Spearman correlation between the price and the ideal
trend line with slope of slope, over the past n days.
See URL in references section for further details.