Instead of a moving average of all data points,
we calculate the moving average of up and down changes.
Will be calculated only if a current data point is up for Up trend
and vice versa.
The trailing variant is calculated regardless of whether the current data point is up or down.