Disliked{quote} Something that I've missed is that, this daily indicator is the difference between current price and the open price of the day and updates each day! How do we change the formula so that we can monitor, for example, one year? I think that for this case, I would not use daily open price as the reference, rather, I would take zero level as the reference. In other words, I would utilize price itself as the criterion. So, the formula at the first post will be changed to this: for ( j = each pair of currency ) currency = currency + iClose(...Ignored
I don't quite understand... If I load your indicator and keep scrolling back in time, won't it will be plotted below the whole history of the chart? I mean, can you tell the indicator that you want it to use N number of bars in the calculation, instead of using the whole history? That is the look back period. If you wanna use one year, then the indicator will calculate 365 bars instead of calculating the whole chart history. I don't see why you would need to change the formula.