Modified from ACD For Trading View by pengkwai (my father) to clear up some unclear text in the inputs so people can understand use the indicator more easily.
You should be able to modify most things by clicking "Format" then going to "Inputs". One thing that can only be changed in the code for now is the length of the OR. Under the Inputs tab it is set to a string and is drop-down, you need to go to the code to change the variable snp from 20 to anything else.