Moving Average: 3-Pole Butterworth Filter.
The indicator is based on the code of Witold Wozniak.
The indicator provides good smoothing without consuming considerable CPU resources.
Distinctive features comparing with the similar indicator (https://www.mql5.com/en/code/584):
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/929
The script is designed for closing open positions.InvertPosition
The script is developed for reversing open positions with fixed Stop Loss and Take Profit values in points from the current price and the volume depending on the reversed position.