notify when trailing stop initiates
-
Hello all. I am trying to write into my code to send a notification once the trailing stop is initiated. This is how I have it right now but it sends the notification as soon as the trade is entered and it sends it multiple times depending on how many charts are open. Any suggestions are greatly appreciated
-
try saving the SL price under opening the trade, then in a condition check if SL price is (different) != to the variable price, pass once and send the notification, reset the pass once block when trade closes.