You need normally no complex code. For simply entering at the next bar open, set Fill = 3.

https://zorro-project.com/manual/en/fill.htm