RSI with modified rules for Amibroker (AFL)
rajbaheti almost 16 years ago Amibroker (AFL)
I hope this formula of mine will help traders.
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("MODIFIED RSI");
RP = Param("RSI",14,2,20,1);
UL= Param("Upper Limit",70,0,100,1);
LL= Param("Lower Limit",30,0,100,1);
PlotGrid(UL,colorBlue);
PlotGrid(LL,colorBlue);
R= RSIa(C, RP);
Plot(R, "MODIFIED RSI", colorBlue, styleLine);
PlotOHLC( R,R,50,R, "", IIf( R > 50, colorRed , colorGreen ), styleCloud | styleClipMinMax, LL, UL );
_SECTION_END();3 comments
Leave Comment
Please login here to leave a comment.
Friends, there was a small mistake in typing the formula while uploading in this website.
Please but this _ before section in starting, so that formula works smooth.
Regards,
Raj
Thanks, I fixed it up.
Good AFL. Thank you.