Well if the price candles are already different as you told above, then it is obvious that trades and returns will be also totally different, so neither your Zorro code nor your TV code makes any sense at this point. You scripts also look way to complicated.
First determine why and in which way the candles are different, and fix it, either in TV or in Zorro. When they are 100% identical, next step is a small script that opens a single trade. Compare entry and exit price, trading cost, slippage, and return. If they are different, find the reason and fix it. Only then you are ready for comparing simple SMA systems and the like.