Getting really close, except there's one thing I can't figure out.
If you look at the original indicator from which this MT4 version was made, the default settings seem to produce exactly what I was looking for.
Yet for some reason you get something completely different when you try those settings on MT4.
Can't figure out why this is the case.