Two pole Butterworth filter is used for smoothing in this moving average calculation algorithm. The filter is described in John Ehlers' book "Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading".
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/583
The indicator draws the channel using ZigZag extreme points.Stochastic RSI
Stochastic RSI is a standard Stochastic oscillator, the values of which are calculated not from a price series but from RSI technical indicator values.
The indicator acts in a fully opposite way comparing to the adaptive moving averages during a trend market: in case of a definite trend, both indicator lines (Lead Sine and Sine Wave) move parallel to each other and show the trend direction by their location relative to each other; in case of a flat, the Sine Wave indicator quickly reacts on the market swing movements.Three Pole Butterworth Filter
Three pole Butterworth filter is used for smoothing in this moving average calculation algorithm.