How to include spread in calculating profit factor

edit: problem solved, IDK how to delete!