I've also added alerts for the 4 different BUY/SELL signals so you can even step away from the charts!
There isn't much wiggle room with the TD Sequential rules so I find the best way to 'tune' the performance is to open your favourite trading pair and then cycle through timeframes (1H, 2H, 4H, 6H, 12H, D, etc.) until you find the one where the signals are showing closest to the tops and bottoms of trends. It's usually a pretty striking difference when you find the right one.
I don't have a huge amount of experience with this type of trading so any purists out there are welcome to correct me or offer suggestions.
Also, this has been really useful system in keeping me out of bad market situations, so I do want to learn the whole thing.
Thank you so much for coding starter friendly script.