OPEN-SOURCE SCRIPT

MACD with BG

Updated
This is a standard MACD indicator with Background colour and the option to draw the Background colour of the next higher timeframe.
Release Notes
bug fixing and minor improvements
Release Notes
MACD SignalLine cross 0 Background color added

MACD MacdLine cross 0 Background color added

MTF MACD SignalLine above/below 0 signal added
Release Notes
Some code improvement.
Release Notes
MACD parameter added.
MACD histogram based signals added.
Release Notes
Toolotips added.
Release Notes
Minor changes.
Release Notes
Code updated.
Release Notes
Slope for SignalLine and MacdLine as background color added.
Release Notes
Script converted to Pine v5.
DMI ADX indicator added.
Release Notes
Screenshot issue.
Release Notes
Attempts to create a consolidation filter added. The ADX looks promising. Added to strategies as signal and filter.
Release Notes
Repainting option added.
backgroundMoving Average Convergence / Divergence (MACD)Oscillatorssignals

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