MACD Gradient

From MultiCharts
Jump to navigation Jump to search

Colors the bars in a gradient color based on the MACD range over the previous ColorNormLength bars.

Default Inputs

FastLength (12) sets the number of bars to calculate the fast exponential average.
SlowLength (26) sets the number of bars to calculate the slow exponential average.
MACDLength (9) sets the number of bars to calculate the MACD exponential average.
ColorNormLength (14) sets the number of bars over which to normalize the indicator for gradient coloring.
UpColor (Yellow) sets the color to use for indicator values that are relatively high over ColorNormLength bars. Set to -1 to disable gradient color plotting.
DnColor (Red) sets the color to use for indicator values that are relatively low over ColorNormLength bars. Set to -1 to disable gradient color plotting.

MACD-Gradient-Indicator.png