Sums the selected price over the last N periods.
Syntax:
1 |
summation[N](price) |
Example:
1 2 3 4 |
i1 = summation[10](open) i2 = summation[10](close) RETURN ABS(i1-i2) |
Sums the selected price over the last N periods.
Syntax:
1 |
summation[N](price) |
Example:
1 2 3 4 |
i1 = summation[10](open) i2 = summation[10](close) RETURN ABS(i1-i2) |