Modified MACD Indicator Please

 

I am new to MQL4 (coming from TradeStation and Easy Language).

Can anyone show me how to modify the MACD indicator code so that the histogram bars change colors?

If the current histogram bar is greater than the last bar, it is green. Or, if the current bar less than the last bar, it is red.

Thanks very much,

Ace

 

Check my indicator in FF. It is a little specific to the trading strategy but it changes colors.

http://www.forexfactory.com/showthread.php?t=20349

click on staple image to the right page count. It shows all files attached to the thread.

Reason: