PSAR short issue

Optuma Forums Optuma Scripting PSAR short issue

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #62573
    • Topics: 6
    • Replies: 1
    • Posts: 7

    I’m trying to add the PSAR as one of my scripting variables (If price is above or below the dots). The long code seems to work great with the showbar, but the short does not. Any ideas?


    • Topics: 63
    • Replies: 557
    • Posts: 620

    Hi Jeffrey,

    The PSAR state is either 1 (long) or 0 (short), so < 0 won’t return any results. Instead use ==0 for the short state, or ChangeTo 0 for a discrete event:

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.