Hello Mohan,
try this afl...
Periods = Param("Periods",20,2,200);
X = LLVBars(C,Periods);
Y = Ref(RSI(14),(-1*X));
Buy = (C>X) AND (RSI(14)<Y);
_SECTION_BEGIN("Mohan");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
PlotShapes(shapeUpArrow * Buy, colorGreen,0,L,-12);
_SECTION_END();
//change the parameter according to ur need
Regards
Manish