IsUp vs. TurnsUP

Optuma Forums Optuma Scripting IsUp vs. TurnsUP

This topic contains 2 replies, has 2 voices, and was last updated by  Brad 6 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46895

    Brad
    • Topics: 7
    • Replies: 8
    • Posts: 15

    What is the difference in the parameters for these two functions? For example, if a MA is higher today than the previous day, does that qualify as a change in output for either of those or does one denote a change in the slope?  

    #46899
    Matthew
    Matthew
    • Topics: 4
    • Replies: 82
    • Posts: 86

    Hi Bradley,

    The TurnsUp operator will only show a true result the first instance an indicator moves from a downward movement, to an upward movements.  The IsUp operator will show a true result any time the indicator value is higher than the previous day.

    In the following image you will see both Turns Up / IsUp scripts begin on the same bar, but only the IsUp operator continues after the initial turn.

    Ex1

    #46911

    Brad
    • Topics: 7
    • Replies: 8
    • Posts: 15

    That’s great.  Thank you Matthew!

Viewing 3 posts - 1 through 3 (of 3 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.

Close