Sum, select range

Viewing 2 posts - 1 through 2 (of 2 total)
  • #14140

    Hi,

    For an example, if i want to add the last 20 closes i type; close + close[1] + close[2] + close [3] + [4]……….. How do i do this smart? There must be a better way… So how do i “sum” or select a range in code?

    Same with if i want the last 20 closes to be below current close, how do i type that?

    Thanks alot

    #14148

    You can use the SUMMATION function to make a sum of the last x periods.

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login