Rangy RSI for Amibroker (AFL)
Copy & Paste Friendly
_SECTION_BEGIN("rsi3");
p14=Param("Period buy",14);
p10=Param("Period sell",10);
sh1=RSI(p14)<35 AND RSI(p14)>25 ;
sh2=RSI(p10)<75 AND RSI(p10)>65 ;
Buy=b1 ;
Sell=s1;
PlotShapes(Buy * shapeUpArrow, colorGreen );
PlotShapes(Sell* shapeDownArrow, colorRed);
Plot(C,"RSI",colorBlack,styleCandle);
_SECTION_END();