Not directly. But if your trades are entered at bar boundaries, you can compare the entry price with the close of the current bar. There must be a large discrepancy somewhere. Otherwise you can use a TMF and print the difference of close price and entry or exit price to the log.