Difference between revisions of "MACD Gradient"
(Created page with "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 calc...") |
|||
Line 8: | Line 8: | ||
'''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.<br> | '''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.<br> | ||
'''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. | '''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. | ||
+ | |||
+ | <gallery> | ||
+ | File:MACD-Gradient-Indicator.png | ||
+ | </gallery> | ||
[[Category:Pre-built Indicators]] | [[Category:Pre-built Indicators]] |
Revision as of 15:00, 3 November 2022
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.