That would be SMA(series((priceH()+priceL()+priceC())/3),Period). And there is no incomplete bar in the run function.

Even with the same strategy, you will likely get a different and usually worse backtest result from Zorro than from MT5. At least I hope so. For the details, read the chapter about code migration in the manual.