You do not need such a flag. Use a TMF that sums up the profits of non-phantom trades. Or use a trade loop. The statistics variables contain only the most often used statistics, but you can get any profit variant by script.