Rsi

#1
Hi all!
I am using RSI(14) on my amibroker charts.The AFL is as follows:
_SECTION_BEGIN("RSI");
SetChartOptions(0,0,chartGrid30|chartGrid70);
periods = Param( "Periods", 14, 1, 200, 1 );
Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
My problem is the values shown as per this AFL are different than those shown on charts of google finance.On google finance charts you can select RSI(14) on daily chart(select 3month period).Values of RSI differs.Same differance is also with Nseguide charts.Can anyone tell me why there is difference?
 

colion

Active Member
#2
Hi all!
I am using RSI(14) on my amibroker charts.The AFL is as follows:
_SECTION_BEGIN("RSI");
SetChartOptions(0,0,chartGrid30|chartGrid70);
periods = Param( "Periods", 14, 1, 200, 1 );
Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
My problem is the values shown as per this AFL are different than those shown on charts of google finance.On google finance charts you can select RSI(14) on daily chart(select 3month period).Values of RSI differs.Same differance is also with Nseguide charts.Can anyone tell me why there is difference?
There are two versions of RSI - Wilders and "Other". Wilders utilizes an exponential moving average for smoothing and "Other" uses a simple moving average. AmiBroker is the same as StockCharts and Google is the same as BarChart. The two forms are similar but one should choose one or the other for consistency. Some programs offer the user a choice but most only offer one or the other. You can easily program the simple moving average version in AmiBroker if you want both available.
 

columbus

Well-Known Member
#3
There are two versions of RSI - Wilders and "Other". Wilders utilizes an exponential moving average for smootthing and "Other" uses a simple moving average. AmiBroker is the same as StockCharts and Google is the same as BarChart. The two forms are similar but one should choose one or the other for consistency. Some programs offer the user a choice but most only offer one or the other. You can easily program the simple moving average version in AmiBroker if you want both available.
Of the SAME given time frame ,Exponential Average responds faster,
better stick to it.
 

Similar threads