Simple Calculation of Price Changes over X Bars (Set to Alpha). But with only this will become a wild line. For this over the calculated line i put an fast MA (red) and slow MA (yellow) for more smooth lines and more clear signals on crosses of both MAs ...
from https://tradingrobots.net/simple-ma-over-price-indicator-for-metatrader-4/