|Visual Basic (Declaration)|
Public Overloads Shared Function Kairi( _ ByVal seriesName As String, _ ByVal s As Series, _ ByVal movingAverageSeries As Series _ ) As Series
|Visual Basic (Usage)||Copy Code|
- The name of the series which will be displayed on the chart, i.e. its label.
- A statistical series.
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.