I've copied it and modded a little bit
When you open script you can go to source code and set values as you wish
make sure that all values are the same tho that's all you need to change
after plotting TLS script you can see where to "buy/sell" after getting in position.
Try connecting the script with Autoview alerts for automatic TLS activation.
Hope you like it
Good luck and DYOR