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
    Posts
  • #59895
    James
    • Topics: 14
    • Replies: 10
    • Posts: 24

    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

    #59899
    Darren
    • Topics: 66
    • Replies: 680
    • Posts: 746

    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:

    Capture

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

Pin It on Pinterest