Simplest solution would be an 'onStop event handler' or making EXITRUN available also in trade mode. The evaluate (PERFORMANCE* perf) would be a possible workaround but in trade mode it is executed when the status page is updated, only in test mode at the end of a test or when Result is clicked. An onResultClick event in trade mode was also a viable way ...