I want to add in a condition to an automated trading strategy that if my unrealized profit starts to fall by a certain amount (ticks or % or $) it sends a signal to exit the trade. For example, if you had a profit target of $300 and the strategy gets to $250 and starts to fall, the signal would exit the position after a loss of 20%. What's the best way to add in this condition?
Thanks!
Comment