Chartperiod() or period() value greater than 1 hour quite divergent from minute values. Incl. request table enhancement (mql5 documentation) - page 2

 
I find it interesting that PERIOD_H1 = 2^14+1 and PERIOD_D1 = 2^15+1, but maybe we'll never know why..