iClose Shift understanding..have i got this correct ??

 
my code.. int limit, RPeriod =5; double EUR; int counted_bars = IndicatorCounted(); if(counted_bars > 0) counted_bars--; limit = Bars - counted_bars - RPeriod; // From left to Right on Chart for(int i = limit; i >= 0; i--) { EUR = (iClose("EURUSD", 0, i) - iClose("EURUSD", 0, i + RPeriod)); } Bar on the far left is 2650, bar on far right is 0. Show when iClose SHIFT parameter is used its ding this for bar 500 >>> iClose("EURUSD", 0, i) = Close for the bar number 500 >>> iClose("EURUSD", 0, i + RPeriod)); = close for bar number 505, as RPeriod = 5. Q: Is this correct ?
Reason: