Is there an indicator to plot the cumulative values of a series? I found SUM, but that only sums a fixed number of previous values. If not, how would this be done?
Size:
Color:
Here's how:
CODE:
Please log in to see this code.
Size:
Color:
It would save some time if the code
CODE:
Please log in to see this code.
... was written as
CODE:
Please log in to see this code.
The first approach should still work because ci[bar] will always initially be zero, but you're doing an extra add operation by adding to zero. The line below
may also work (saving some processor register manipulations), but you'll have to try it to be sure.
CODE:
Please log in to see this code.
Size:
Color:
Thanks. Actually I made a typo, the "+" in the ci[bar] assignment is superfluous.
Size:
Color:
Thanks for the coding! Learn something new everyday.
Size:
Color: