sclark39

MACD (4 Color, Color-Blind Friendly)

sclark39 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:




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

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?