find the max close of the last 20 consecutive close-price of a stock

Forums ProRealTime English forum ProBuilder support find the max close of the last 20 consecutive close-price of a stock

Viewing 3 posts - 1 through 3 (of 3 total)
  • #215457

    Hi Mr. Nicolas,

    i was wondering what is the syntax of arraymax command.

    For example i want to find the max close of the last 20 consecutive close-price of a stock.

    How do i syntax the command?

    Thank you!

     

    #215459

    Try …

     

    1 user thanked author for this post.
    #215460

    ArrayMax, as defined at https://www.prorealcode.com/documentation/arraymax/,  will return the maximum value contained in all elemets af an array:

     

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

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