This is an optimized Fisher Transform, which attempts to improve upon the already existing fisher transform.
The main purpose of the Fisher transform is to change the bimodal PDF of price action to Guassian like, so that we can make assumptions about the probability of certain events.
This is why the Fisher transform mainly turns at 2, which represents the second...
A least squares filter using the Auto line as source, practical for noise removal without higher phase shift.
Its possible to create another parameter for the auto-line length, just add a parameter Period or whatever you want.
r = round(close/round)*round
dev = stdev(close,Period)
Hope you enjoy :)