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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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