Hi Guys, I've set up an AFL for comparing data, especially volume, between two tickets from different expirations, the same day of the year, plotting both on screen (it applies a 252-day Offset to the foreign ticket and overlays it with the current contract).
It works perfectly with regular Stocks, but it doesn't with futures contracts, which is precisely what interest me most. I assume this is because the old contract doesn't have Bars up to today (it expired a while ago), and therefore the offset applied isn't working.
So, Is there a way to do this, or to fill bars of the expired contract with 0 values up to today?
thanks!