Hi ckyrza,
I think the most important variable which makes a difference in the frames is the 0 point. The correct eights level depends on the high-low point which depends on the correct frame which depends on the correct 0 point.
For intraday, it's 11:58 in your script for intraday...