OPEN-SOURCE SCRIPT

MACD (4 Color, Color-Blind Friendly)

Updated
Working MACD Histogram which colors bars based on the slope from the previous. The default colors will work for both Deuteranopia and Protonopia color-blind people but can be modified.

There is a bug with 'MACD 4C' by vkno422 + signal line - squattter and 'MACD for colour blind people' by cfhrtd in that it draws the MACD line itself as a histogram, rather than drawing an MACD histogram (which is the MACD line - signal line).

Bad indicators that this should replace:
MACD 4C by vkno422 + signal line - squattter

MACD for colour blind people





Release Notes
- Updated colors to hopefully be more distinguishable for color blind people -- feedback welcome!
- Making macd and signal lines solid to make it less visually confusing
- Adding source input
coloredhistogramMoving Average Convergence / Divergence (MACD)

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?


Also on:

Disclaimer