When using the code above I can get the 1H Bars but instead of getting the 4H Bars with the next write function call I get weekly Bars, could anyone tell me what am I doing wrong please ?