If I enter a long position, I can send a message via the following:
If condition met,
Enter Long()
SendMail()
How do I do the same if the Profit Target or Trail Stop is executed ?
i.e.
If Profit Target Reached,
SendMail()
I am struggling to understand how I can ascertain how Profit Target is Reached via the strategy.
thx
David
Comment