Indicator moves up if price is above it and also moves up and down if price is below it and also moves down with speed proportional to average of differences between minimums and maximums of bars from Period given as a parameter

Can you repeat this sentence, but add in punctuation?
Indicator moves up, if price is above it and also moves up, and down, if price is below it and also moves down, with speed proportional to average of differences between minimums and maximums of bars from Period given as a parameter.