OPEN-SOURCE SCRIPT

[RS]MACD Divergence V1

By robott
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.
Centered OscillatorscoachescornerDivergencedivergencetradingMoving Average Convergence / Divergence (MACD)scalping

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer