double RSIBuffer[];
int RSI_Per=14;
int start()
{
int cnt,counted_bars=IndicatorCounted();
int limit=Bars-counted_bars;
if(counted_bars>0) limit++;
for(cnt=0;cnt<limit;cnt++)
{
RSIBuffer[cnt]=iRSI(NULL,0,RSI_Per,PRICE_CLOSE,cnt);Print("RSIBuffer[",cnt,"]=",RSIBuffer[cnt]);
}
return(0);
}