line changes color based on vertical direction. This makes it easier to see and discern movements and also helps the indicator to retain maximum functionality when taking up less chart real estate (also, having the color change really helps me see charts on small screens... such as when it's bright
outside and I'm driving in my car and glancing at a chart on my phone... it helps having the info pop visually). A fill option is included to fill the space between the macd
and signal lines, though I personally prefer to disable this function. Also, you get a zero line if you want it, and it doesn't extend past the current time, removing unnecessary info and keeping your chart looking a bit cleaner. Finally, there are color-coded, cross-over and cross-under background fills, signaling when the macd
line crosses the signal line.
This is my 2nd published script, and 2nd script ever. If you like this style, see my 1st published script: Durbtrade Bollinger Bands Width
Hope you find this useful.
Feel free to comment.