Description
The Kairi Relative Index is an old Japanese metric with unknown origins and waning popularity in the modern day due to more popular indicators such as Welles Wilder's Relative Strength Index (RSI). Traders since the late 1970s have grown accustomed to newer, more modern indicators.
Because Kairi has an unknown derivation and is used much less even in certain Japanese indicator loyalty zones of Russia and Asia, its continued use is curious. Add the fact that literally no early writings can be found regarding Kairi. The word itself translates to separate or dissociation. We don't want deviation in our indicators or price separation; we want perfect market timing indicators that follow market trends and turns. The difference between the two indicators is slight and yet varied, the only way to understand the Kairi Index is to compare it with the RSI.
To begin with, both are considered oscillators. Oscillator indicators move with a chart line up or down as markets fluctuate. Calculations vary among each oscillator, so each oscillator serves a different market function. RSI and Kairi serve as momentum oscillators and are considered leading indicators. Momentum oscillators measure market prices' rate of change. As prices rise, momentum increases, and a decrease measures a decrease in momentum. Momentum is reflected both in the manner that RSI and Kairi operate and in their calculations.
Github: GitHub - Doustzadeh/cTrader-Indicator
using cAlgo.API;
using cAlgo.API.Indicators;
namespace cAlgo
{
[Indicator(IsOverlay = false, AccessRights = AccessRights.None)]
public class KairiRelativeIndex : Indicator
{
[Parameter("Source")]
public DataSeries Source { get; set; }
[Parameter("Periods", DefaultValue = 14)]
public int Periods { get; set; }
[Parameter("MA Type", DefaultValue = MovingAverageType.Simple)]
public MovingAverageType MaType { get; set; }
[Output("KRI", LineColor = "Red")]
public IndicatorDataSeries KRI { get; set; }
private MovingAverage MA;
protected override void Initialize()
{
MA = Indicators.MovingAverage(Source, Periods, MaType);
}
public override void Calculate(int index)
{
KRI[index] = ((Source[index] - MA.Result[index]) / MA.Result[index]) * 100;
}
}
}
Doustzadeh
Joined on 20.03.2016
- Distribution: Free
- Language: C#
- Trading platform: cTrader Automate
- File name: Kairi Relative Index.algo
- Rating: 0
- Installs: 1341
- Modified: 16/12/2021 17:48
Do you want to know the best spy cameras with longest battery life? To help make your decision easier, we have created a list of our top 7 spy cameras. We also included all the information you need to make an informed purchase including shape and size, video resolution, body detection sensor, night vision and battery runtime. Read more: https://www.happi.io/best-spy-camera-with-longest-battery-life/