AIS Moving Pseudo Median
- Indicateurs
- Aleksej Poljakov
- Version: 2.0
- Mise à jour: 20 octobre 2022
- Activations: 5
The arithmetic mean or median can be used to determine the measure of the central trend of a time series. Both methods have some disadvantages. The arithmetic mean is calculated by the Simple Moving Average indicator. It is sensitive to emissions and noise. The median behaves more steadily, but there is a loss of information at the boundaries of the interval.
In order to reduce these disadvantages, pseudo-median signal filtering can be used. To do this, take the median of a small length and recursively apply it to all values of the period of the financial time series under study. Thanks to this approach, the indicator allows you to more accurately identify periodic and trending price movements.
External parameters of the indicator:
- iPrice - price constant used in calculations;
- iPeriod - indicator period. The higher the value of this parameter, the less sensitivity of the indicator to the latest price changes. The minimum value for this parameter is 3;
- MaxBars - limit the history depth for calculation. It can be useful if the indicator will take a long time to start. If MaxBars = 0, then there are no restrictions and the indicator will be applied to the entire chart.