Down 10% from All Time Highs

Optuma Forums Optuma Scripting Down 10% from All Time Highs

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #59895
    • Topics: 10
    • Replies: 8
    • Posts: 18

    Hi, i am trying to show when the market has declined greater than 10% from an all time high. I would like to eliminate multiple signals after both conditions are met. I tried signalafter but it failed to return anything.

    Thanks, Jamie

    • Topics: 55
    • Replies: 463
    • Posts: 518

    Hi Jamie,

    I’ve used the PERCENTSWING() function instead, which plots % swings over the chart. The swings turn when the threshold has been met, so when it turns down price has declined by at least 10%. Combine with the HIGHESTHIGH and SIGNALAFTER functions and we can use this:

    The orange lines show 10% declines after a ATH in the $SPX, and the next swing down will trigger at 3229:


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.