I am trying to test a futures strategy that makes computation using continuous contracts and then trades the current mapped contracts. I am using the ForwardPanamaCanal  data normalization and was expecting the constant offset for a given mapped contract. In other words, there should be constant difference between the continuous contract and the current mapped contract but it is not what I am seeing. Instead, the offset varies within the bar (i.e. it is different for O, H, L, and C) and between the bars as illustrated in the linked code. Is it a bug or am I missing something? In case you are wondering why I need to know the offset, I need it to correctly compute the limit and stop prices for my orders. For example, if strategy computed the limit price as X for continuous contract, the actual limit price for the mapped contract will be X+current_offset.

219079_1672365008.jpg