Low at prev high

Optuma Forums Optuma Scripting Low at prev high

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #68251
    David
    • Topics: 5
    • Replies: 8
    • Posts: 13

    How would I write a script to use in a watchlist that would
    alert me for when the condition happens of a low pivot
    finding support at the most recent high pivot, like in the
    attached screenshot?  I am using the Percent Swing Chart
    Overlay to get the pivots.

    #68260
    Matthew
    • Topics: 5
    • Replies: 631
    • Posts: 636

    Hi,

    Swings can use offsets to find previous swing top / bottom values.  You could use something like this to find the setup:

    You can adjust the range being considered (2% band up and down used here).

    DXS:ASX is an example of a code that passed today, which looks similar to your 5min setup.

    Ex5

    #68275
    David
    • Topics: 5
    • Replies: 8
    • Posts: 13

    Thanks, Matthew.

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

Pin It on Pinterest