This oscilator was created by Ricardo Santos using MACD's histogram as the series to find low and high fractals and from there find and plot divergences. I just modified it a little bit to make it to look more like the MACD public library indicator and use the actual MACD series (instead of the histogram) to find the fractals and from there plot divergences. I did this to make it easier for me and other fellow students of a Forex school where we use these type of divergences to find patterns.