It's worth noting that invoking indicator functions to calculate lookback can still be problematic, even when restarting the script with quit(+).

Namely, if a vars of insufficient length is supplied to an indicator function, even in Init, this can cause many bad memory writes and strange errors. The workaround here is to supply a large dummy buffer during init only.