Why is period_converter script producing different number of records for the same number of M1 records?

 

Sometime ago, I imported historical data into MT4 and today realized that imported data was GMT+1, so I wanted to correct this and import it again using shift = -1.


In both cases, there are 2524624 M1 bars (as shown in the history center), however the number of H4 bars (produced from M1 data using period_converted script) is different:


1) GMT-1 data: 12802


2) GMT data: 13185


The number of M5, M15, M30 and M60 bars is the same in both cases.


Is it possible that after shifting M1 data by one hour backwards, period_converter script would produce different numbers of H4 bars? Is this a bug?


Lukasz

Reason: