The indicator is calculated from the present (index 0) to the past (incrementing index for each period - as defined by the period of the opened chart). For the present bar (i.e. index 0), we don't know the future, so the values Value1 and Fish1 are 0. When it takes a step back to index 1, it includes Value1 and Fish1 in the calculation. So the current bar is included in calculating the value for the 2nd to last bar. Thus the 2nd to last bar is based on future information.
This indicator adjusts the previous few bars as new info comes available.
This is very misleading. If you back test this indicator you'll end up with a massive profit (and you'll be amazed at how accurate it is at predicting price movement). Switch over to trading live and your massive profit will never materialize!
|