No, the bar period setting can normally not cause MT4 trades to be closed or Zorro to crash. This has most likely another reason. Can you post your script here, so that we can see what the problem is?