Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Kairi Relative Index for Amibroker (AFL)
kaiji
over 13 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 2)
Tags:
oscillator, amibroker

http://www.investopedia.com/articles/forex/09/kairi-relative-strength-index.asp

The Kairi Relative Index is considered an oscillator as well as a leading indicator.

The Index calculates a deviation of the current price from its simple moving average as a percentage of the moving average. By recognizing trending markets that are overextended, traders hope to capitalize on the downside.

By Mubashar Virk – mvirk67 [at] gmail.com

Similar Indicators / Formulas

3 Days Track
Submitted by janet0211 almost 14 years ago
Trading Volume Statistic
Submitted by tuanstock1 over 9 years ago
Ergodic Oscillator
Submitted by dljtrader over 13 years ago
BoH Risk Aversion Indicator
Submitted by genkumag over 12 years ago
Chande Momentum Oscillator
Submitted by klimpek over 13 years ago
%R ++
Submitted by reb almost 14 years ago

Indicator / Formula

Copy & Paste Friendly
// Price - SMA over X periods divided by SMA over X periods
// http://www.investopedia.com/articles/forex/09/kairi-relative-strength-index.asp
/*
The Kairi Relative Index is considered an oscillator as well as a leading indicator.
The Index calculates a deviation of the current price from its simple moving average
as a percentage of the moving average. By recognizing trending markets that are
overextended, traders hope to capitalize on the downside.
*/

GraphXSpace = 5;
SetChartOptions( 0, 0, 0 );

function Kairi( array, period )
{
    return ( ( array - MA( array, period ) ) / MA( array, period ) ) * 100;
}

P = ParamField("Price field",-1);
Periods = Param("Periods", 14, 2, 300, 1, 10 );

Plot( Kairi( P, Periods),	"KRI("+Periods +")", ParamColor( "Color", colorCycle ), ParamStyle("Style", styleLine, maskAll  ));
PlotGrid( 0, colorBlack );

0 comments

Leave Comment

Please login here to leave a comment.

Back