# Technical Studies Reference

### Sum All Charts

This study calculates the sums of corresponding variables of $$N$$ charts (up to 200). Refer to the Multiple Chart Studies description for instructions to use this study.

Let $$X_t^{(i)}$$ denote the value of any chart variable (listed below) at Index $$t$$ of Chart #$$i$$. Chart 1 (aka the Source Chart) is always the chart to which the Sum All Charts study is applied, $$X_t^{(i)}$$ ($$i = 2,3,...,N$$) can represent any of the following variables.

• Open
• High
• Low
• Last
• Volume
• Number of Trades / Open Interest
• OHLC Avg
• HLC Avg
• HL Avg

The Sum All Charts study calculates the following sums.

$$\displaystyle{\sum_{i = 1}^N X_t^{(i)}}$$

For an explanation of the Sigma ($$\Sigma$$) notation for summation, refer to our description here.

The sums are displayed only for Open, High, Low, and Close. These are displayed in the form of OHLC Bars by default, and the price graph draw type can be changed through the Graph Draw Type setting in the Study Settings window for the study.

When corresponding bars in the $$N$$ charts do not match in both date and time, then this study uses the sc.GetNearestMatchForDateTimeIndex() to find a match.

#### Inputs

• This study has no Inputs.