I have coded a study that plots long/short/exit labels based on various criteria.
It functions fine, other than when plotting an exit. The issue is that the exits are