script for ATH/ATR % levels

Optuma Forums Optuma Scripting script for ATH/ATR % levels

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #54335
    • Topics: 1
    • Replies: 0
    • Posts: 1

    Hi Everyone

    do anybody knows how to script all % levels of ATH/ATR.

    so far I could only managed to create 50% ATH/ATR

    Codes are as followed

    50% All time Range

    P1 = LOWESTLOW(RANGE=All Time) ; P2 = HIGHESTHIGH(RANGE=All Time) ; (P1 + P2) / 2

    50% All time high

    HIGHESTHIGH(RANGE=All Time)*0.50

    I would like to create a script that would have multiple levels in one. such as 16.6%, 25%, 33.3%, 38.2%, 50% and so on.


    AvatarTrevor R
    • Topics: 63
    • Replies: 206
    • Posts: 269

    Hi Abasaheb,

    It really helps us help you if you post the script and screenshot  that you have created thus far. Then we can see what you are trying to achieve and add from there.



Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.