|Visual Basic (Declaration)|
Public Overloads Shared Function Kairi( _ ByVal s As Series, _ ByVal movingAverageSeries As Series _ ) As Series
|Visual Basic (Usage)||Copy Code|
- A statistical series.
- A series where the first term corresponds to the most recent value of the moving average (generally the simple moving average) of the underlying asset, the second term to the previous value 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.