indicator Rounded number price value

Forums ProRealTime English forum ProBuilder support indicator Rounded number price value

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

    Hi

    Kindly, help with an indicator that draw horizontal lines on chart in rounded market price numbers with maximum hundredth value. (example, 1.23000)

     

    #90900

    If you need to keep only 2 decimal digits you’ll have to:

    • multiply it by 100
    • round it
    • divide it by 100

    whether CLOSE is 1.23380, or 1.23999, it will be rounded to 1.23000

    2 users thanked author for this post.
    #90902

    There is this one in the library:

    https://www.prorealcode.com/prorealtime-indicators/sweet-spots-numbers/

    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