Moving Average Convergence Divergence
The gap between a fast and a slow exponential average of closes, a signal line that averages the gap, and a histogram of the difference between the two, either side of a guide at zero.
| Drawn | Legend | Type to add | CLI |
|---|---|---|---|
| In a strip of its own | MACD 12 26 9 | macd, or macd 8 21 5 for the three lengths |
macd |
Settings
| Setting | Default | Allowed |
|---|---|---|
| Fast length | 12 | 1 to 199, below the slow length |
| Slow length | 26 | 2 to 200, above the fast length |
| Signal length | 9 | 1 to 200 |
| Signal colour | A contrasting colour from the theme, at the MACD line’s opacity | A palette name, or a custom colour, and its Opacity |
| Signal line style | The MACD line’s | Solid, Dashed, Dotted |
| Pane height % | 16% | 5 to 95% |
| Colour, Thickness, Line style | The next free colour, 1.5 px, solid | See Colours and lines |
Moving the fast length up to the slow one pushes the slow one along, and the other way round. The histogram is in the theme’s up volume colour above zero and the down colour below. The scale fits what is on screen.