range of values

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

    Hello,

    i want the minimum of RSI between now and 6 period before,

    is there a more clever way to do this : ? ( remark i use only 4 samples instead of 6)

     

     

    a for loop is needed ?

     

    i also seen ugly code like:

    min(a, min(b, min(c,d) ) )

    which is not acceptable if i want to change dynamically the number of samples

    #120251
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