I can't comment on how Z12 behaves, but Zorro saves all trades in Data/*.trd files. And after a disconnect it tries to resume them. You should see something like this in the message window:

Code:
TEST compiling...........
!OK: JVM initialized
Login 0 vDukascopy-1.2.. at UTC 11-15 14:22
!GBP/USD: 1.27997 0.00012 1
Trade: TEST GBP/USD 2018-11-15
[GBP/USD::L9184] - resumed (1 lots)



and here is the test script:

Code:
function run() {
  LookBack = 0;
  BarPeriod = 5;
  if(Bar == 1) enterLong();
}