An interesting little script... It utilize Moving Averages with a set multiplier and an offset to locate strong trends and possible future support - resistance. I also include a Donchian wave channel.
The interesting thing with Donchian part is it lines up pretty well with fibonacci retracement