Can I ask you a question? Certainly for trends your script is ideal. I do however notice that when the trend is in a range, I get some "false" buy signals because the price reaches beyond the last lower high but backs down again. I see that the buy signal is linked to the pivot high. I was wondering if it would be suitable to link the buy signal to the closing price to get rid of these buy signals. I think it would be nice on a "lower" timeframe (say 30 mins) where you can still pick up the daily trend on the next candle. What are your thoughts on it?
I know I can adjust the percentage of the stop loss buffer in the settings but that would also remove other buy signals.
Also, on a personal level, I use this strategy by having stops in place, so that I don't have to be at my computer when something happens. It just happens automatically. Can't do that with a close alert necessarily. You could miss things. So I personally don't like how I'd have to trade that as much from a workflow perspective.
Thanks for your reply, have nice day!