Sorry, I really don't know exactly what you are asking relates to this Power indy.
Contrary to the code that you submitted, the Power indy does not compare data between different timeframes. Each timeframe operates completely independently. The indy averages the percent difference between each plotted point along with the user's nominated bottom point, across all nominated pairs for a currency (e.g. pairs to your NZD plot = NZDUSD, NZDJPY, AUDNZD). If a candle closing price** is lost for one pair, then pair is omitted from the averaging calculation for that data...