Understanding the MACD Color Indicator: A Trader's Guide

Mike 2008.05.17 14:41 47 0 0
Attachments

Author: Korey


When you're diving into manual trading, it can be frustrating to watch the zero bar form, often leading to unnecessary impatience. The zero bar can feel like a wild card in automated trading since it’s not fully formed yet.

Given this, we’ve come to the conclusion that displaying the zero bar on the indicator can lead to misleading signals while it’s still in the works. However, there’s a silver lining: we can and should showcase the indicator’s signal line on the zero bar. This line remains integrated and retains its forecasting abilities even on the zero bar.



We propose utilizing an indicator that doesn’t display the zero bar but does show the signal line on it. This approach mirrors the style of B. Williams' AC/AO.

Here’s how it works: if the next bar is lower than the previous one, it’ll be colored red. Conversely, if it’s higher, it’ll turn green.

Recommendations:

If you want to tweak the indicator to display the zero bar, you can do so directly in the code:

  • a) To hide the zero bar: if(i>=1)
  • b) To show the zero bar: if(i>=0)

List
Comments 0