A couple of important bug fixes which I hope will prevent most, if not all, indicator repainting issues, additionally I have tidied the code up a little!
Please remove the old version of the indicator from your chart and save the chart layout, then add this new version back on and save your chart layout.
You will know when you have the latest version as the indicator name on the chart will change from “ck - CryptoSniper Longs (S)” to “ck - CryptoSniper Longs (S) v1”
Thanks!