Calculates the Kairi Indicator measure as a percentage of the price, the divergence between the a moving average (generally the simple moving average) of the price and the price itself for each period for which there is sufficient historical values.
[Visual Basic]
Overloads Public Shared Function Kairi( _
ByVal seriesName As String, _
ByVal s As Series, _
ByVal elementValue As ElementValue, _
ByVal movingAverageSeries As Series _
) As Series
[C#]
public static Series Kairi(
string seriesName,
Series s,
ElementValue elementValue,
Series movingAverageSeries
);
An series where the first term returns the Kairi indicator expressed as decimal format (i.e. 0.01 = 1 percent) for the most recent period, the second term returns the Kairi indicator for the previous period and so on.
Remark: The Kairi Indicator is often used with conjunction with other moving averages within trading systems.
The formulae for the Kairi Indicator is as follows:
Kairi Indicator = (MA - price) / price
where MA is the moving average being considered and price is the present price
of the underlying asset.
The Kairi Indicator can be used in order to take advantage of an over extended trending market. For example, in an upwardly trending market when the price gets say more than 10% above the simple moving average, the asset could be sold and repurchased when the next hits the simple moving average again.
The Kairi Indicator could also be used in order to detect market tops and bottom. The idea being that market tops and bottoms often occur when the price is at an extreme value in relation to its moving average. That is, the Kairi Indicator should take an extreme value at market tops and bottoms.
FinancialEngine Class | FinancialEngine Members | Overload List
2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.