How do I create a chart of the cumulative Advance-Decline Line?

How do I create a chart of the cumulative Advance-Decline Line?

There are several market breadth indices that we track that are often viewed cumulatively instead of in “raw” form. For example, the NYSE Advance-Decline index ($NYAD) is very “spiky” when charted directly; however, it forms a smooth curve called the “NYSE Advance-Decline Line” when plotted on a cumulative chart.

To create such a chart, select “Cumulative” from the “Type” dropdown below the chart. Example